diff --git a/doc/Section_commands.html b/doc/Section_commands.html index da2fdbdeab..de14d53ccc 100644 --- a/doc/Section_commands.html +++ b/doc/Section_commands.html @@ -113,8 +113,8 @@ line are arguments.

(6) Text with spaces can be enclosed in double quotes so it will be treated as a single argument. See the dump modify or fix print commands for examples. A '#' or '$' -character that in text between double quotes will not be treated as a -comment or substituted for as a variable. +character that is in text between double quotes will not be treated as +a comment or substituted for as a variable.


@@ -317,14 +317,14 @@ in the command's documentation. of each style or click on the style itself for a full description:

- - - - - - - - + + + + + + +
addforceaveforceave/atomave/spatialave/timebond/swapcomcoord/original
deformdepositdragdt/resetefieldenforce2dfreezegravity
gyrationheatindentlangevinlineforcemsdmomentumnph
nptnpt/aspherenpt/spherenvenve/aspherenve/limitnve/noforcenve/sphere
nvtnvt/aspherenvt/sllodnvt/sphereorient/fccplaneforcepoemspour
press/berendsenprintrdfrecenterrigidsetforceshakespring
spring/rgspring/selftemp/berendsentemp/rescalethermal/conductivitytmdviscosityviscous
wall/granwall/lj126wall/lj93wall/reflectwiggle +
addforceaveforceave/atomave/spatialave/timebond/breakbond/createbond/swap
comcoord/originaldeformdepositdragdt/resetefieldenforce2d
freezegravitygyrationheatindentlangevinlineforcemsd
momentumnphnptnpt/aspherenpt/spherenvenve/aspherenve/limit
nve/noforcenve/spherenvtnvt/aspherenvt/sllodnvt/sphereorient/fccplaneforce
poemspourpress/berendsenprintrdfrecenterrigidsetforce
shakespringspring/rgspring/selftemp/berendsentemp/rescalethermal/conductivitytmd
viscosityviscouswall/granwall/lj126wall/lj93wall/reflectwiggle

These are fix styles contributed by users, which can be used if diff --git a/doc/Section_commands.txt b/doc/Section_commands.txt index 128cd551b4..d664460efc 100644 --- a/doc/Section_commands.txt +++ b/doc/Section_commands.txt @@ -110,8 +110,8 @@ line are arguments. (6) Text with spaces can be enclosed in double quotes so it will be treated as a single argument. See the "dump modify"_dump_modify.html or "fix print"_fix_print.html commands for examples. A '#' or '$' -character that in text between double quotes will not be treated as a -comment or substituted for as a variable. +character that is in text between double quotes will not be treated as +a comment or substituted for as a variable. :line @@ -380,6 +380,8 @@ of each style or click on the style itself for a full description: "ave/atom"_fix_ave_atom.html, "ave/spatial"_fix_ave_spatial.html, "ave/time"_fix_ave_time.html, +"bond/break"_fix_bond_break.html, +"bond/create"_fix_bond_create.html, "bond/swap"_fix_bond_swap.html, "com"_fix_com.html, "coord/original"_fix_coord_original.html, diff --git a/doc/Section_errors.html b/doc/Section_errors.html index 259f066071..f024e6f1a9 100644 --- a/doc/Section_errors.html +++ b/doc/Section_errors.html @@ -42,8 +42,8 @@ See the discussion of the loop option in the

Similarly, the create_atoms command generates a lattice of atoms. For the same physical system, the ordering and -numbering of atoms (atom ID or tag) may be different depending on the -number of processors. +numbering of atoms by atom ID may be different depending on the number +of processors.

Some commands use random number generators which may be setup to produce different random number streams on each processor and hence diff --git a/doc/Section_errors.txt b/doc/Section_errors.txt index fcdda91ff8..3908a23645 100644 --- a/doc/Section_errors.txt +++ b/doc/Section_errors.txt @@ -39,8 +39,8 @@ See the discussion of the {loop} option in the Similarly, the "create_atoms"_create_atoms.html command generates a lattice of atoms. For the same physical system, the ordering and -numbering of atoms (atom ID or tag) may be different depending on the -number of processors. +numbering of atoms by atom ID may be different depending on the number +of processors. Some commands use random number generators which may be setup to produce different random number streams on each processor and hence diff --git a/doc/angle_hybrid.html b/doc/angle_hybrid.html index 8f43f633cf..97e9163539 100644 --- a/doc/angle_hybrid.html +++ b/doc/angle_hybrid.html @@ -48,9 +48,8 @@ assigned to other hybrid styles, use the style name (e.g. "harmonic") appropriate to that style. The BondBond and BondAngle coeffs for that angle type will then be ignored.

-

An angle style of none can be specified as an argument to -angle_style hybrid and the corresponding angle_coeff commands, if you -desire to turn off certain angle types. +

An angle style of none can be specified as the 2nd argument to the +angle_coeff command, if you desire to turn off certain angle types.

Restrictions:

diff --git a/doc/angle_hybrid.txt b/doc/angle_hybrid.txt index 17883b25df..7e6a2f27e6 100644 --- a/doc/angle_hybrid.txt +++ b/doc/angle_hybrid.txt @@ -45,9 +45,8 @@ assigned to other hybrid styles, use the style name (e.g. "harmonic") appropriate to that style. The BondBond and BondAngle coeffs for that angle type will then be ignored. -An angle style of {none} can be specified as an argument to -angle_style hybrid and the corresponding angle_coeff commands, if you -desire to turn off certain angle types. +An angle style of {none} can be specified as the 2nd argument to the +angle_coeff command, if you desire to turn off certain angle types. [Restrictions:] diff --git a/doc/bond_hybrid.html b/doc/bond_hybrid.html index aeef272796..bdf750b8f5 100644 --- a/doc/bond_hybrid.html +++ b/doc/bond_hybrid.html @@ -41,9 +41,8 @@ coefficients 80.0, 1.2 for K, r0. All other bond types (2-N) would be computed with a fene potential with coefficients 30.0, 1.5, 1.0, 1.0 for K, R0, epsilon, sigma.

-

A bond style of none can be specified as an argument to bond_style -hybrid and the corresponding bond_coeff commands, if you desire to -turn off certain bond types. +

A bond style of none can be specified as the 2nd argument to the +bond_coeff command, if you desire to turn off certain bond types.

Restrictions:

diff --git a/doc/bond_hybrid.txt b/doc/bond_hybrid.txt index 50e6ab1356..9fb42206f2 100644 --- a/doc/bond_hybrid.txt +++ b/doc/bond_hybrid.txt @@ -38,9 +38,8 @@ coefficients 80.0, 1.2 for K, r0. All other bond types (2-N) would be computed with a {fene} potential with coefficients 30.0, 1.5, 1.0, 1.0 for K, R0, epsilon, sigma. -A bond style of {none} can be specified as an argument to bond_style -hybrid and the corresponding bond_coeff commands, if you desire to -turn off certain bond types. +A bond style of {none} can be specified as the 2nd argument to the +bond_coeff command, if you desire to turn off certain bond types. [Restrictions:] diff --git a/doc/dihedral_hybrid.html b/doc/dihedral_hybrid.html index 50e67db17c..63ce89a220 100644 --- a/doc/dihedral_hybrid.html +++ b/doc/dihedral_hybrid.html @@ -50,9 +50,9 @@ to other hybrid styles, use the style name (e.g. "harmonic") appropriate to that style. The MiddleBondTorsion, etc coeffs for that dihedral type will then be ignored.

-

A dihedral style of none can be specified as an argument to -dihedral_style hybrid and the corresponding dihedral_coeff commands, -if you desire to turn off certain dihedral types. +

A dihedral style of none can be specified as the 2nd argument to the +dihedral_coeff command, if you desire to turn off certain dihedral +types.

Restrictions:

diff --git a/doc/dihedral_hybrid.txt b/doc/dihedral_hybrid.txt index a8baa24d4a..f92fc490d6 100644 --- a/doc/dihedral_hybrid.txt +++ b/doc/dihedral_hybrid.txt @@ -47,9 +47,9 @@ to other hybrid styles, use the style name (e.g. "harmonic") appropriate to that style. The MiddleBondTorsion, etc coeffs for that dihedral type will then be ignored. -A dihedral style of {none} can be specified as an argument to -dihedral_style hybrid and the corresponding dihedral_coeff commands, -if you desire to turn off certain dihedral types. +A dihedral style of {none} can be specified as the 2nd argument to the +dihedral_coeff command, if you desire to turn off certain dihedral +types. [Restrictions:] diff --git a/doc/dump.html b/doc/dump.html index 0e362ba388..001b876a8c 100644 --- a/doc/dump.html +++ b/doc/dump.html @@ -33,7 +33,7 @@ xtc args = none xyz args = none custom args = list of atom attributes - possible attributes = tag, mol, type, + possible attributes = id, mol, type, x, y, z, xs, ys, zs, xu, yu, zu, ix, iy, iz, vx, vy, vz, fx, fy, fz, q, mux, muy, muz, @@ -41,7 +41,7 @@ angmomx, angmomy, angmomz, quatw, quati, quatj, quatk, tqx, tqy, tqz, c_ID, c_ID[N], f_ID, f_ID[N], v_name - tag = atom ID + id = atom ID mol = molecule ID type = atom type x,y,z = unscaled atom coordinates @@ -69,8 +69,8 @@

dump myDump all atom 100 dump.atom
 dump 2 subgroup atom 50 dump.run.bin
-dump 4a all custom 100 dump.myforce.* tag type x y vx fx
-dump 4b flow custom 100 dump.%.myforce tag type c_myF[3] v_ke
+dump 4a all custom 100 dump.myforce.* id type x y vx fx
+dump 4b flow custom 100 dump.%.myforce id type c_myF[3] v_ke
 dump 1 all xtc 1000 file.xtc 
 

Description: @@ -229,8 +229,8 @@ styles.

This section explains the atom quantities that can be specified as part of the custom style.

-

The tag, mol, type, x, y, z, vx, vy, vz, fx, fy, -fz, q keywords are self-explanatory. Tag is the atom ID. Mol +

The id, mol, type, x, y, z, vx, vy, vz, fx, fy, +fz, q keywords are self-explanatory. Id is the atom ID. Mol is the molecule ID, included in the data file for molecular systems. The x, y, z keywords write atom coordinates "unscaled", in the appropriate distance units (Angstroms, sigma, etc). Use diff --git a/doc/dump.txt b/doc/dump.txt index b700d71fec..348df6b427 100644 --- a/doc/dump.txt +++ b/doc/dump.txt @@ -24,7 +24,7 @@ args = list of arguments for a particular style :l {xtc} args = none {xyz} args = none {custom} args = list of atom attributes - possible attributes = tag, mol, type, + possible attributes = id, mol, type, x, y, z, xs, ys, zs, xu, yu, zu, ix, iy, iz, vx, vy, vz, fx, fy, fz, q, mux, muy, muz, @@ -32,7 +32,7 @@ args = list of arguments for a particular style :l angmomx, angmomy, angmomz, quatw, quati, quatj, quatk, tqx, tqy, tqz, c_ID, c_ID\[N\], f_ID, f_ID\[N\], v_name - tag = atom ID + id = atom ID mol = molecule ID type = atom type x,y,z = unscaled atom coordinates @@ -59,8 +59,8 @@ args = list of arguments for a particular style :l dump myDump all atom 100 dump.atom dump 2 subgroup atom 50 dump.run.bin -dump 4a all custom 100 dump.myforce.* tag type x y vx fx -dump 4b flow custom 100 dump.%.myforce tag type c_myF\[3\] v_ke +dump 4a all custom 100 dump.myforce.* id type x y vx fx +dump 4b flow custom 100 dump.%.myforce id type c_myF\[3\] v_ke dump 1 all xtc 1000 file.xtc :pre [Description:] @@ -219,8 +219,8 @@ styles. This section explains the atom quantities that can be specified as part of the {custom} style. -The {tag}, {mol}, {type}, {x}, {y}, {z}, {vx}, {vy}, {vz}, {fx}, {fy}, -{fz}, {q} keywords are self-explanatory. {Tag} is the atom ID. {Mol} +The {id}, {mol}, {type}, {x}, {y}, {z}, {vx}, {vy}, {vz}, {fx}, {fy}, +{fz}, {q} keywords are self-explanatory. {Id} is the atom ID. {Mol} is the molecule ID, included in the data file for molecular systems. The {x}, {y}, {z} keywords write atom coordinates "unscaled", in the appropriate distance "units"_units.html (Angstroms, sigma, etc). Use diff --git a/doc/fix.html b/doc/fix.html index 41e46c1ab7..abb6410e7f 100644 --- a/doc/fix.html +++ b/doc/fix.html @@ -108,6 +108,8 @@ list of fix styles available in LAMMPS:

  • ave/atom - compute per-atom time-averaged quantities
  • ave/spatial - output per-atom quantities by layer
  • ave/time - output time-averaged compute quantities +
  • bond/break - break bonds on the fly +
  • bond/create - create bonds on the fly
  • bond/swap - Monte Carlo bond swapping
  • com - compute a center-of-mass
  • coord/original - store original coords of each atom diff --git a/doc/fix.txt b/doc/fix.txt index 7b84ab4c0c..ba410b95ff 100644 --- a/doc/fix.txt +++ b/doc/fix.txt @@ -105,6 +105,8 @@ list of fix styles available in LAMMPS: "ave/atom"_fix_ave_atom.html - compute per-atom time-averaged quantities "ave/spatial"_fix_ave_spatial.html - output per-atom quantities by layer "ave/time"_fix_ave_time.html - output time-averaged compute quantities +"bond/break"_fix_bond_break.html - break bonds on the fly +"bond/create"_fix_bond_create.html - create bonds on the fly "bond/swap"_fix_bond_swap.html - Monte Carlo bond swapping "com"_fix_com.html - compute a center-of-mass "coord/original"_fix_coord_original.html - store original coords of each atom diff --git a/doc/fix_wall_reflect.html b/doc/fix_wall_reflect.html index 52f5bbbdb8..80750d5605 100644 --- a/doc/fix_wall_reflect.html +++ b/doc/fix_wall_reflect.html @@ -43,14 +43,6 @@ the corresponding timestep asymmetrically, energy conservation is only satisfied to O(dt), rather than to O(dt^2) as it would be for velocity-Verlet integration without reflective walls.

    -

    IMPORTANT NOTE: This fix performs its operations at the same point in -the timestep as other time integration fixes, such as fix -nve, fix nvt, or fix npt. -Thus fix wall/reflect should normally be the last such fix specified -in the input script, since the adjustments it makes to atom -coordinates should come after the changes made by time integration. -LAMMPS will warn you if your fixes are not ordered this way. -

    Restart, fix_modify, output, run start/stop, minimize info:

    No information about this fix is written to binary restart diff --git a/doc/fix_wall_reflect.txt b/doc/fix_wall_reflect.txt index 14a3a4e7ff..22c8de4097 100644 --- a/doc/fix_wall_reflect.txt +++ b/doc/fix_wall_reflect.txt @@ -40,14 +40,6 @@ the corresponding timestep asymmetrically, energy conservation is only satisfied to O(dt), rather than to O(dt^2) as it would be for velocity-Verlet integration without reflective walls. -IMPORTANT NOTE: This fix performs its operations at the same point in -the timestep as other time integration fixes, such as "fix -nve"_fix_nve.html, "fix nvt"_fix_nvt.html, or "fix npt"_fix_npt.html. -Thus fix wall/reflect should normally be the last such fix specified -in the input script, since the adjustments it makes to atom -coordinates should come after the changes made by time integration. -LAMMPS will warn you if your fixes are not ordered this way. - [Restart, fix_modify, output, run start/stop, minimize info:] No information about this fix is written to "binary restart diff --git a/doc/improper_hybrid.html b/doc/improper_hybrid.html index bd7b5c7ed6..981fc7945a 100644 --- a/doc/improper_hybrid.html +++ b/doc/improper_hybrid.html @@ -49,9 +49,9 @@ to other hybrid styles, use the style name (e.g. "harmonic") appropriate to that style. The AngleAngle coeffs for that improper type will then be ignored.

    -

    An improper style of none can be specified as an argument to -improper_style hybrid and the corresponding improper_coeff commands, -if you desire to turn off certain improper types. +

    An improper style of none can be specified as the 2nd argument to +the improper_coeff command, if you desire to turn off certain improper +types.

    Restrictions:

    diff --git a/doc/improper_hybrid.txt b/doc/improper_hybrid.txt index 9c5e074fa3..6a17b82ee4 100644 --- a/doc/improper_hybrid.txt +++ b/doc/improper_hybrid.txt @@ -46,9 +46,9 @@ to other hybrid styles, use the style name (e.g. "harmonic") appropriate to that style. The AngleAngle coeffs for that improper type will then be ignored. -An improper style of {none} can be specified as an argument to -improper_style hybrid and the corresponding improper_coeff commands, -if you desire to turn off certain improper types. +An improper style of {none} can be specified as the 2nd argument to +the improper_coeff command, if you desire to turn off certain improper +types. [Restrictions:] diff --git a/doc/pair_gran.html b/doc/pair_gran.html index 1682dcd117..0adbe7cb05 100644 --- a/doc/pair_gran.html +++ b/doc/pair_gran.html @@ -74,9 +74,19 @@ The tangential force between 2 particles grows according to a tangential spring and dash-pot model until Ft/Fn = xmu and is then held at Ft = Fn*xmu until the particles lose contact.

    -

    For granular styles there are no individual atom type coefficients -that can be set via the pair_coeff command. All -global settings are made via the pair_style command. +

    For granular styles there are no additional coefficients to set for +each pair of atom types via the pair_coeff command. +All settings are global and are made via the pair_style command. +However you must still use the pair_coeff for all +pairs of granular atom types. For example the command +

    +
    pair_coeff * * 
    +
    +

    should be used if all atoms in the simulation interact via a granular +potential. If a granular potential is used as part of pair_style +hybrid, then specific atom types can be used in the +pair_coeff command to determine which atoms interact via a granular +potential.

    See the citation below for more discussion of granular potentials.

    diff --git a/doc/pair_gran.txt b/doc/pair_gran.txt index 513ca7ee87..c5d2f4bfb1 100644 --- a/doc/pair_gran.txt +++ b/doc/pair_gran.txt @@ -66,9 +66,19 @@ The tangential force between 2 particles grows according to a tangential spring and dash-pot model until Ft/Fn = xmu and is then held at Ft = Fn*xmu until the particles lose contact. -For granular styles there are no individual atom type coefficients -that can be set via the "pair_coeff"_pair_coeff.html command. All -global settings are made via the pair_style command. +For granular styles there are no additional coefficients to set for +each pair of atom types via the "pair_coeff"_pair_coeff.html command. +All settings are global and are made via the pair_style command. +However you must still use the "pair_coeff"_pair_coeff.html for all +pairs of granular atom types. For example the command + +pair_coeff * * :pre + +should be used if all atoms in the simulation interact via a granular +potential. If a granular potential is used as part of "pair_style +hybrid"_pair_hybrid.html, then specific atom types can be used in the +pair_coeff command to determine which atoms interact via a granular +potential. See the citation below for more discussion of granular potentials. diff --git a/doc/read_data.html b/doc/read_data.html index e484763c11..612f0df44b 100644 --- a/doc/read_data.html +++ b/doc/read_data.html @@ -78,6 +78,7 @@ is different than the default.
  • angle types = # of angle types in system
  • dihedral types = # of dihedral types in system
  • improper types = # of improper types in system +
  • extra bond per atom = leave space for this many new bonds per atom
  • xlo xhi = simulation box boundaries in x dimension
  • ylo yhi = simulation box boundaries in y dimension
  • zlo zhi = simulation box boundaries in z dimension @@ -87,7 +88,7 @@ is different than the default. In any dimension, the system may be periodic or non-periodic; see the boundary command.

    -

    If the xy xz yz line does not appear, then LAMMPS will set up an +

    If the xy xz yz line does not appear, LAMMPS will set up an axis-aligned (orthogonal) simulation box. If the line does appear, LAMMPS creates a non-orthogonal simulation domain shaped as a parallelepiped with triclinic symmetry. See the region @@ -139,6 +140,11 @@ specified box size to layout the 3d grid of processors. A huge parallel simulation to lose atoms if LAMMPS shrink-wraps the box around the atoms.

    +

    The "extra bond per atom" setting should be used if new bonds will be +added to the system when a simulation runs, e.g. by using the fix +bond/create command. This will pre-allocate +space in LAMMPS data structures for storing the new bonds. +


    These are the section keywords for the body of the file. diff --git a/doc/read_data.txt b/doc/read_data.txt index e793f02dd9..85197862c3 100644 --- a/doc/read_data.txt +++ b/doc/read_data.txt @@ -73,6 +73,7 @@ is different than the default. {angle types} = # of angle types in system {dihedral types} = # of dihedral types in system {improper types} = # of improper types in system +{extra bond per atom} = leave space for this many new bonds per atom {xlo xhi} = simulation box boundaries in x dimension {ylo yhi} = simulation box boundaries in y dimension {zlo zhi} = simulation box boundaries in z dimension @@ -82,7 +83,7 @@ The initial simulation box size is determined by the lo/hi settings. In any dimension, the system may be periodic or non-periodic; see the "boundary"_boundary.html command. -If the {xy xz yz} line does not appear, then LAMMPS will set up an +If the {xy xz yz} line does not appear, LAMMPS will set up an axis-aligned (orthogonal) simulation box. If the line does appear, LAMMPS creates a non-orthogonal simulation domain shaped as a parallelepiped with triclinic symmetry. See the "region @@ -134,6 +135,11 @@ specified box size to layout the 3d grid of processors. A huge parallel simulation to lose atoms if LAMMPS shrink-wraps the box around the atoms. +The "extra bond per atom" setting should be used if new bonds will be +added to the system when a simulation runs, e.g. by using the "fix +bond/create"_fix_bond_create.html command. This will pre-allocate +space in LAMMPS data structures for storing the new bonds. + :line These are the section keywords for the body of the file. diff --git a/doc/replicate.html b/doc/replicate.html index 07f47e92cc..de49ff26ad 100644 --- a/doc/replicate.html +++ b/doc/replicate.html @@ -30,15 +30,14 @@ dimension. A replication factor of 1 in a dimension leaves the simulation domain unchanged.

    All properties of the atoms are replicated, including their -velocities, which may or may not be desirable. New atom IDs (tags) -are assigned to new atoms, as are molecule IDs. Bonds and other -topology interactions are created between pairs of new atoms as well -as between old and new atoms. This is done by using the image flag -for each atom to "unwrap" it out of the periodic box before -replicating it. This means that molecular bonds you specify in the -original data file that span the periodic box should be between two -atoms with image flags that differ by 1. This will allow them to be -unwrapped appropriately. +velocities, which may or may not be desirable. New atom IDs are +assigned to new atoms, as are molecule IDs. Bonds and other topology +interactions are created between pairs of new atoms as well as between +old and new atoms. This is done by using the image flag for each atom +to "unwrap" it out of the periodic box before replicating it. This +means that molecular bonds you specify in the original data file that +span the periodic box should be between two atoms with image flags +that differ by 1. This will allow them to be unwrapped appropriately.

    Restrictions:

    diff --git a/doc/replicate.txt b/doc/replicate.txt index f0091c0d6a..68619cc22a 100644 --- a/doc/replicate.txt +++ b/doc/replicate.txt @@ -27,15 +27,14 @@ dimension. A replication factor of 1 in a dimension leaves the simulation domain unchanged. All properties of the atoms are replicated, including their -velocities, which may or may not be desirable. New atom IDs (tags) -are assigned to new atoms, as are molecule IDs. Bonds and other -topology interactions are created between pairs of new atoms as well -as between old and new atoms. This is done by using the image flag -for each atom to "unwrap" it out of the periodic box before -replicating it. This means that molecular bonds you specify in the -original data file that span the periodic box should be between two -atoms with image flags that differ by 1. This will allow them to be -unwrapped appropriately. +velocities, which may or may not be desirable. New atom IDs are +assigned to new atoms, as are molecule IDs. Bonds and other topology +interactions are created between pairs of new atoms as well as between +old and new atoms. This is done by using the image flag for each atom +to "unwrap" it out of the periodic box before replicating it. This +means that molecular bonds you specify in the original data file that +span the periodic box should be between two atoms with image flags +that differ by 1. This will allow them to be unwrapped appropriately. [Restrictions:] diff --git a/doc/reset_timestep.html b/doc/reset_timestep.html index 165467758e..31bdc71630 100644 --- a/doc/reset_timestep.html +++ b/doc/reset_timestep.html @@ -45,6 +45,21 @@ write. See the undump command or fix +ave/spatial or fix +wall/lj126, and also fix +indent. The wall and indeter fixes allow for a +velocity or other time-dependent parameter to be specified, which +would be messed up by resetting the timestep. +

    +

    Restting the timestep will clear the flags for computes +that may have calculated some quantity from a previous run. This +means that quantity cannot be accessed by a variable in between runs +until a new run is performed. See the variable +command for more details. +

    Related commands: none

    Default: none diff --git a/doc/reset_timestep.txt b/doc/reset_timestep.txt index c791597311..3da3655276 100644 --- a/doc/reset_timestep.txt +++ b/doc/reset_timestep.txt @@ -42,6 +42,21 @@ write. See the "undump"_undump.html command or "restart if necessary. New specifications for dump and restart files can be given after the reset_timestep command is used. +This command cannot be used when any fixes are defined that keep track +of time or the timestep in order to perform time-dependent operations. +Examples include the "ave" or "wall" fixes such as "fix +ave/spatial"_fix_ave_spatial.html or "fix +wall/lj126"_fix_wall_lj126.html, and also "fix +indent"_fix_indent.html. The wall and indeter fixes allow for a +velocity or other time-dependent parameter to be specified, which +would be messed up by resetting the timestep. + +Restting the timestep will clear the flags for "computes"_compute.html +that may have calculated some quantity from a previous run. This +means that quantity cannot be accessed by a variable in between runs +until a new run is performed. See the "variable"_variable.html +command for more details. + [Related commands:] none [Default:] none diff --git a/doc/run.html b/doc/run.html index 08a3297cfc..c63fe422da 100644 --- a/doc/run.html +++ b/doc/run.html @@ -157,6 +157,14 @@ command (e.g. print "Protein Rg = $r" as in the example above). This means that, if specified, the every option must be the last keyword used.

    +

    IMPORTANT NOTE: For the every option, if the command includes a +variable (e.g. $x or ${abc}), and you want the variable to be +evaluated afresh each time the command is invoked, then you should +enclose that command argument in double quotes, as in the "Protein Rg += $r" example above. If you don't do this, then the variable will be +substituted for only once initially when the run command is parsed, +just as occurs for any other command containing a variable. +

    If the pre and post options are set to "no" when used with the every keyword, then the 1st run will do the full setup and the last run will print the full timing summary, but these operations will be diff --git a/doc/run.txt b/doc/run.txt index 5d71dc481f..2e3b15c0e7 100644 --- a/doc/run.txt +++ b/doc/run.txt @@ -150,6 +150,14 @@ command (e.g. print "Protein Rg = $r" as in the example above). This means that, if specified, the {every} option must be the last keyword used. +IMPORTANT NOTE: For the {every} option, if the command includes a +variable (e.g. $x or $\{abc\}), and you want the variable to be +evaluated afresh each time the command is invoked, then you should +enclose that command argument in double quotes, as in the "Protein Rg += $r" example above. If you don't do this, then the variable will be +substituted for only once initially when the run command is parsed, +just as occurs for any other command containing a variable. + If the {pre} and {post} options are set to "no" when used with the {every} keyword, then the 1st run will do the full setup and the last run will print the full timing summary, but these operations will be diff --git a/doc/special_bonds.html b/doc/special_bonds.html index db52902779..73026d8d36 100644 --- a/doc/special_bonds.html +++ b/doc/special_bonds.html @@ -13,105 +13,125 @@

    Syntax:

    -
    special_bonds style args 
    +
    special_bonds keyword values ... 
     
    -