diff --git a/doc/Manual.html b/doc/Manual.html index 04472eabf0..240ebc6f6d 100644 --- a/doc/Manual.html +++ b/doc/Manual.html @@ -38,6 +38,10 @@ you find errors or omissions in this manual or have suggestions for useful information to add, please send an email to the developers so we can improve the LAMMPS documentation.

+

Once you are familiar with LAMMPS, you may want to bookmark this +page at Section_commands.html#comm since +it gives quick access to documentation for all LAMMPS commands. +

PDF file of the entire manual, generated by htmldoc

@@ -106,6 +110,12 @@ we can improve the LAMMPS documentation. 4.10 Coupling LAMMPS to other codes
4.11 Visualizing LAMMPS snapshots +
+ 4.12 Non-orthogonal simulation boxes +
+ 4.13 NEMD simulations +
+ 4.14 Aspherical particles
  • Example problems @@ -192,6 +202,12 @@ we can improve the LAMMPS documentation. + + + + + + diff --git a/doc/Manual.txt b/doc/Manual.txt index 63b08660d4..ff8bbab6b9 100644 --- a/doc/Manual.txt +++ b/doc/Manual.txt @@ -35,6 +35,10 @@ you find errors or omissions in this manual or have suggestions for useful information to add, please send an email to the developers so we can improve the LAMMPS documentation. +Once you are familiar with LAMMPS, you may want to bookmark "this +page"_Section_commands.html#comm at Section_commands.html#comm since +it gives quick access to documentation for all LAMMPS commands. + "PDF file"_Manual.pdf of the entire manual, generated by "htmldoc"_http://www.easysw.com/htmldoc @@ -70,7 +74,10 @@ we can improve the LAMMPS documentation. 4.8 "TIP4P water model"_4_8 :b 4.9 "SPC water model"_4_9 :b 4.10 "Coupling LAMMPS to other codes"_4_10 :b - 4.11 "Visualizing LAMMPS snapshots"_4_11 :ule,b + 4.11 "Visualizing LAMMPS snapshots"_4_11 :b + 4.12 "Non-orthogonal simulation boxes"_4_12 :b + 4.13 "NEMD simulations"_4_13 :b + 4.14 "Aspherical particles"_4_14 :ule,b "Example problems"_Section_example.html :l "Performance & scalability"_Section_perf.html :l "Additional tools"_Section_tools.html :l @@ -116,6 +123,9 @@ we can improve the LAMMPS documentation. :link(4_9,Section_howto.html#4_9) :link(4_10,Section_howto.html#4_10) :link(4_11,Section_howto.html#4_11) +:link(4_12,Section_howto.html#4_12) +:link(4_13,Section_howto.html#4_13) +:link(4_14,Section_howto.html#4_14) :link(9_1,Section_errors.html#9_1) :link(9_2,Section_errors.html#9_2) diff --git a/doc/Section_commands.html b/doc/Section_commands.html index 47b2092819..d03f96a6c9 100644 --- a/doc/Section_commands.html +++ b/doc/Section_commands.html @@ -345,17 +345,17 @@ for an overview of pair potentials. Click on the style itself for a full description:

    - - - - - - - - - - - + + + + + + + + + +
    nonehybridbuckbuck/coul/cut
    buck/coul/longcolloiddipole/cutdpd
    eameam/opteam/alloyeam/alloy/opt
    eam/fseam/fs/optgaybernegran/hertzian
    gran/historygran/no_historylj/charmm/coul/charmmlj/charmm/coul/charmm/implicit
    lj/charmm/coul/longlj/charmm/coul/long/optlj/class2lj/class2/coul/cut
    lj/class2/coul/longlj/cutlj/cut/optlj/cut/coul/cut
    lj/cut/coul/debyelj/cut/coul/longlj/cut/coul/long/tip4plj/expand
    lj/smoothmeammorsemorse/opt
    softswtabletersoff
    yukawa +
    nonehybridairebobuck
    buck/coul/cutbuck/coul/longcolloiddipole/cut
    dpdeameam/opteam/alloy
    eam/alloy/opteam/fseam/fs/optgayberne
    gran/hertziangran/historygran/no_historylj/charmm/coul/charmm
    lj/charmm/coul/charmm/implicitlj/charmm/coul/longlj/charmm/coul/long/optlj/class2
    lj/class2/coul/cutlj/class2/coul/longlj/cutlj/cut/opt
    lj/cut/coul/cutlj/cut/coul/debyelj/cut/coul/longlj/cut/coul/long/tip4p
    lj/expandlj/smoothmeammorse
    morse/optsoftswtable
    tersoffyukawa

    diff --git a/doc/Section_commands.txt b/doc/Section_commands.txt index 4fe7875174..5efd8e093e 100644 --- a/doc/Section_commands.txt +++ b/doc/Section_commands.txt @@ -459,6 +459,7 @@ full description: "none"_pair_none.html, "hybrid"_pair_hybrid.html, +"airebo"_pair_airebo.html, "buck"_pair_buck.html, "buck/coul/cut"_pair_buck.html, "buck/coul/long"_pair_buck.html, diff --git a/doc/Section_howto.html b/doc/Section_howto.html index 2148ace7a9..5d7e89deac 100644 --- a/doc/Section_howto.html +++ b/doc/Section_howto.html @@ -24,7 +24,10 @@ certain kinds of LAMMPS simulations. 4.8 TIP4P water model
    4.9 SPC water model
    4.10 Coupling LAMMPS to other codes
    -4.11 Visualizing LAMMPS snapshots
    +4.11 Visualizing LAMMPS snapshots
    +4.12 Non-orthogonal simulation boxes
    +4.13 NEMD simulations
    +4.14 Aspherical particles

    The example input scripts included in the LAMMPS distribution and highlighted in this section also show how to @@ -647,6 +650,145 @@ See the dump command for more information on XTC files +


    + +

    4.12 Non-orthogonal simulation boxes +

    +

    By default, LAMMPS uses an orthogonal simulation box to encompass the +particles. The boundary command sets the boundary +conditions of the box (periodic, non-periodic, etc). If the box size +is xprd by yprd by zprd then the 3 mutually orthogonal edge vectors of +an orthogonal simulation box are a = (xprd,0,0), b = (0,yprd,0), and c += (0,0,zprd). +

    +

    LAMMPS also allows non-orthogonal simulation boxes (triclinic +symmetry) to be defined with 3 additional "tilt" parameters which +change the edge vectors of the simulation box to be a = (xprd,0,0), b += (xy,yprd,0), and c = (xz,yz,zprd). The xy, xz, and yz parameters +can be positive or negative. The simulation box must be periodic in +both dimensions associated with a tilt factor. For example, if xz != +0.0, then the x and z dimensions must be periodic. +

    +

    To avoid extremely tilted boxes (which would be computationally +inefficient), no tilt factor can skew the box more than half the +distance of the parallel box length, which is the 1st dimension in the +tilt factor (x for xz). For example, if xlo = 2 and xhi = 12, then +the x box length is 10 and the xy tilt factor must be between -5 and +5. Similarly, both xz and yz must be between -(xhi-xlo)/2 and ++(yhi-ylo)/2. Note that this is not a limitation, since if the +maximum tilt factor is 5 (as in this example), then configurations +with tilt = ..., -15, -5, 5, 15, 25, ... are all equivalent. +

    +

    You tell LAMMPS to use a non-orthogonal box when the simulation box is +defined. This happens in one of 3 ways. If the +create_box command is used with a region of style +prism, then a non-orthogonal domain is setup. See the +region command for details. If the +read_data command is used to define the simulation +box, and the header of the data file contains a line with the "xy xz +yz" keyword, then a non-orthogonal domain is setup. See the +read_data command for details. Finally, if the +read_restart command reads a restart file which +was written from a simulation using a triclinic box, then a +non-orthogonal box will be enabled for the restarted simulation. +

    +

    Note that you can define a non-orthogonal box with all 3 tilt factors += 0.0, so that it is initially orthogonal. This is necessary if the +box will ever become non-orthogonal. +

    +

    One use of non-orthogonal boxes is to model solid-state crystals with +triclinic symmetry. The lattice command can be used +with non-orthogonal basis vectors to define a lattice that will tile a +non-orthogonal simulation box via the create_atoms +command. Note that while the box edge vectors a,b,c cannot be +arbitrary vectors (e.g. a must be aligned with the x axis), it is +possible to rotate any crystal's basis vectors so that they meet these +restrictions. +

    +

    A second use of non-orthogonal boxes is to shear a bulk solid to study +the response of the material. The fix deform +command can be used for this purpose. It allows dynamic control of +the xy, xz, and yz tilt factors as a simulation runs. +

    +

    Another use of non-orthogonal boxes is to perform non-equilibrium MD +(NEMD) simulations, as discussed in the next section. +

    +
    + +

    4.13 NEMD simulations +

    +

    Non-equilibrium molecular dynamics or NEMD simulations are typically +used to measure a fluid's rheological properties such as viscosity. +In LAMMPS, such simulations can be performed by first setting up a +non-orthogonal simulation box (see the preceeding Howto section). +

    +

    A shear strain can be applied to the simualation box at a desired +strain rate by using the fix deform command. The +fix nvt/sllod command can be used to thermostat +the sheared fluid and integrate the SLLOD equations of motion for the +system. Fix nvt/sllod uses compute +temp/deform to compute a thermal temperature +by subtracting out the streaming velocity of the shearing atoms. The +velocity profile or other properties of the fluid can be monitored via +the fix ave/spatial command. +

    +

    As discussed in the previous section on non-orthogonal simulation +boxes, the amount of tilt or skew that can be applied is limited by +LAMMPS for computation efficiency to be 1/2 of the paralell box +length. However, fix deform can be used to +continuously strain a box by an arbitrary amount. As discussed in the +fix deform command, when the tilt reaches a limit, +the box is re-shaped to the opposite limit which is an equivalent +tiling of the periodic plane. The strain rate can then continue to +change as before. In a long NEMD simulation these box re-shaping may +occur any number of times. +

    +

    In a NEMD simulation, the "remap" option of fix +deform should be set to "remap v", since that is what +fix nvt/sllod assumes to generate a velocity +profile consistent with the applied shear strain rate. +

    +
    + +

    4.14 Aspherical particles +

    +

    LAMMPS supports ellipsoidal particles via the atom_style +ellipsoid and shape commands. The +latter defines the 3 axes (diamaters) of a general ellipsoid. The +pair_style gayberne command can be used to define +a Gay-Berne (GB) potential for how such particles interact with each +other and with spherical particles. The GB potential is like a +Lennard-Jones (LJ) potential generalized for ellipsoids interacting in +an orientiation-dependent manner. +

    +

    The orientation of ellipsoidal particles is stored as a quaternion. +See the set command for a brief explanation of quaternions +and how the orientation of such particles can be initialized. The +data file read by the read_data command also contains +quaternions for each atom in the Atoms section if atom_style +ellipsoid is being used. The compute +temp/asphere command can be used to +calculate the temperature of a group of ellipsoidal particles, taking +account of rotational degrees of freedom. The motion of the particles +can be integrated via the fix nve/asphere, fix +nvt/asphere, or fix +npt/asphere commands. All of these commands are +part of the ASPHERE package in LAMMPS. +

    +

    Computationally, the cost for two ellipsoidal particles to interact is +30x or more expensive than for 2 LJ particles. Thus if you are +modeling a system with many spherical particles (e.g. as the solvent), +then you should insure sphere-sphere interactions are computed with +the a cheaper potential than GB. This can be done by setting the +particle's 3 shape parameters to all be equal (a sphere). +Additionally, the corresponding GB potential coefficients can be set +so the GB potential will treat the pair of particles as LJ spheres. +Details are given in the doc page for the pair_style +gayberne. Alternatively, the pair_style +hybrid potential can be used, with the sphere-sphere +interactions computed by another pair potential, such as pair_style +lj/cut. +


    diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index dd2d99d706..5dd14d746c 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -21,7 +21,10 @@ certain kinds of LAMMPS simulations. 4.8 "TIP4P water model"_#4_8 4.9 "SPC water model"_#4_9 4.10 "Coupling LAMMPS to other codes"_#4_10 -4.11 "Visualizing LAMMPS snapshots"_#4_11 :all(b) +4.11 "Visualizing LAMMPS snapshots"_#4_11 +4.12 "Non-orthogonal simulation boxes"_#4_12 +4.13 "NEMD simulations"_#4_13 +4.14 "Aspherical particles"_#4_14 :all(b) The example input scripts included in the LAMMPS distribution and highlighted in "this section"_Section_example.html also show how to @@ -642,6 +645,145 @@ See the "dump"_dump.html command for more information on XTC files. :line +4.12 Non-orthogonal simulation boxes :link(4_12),h4 + +By default, LAMMPS uses an orthogonal simulation box to encompass the +particles. The "boundary"_boundary.html command sets the boundary +conditions of the box (periodic, non-periodic, etc). If the box size +is xprd by yprd by zprd then the 3 mutually orthogonal edge vectors of +an orthogonal simulation box are a = (xprd,0,0), b = (0,yprd,0), and c += (0,0,zprd). + +LAMMPS also allows non-orthogonal simulation boxes (triclinic +symmetry) to be defined with 3 additional "tilt" parameters which +change the edge vectors of the simulation box to be a = (xprd,0,0), b += (xy,yprd,0), and c = (xz,yz,zprd). The xy, xz, and yz parameters +can be positive or negative. The simulation box must be periodic in +both dimensions associated with a tilt factor. For example, if xz != +0.0, then the x and z dimensions must be periodic. + +To avoid extremely tilted boxes (which would be computationally +inefficient), no tilt factor can skew the box more than half the +distance of the parallel box length, which is the 1st dimension in the +tilt factor (x for xz). For example, if xlo = 2 and xhi = 12, then +the x box length is 10 and the xy tilt factor must be between -5 and +5. Similarly, both xz and yz must be between -(xhi-xlo)/2 and ++(yhi-ylo)/2. Note that this is not a limitation, since if the +maximum tilt factor is 5 (as in this example), then configurations +with tilt = ..., -15, -5, 5, 15, 25, ... are all equivalent. + +You tell LAMMPS to use a non-orthogonal box when the simulation box is +defined. This happens in one of 3 ways. If the +"create_box"_create_box.html command is used with a region of style +{prism}, then a non-orthogonal domain is setup. See the +"region"_region.html command for details. If the +"read_data"_read_data.html command is used to define the simulation +box, and the header of the data file contains a line with the "xy xz +yz" keyword, then a non-orthogonal domain is setup. See the +"read_data"_read_data.html command for details. Finally, if the +"read_restart"_read_restart.html command reads a restart file which +was written from a simulation using a triclinic box, then a +non-orthogonal box will be enabled for the restarted simulation. + +Note that you can define a non-orthogonal box with all 3 tilt factors += 0.0, so that it is initially orthogonal. This is necessary if the +box will ever become non-orthogonal. + +One use of non-orthogonal boxes is to model solid-state crystals with +triclinic symmetry. The "lattice"_lattice.html command can be used +with non-orthogonal basis vectors to define a lattice that will tile a +non-orthogonal simulation box via the "create_atoms"_create_atoms.html +command. Note that while the box edge vectors a,b,c cannot be +arbitrary vectors (e.g. a must be aligned with the x axis), it is +possible to rotate any crystal's basis vectors so that they meet these +restrictions. + +A second use of non-orthogonal boxes is to shear a bulk solid to study +the response of the material. The "fix deform"_fix_deform.html +command can be used for this purpose. It allows dynamic control of +the xy, xz, and yz tilt factors as a simulation runs. + +Another use of non-orthogonal boxes is to perform non-equilibrium MD +(NEMD) simulations, as discussed in the next section. + +:line + +4.13 NEMD simulations :link(4_13),h4 + +Non-equilibrium molecular dynamics or NEMD simulations are typically +used to measure a fluid's rheological properties such as viscosity. +In LAMMPS, such simulations can be performed by first setting up a +non-orthogonal simulation box (see the preceeding Howto section). + +A shear strain can be applied to the simualation box at a desired +strain rate by using the "fix deform"_fix_deform.html command. The +"fix nvt/sllod"_fix_nvt_sllod.html command can be used to thermostat +the sheared fluid and integrate the SLLOD equations of motion for the +system. Fix nvt/sllod uses "compute +temp/deform"_compute_temp_deform.html to compute a thermal temperature +by subtracting out the streaming velocity of the shearing atoms. The +velocity profile or other properties of the fluid can be monitored via +the "fix ave/spatial"_fix_ave_spatial.html command. + +As discussed in the previous section on non-orthogonal simulation +boxes, the amount of tilt or skew that can be applied is limited by +LAMMPS for computation efficiency to be 1/2 of the paralell box +length. However, "fix deform"_fix_deform.html can be used to +continuously strain a box by an arbitrary amount. As discussed in the +"fix deform"_fix_deform.html command, when the tilt reaches a limit, +the box is re-shaped to the opposite limit which is an equivalent +tiling of the periodic plane. The strain rate can then continue to +change as before. In a long NEMD simulation these box re-shaping may +occur any number of times. + +In a NEMD simulation, the "remap" option of "fix +deform"_fix_deform.html should be set to "remap v", since that is what +"fix nvt/sllod"_fix_nvt_sllod.html assumes to generate a velocity +profile consistent with the applied shear strain rate. + +:line + +4.14 Aspherical particles :link(4_14),h4 + +LAMMPS supports ellipsoidal particles via the "atom_style +ellipsoid"_atom_style.html and "shape"_shape.html commands. The +latter defines the 3 axes (diamaters) of a general ellipsoid. The +"pair_style gayberne"_pair_gayberne.html command can be used to define +a Gay-Berne (GB) potential for how such particles interact with each +other and with spherical particles. The GB potential is like a +Lennard-Jones (LJ) potential generalized for ellipsoids interacting in +an orientiation-dependent manner. + +The orientation of ellipsoidal particles is stored as a quaternion. +See the "set"_set.html command for a brief explanation of quaternions +and how the orientation of such particles can be initialized. The +data file read by the "read_data"_read_data.html command also contains +quaternions for each atom in the Atoms section if "atom_style +ellipsoid"_atom_style.html is being used. The "compute +temp/asphere"_compute_temp_asphere.html command can be used to +calculate the temperature of a group of ellipsoidal particles, taking +account of rotational degrees of freedom. The motion of the particles +can be integrated via the "fix nve/asphere"_fix_nve_asphere.html, "fix +nvt/asphere"_fix_nvt_asphere.html, or "fix +npt/asphere"_fix_npt_asphere.html commands. All of these commands are +part of the ASPHERE package in LAMMPS. + +Computationally, the cost for two ellipsoidal particles to interact is +30x or more expensive than for 2 LJ particles. Thus if you are +modeling a system with many spherical particles (e.g. as the solvent), +then you should insure sphere-sphere interactions are computed with +the a cheaper potential than GB. This can be done by setting the +particle's 3 shape parameters to all be equal (a sphere). +Additionally, the corresponding GB potential coefficients can be set +so the GB potential will treat the pair of particles as LJ spheres. +Details are given in the doc page for the "pair_style +gayberne"_pair_gayberne.html. Alternatively, the "pair_style +hybrid"_pair_hybrid.html potential can be used, with the sphere-sphere +interactions computed by another pair potential, such as "pair_style +lj/cut"_pair_lj.html. + +:line + :link(Cornell) [(Cornell)] Cornell, Cieplak, Bayly, Gould, Merz, Ferguson, Spellmeyer, Fox, Caldwell, Kollman, JACS 117, 5179-5197 (1995). diff --git a/doc/Section_intro.html b/doc/Section_intro.html index 6279446b7b..90e12308ba 100644 --- a/doc/Section_intro.html +++ b/doc/Section_intro.html @@ -128,7 +128,7 @@ commands)
  • angle potentials: harmonic, CHARMM, cosine, cosine/squared, class 2 (COMPASS)
  • dihedral potentials: harmonic, CHARMM, multi-harmonic, helix, class 2 (COMPASS), OPLS
  • improper potentials: harmonic, cvff, class 2 (COMPASS) -
  • hybrid potentials: multiple pair, bond, angle, dihedral, improper potentials can be used +
  • hybrid potentials: multiple pair, bond, angle, dihedral, improper potentials can be used in one simlulation
  • polymer potentials: all-atom, united-atom, bead-spring, breakable
  • water potentials: TIP3P, TIP4P, SPC
  • long-range Coulombics: Ewald, PPPM (similar to particle-mesh Ewald) diff --git a/doc/Section_intro.txt b/doc/Section_intro.txt index ab35337250..c9593a1b2d 100644 --- a/doc/Section_intro.txt +++ b/doc/Section_intro.txt @@ -129,7 +129,7 @@ commands) class 2 (COMPASS), OPLS improper potentials: harmonic, cvff, class 2 (COMPASS) hybrid potentials: multiple pair, bond, angle, dihedral, improper \ - potentials can be used + potentials can be used in one simlulation polymer potentials: all-atom, united-atom, bead-spring, breakable water potentials: TIP3P, TIP4P, SPC long-range Coulombics: Ewald, PPPM (similar to particle-mesh Ewald) diff --git a/doc/angle_charmm.html b/doc/angle_charmm.html index e5b3cc2705..116098fa52 100644 --- a/doc/angle_charmm.html +++ b/doc/angle_charmm.html @@ -46,7 +46,11 @@ or read_restart commands:

    Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2.

    -

    Restrictions: none +

    Restrictions: +

    +

    This angle style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/angle_charmm.txt b/doc/angle_charmm.txt index 5e6dffb793..e1356cb061 100644 --- a/doc/angle_charmm.txt +++ b/doc/angle_charmm.txt @@ -43,7 +43,11 @@ r_ub (distance) :ul Theta0 is specified in degrees, but LAMMPS converts it to radians internally; hence the units of K are in energy/radian^2. -[Restrictions:] none +[Restrictions:] + +This angle style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/angle_class2.html b/doc/angle_class2.html index 369de1f385..229867ed0b 100644 --- a/doc/angle_class2.html +++ b/doc/angle_class2.html @@ -32,8 +32,8 @@ the equilibrium bond lengths.

    See (Sun) for a description of the COMPASS class2 force field.

    -

    For this style, only coefficients for the Ea formula can be specified -in the input script. These are the 4 coefficients: +

    For this style, coefficients for the Ea formula can be specified in +the input script or data file. These are the 4 coefficients:

    Restrictions:

    -

    This bond style is part of the "class2" package. It is only enabled -if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

    This bond style can only be used if LAMMPS was built with the "class2" +package. See the Making LAMMPS section for +more info on packages.

    Related commands:

    diff --git a/doc/bond_class2.txt b/doc/bond_class2.txt index 9f1befe12d..7fb7b83af9 100644 --- a/doc/bond_class2.txt +++ b/doc/bond_class2.txt @@ -39,9 +39,9 @@ K4 (energy/distance^2) :ul [Restrictions:] -This bond style is part of the "class2" package. It is only enabled -if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +This bond style can only be used if LAMMPS was built with the "class2" +package. See the "Making LAMMPS"_Section_start.html#2_3 section for +more info on packages. [Related commands:] diff --git a/doc/bond_fene.html b/doc/bond_fene.html index bb7d5ec622..70eaad690f 100644 --- a/doc/bond_fene.html +++ b/doc/bond_fene.html @@ -42,7 +42,11 @@ or read_restart commands:
  • epsilon (energy)
  • sigma (distance) -

    Restrictions: none +

    Restrictions: +

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/bond_fene.txt b/doc/bond_fene.txt index 0e938d3ff3..6b2b2d2a4a 100644 --- a/doc/bond_fene.txt +++ b/doc/bond_fene.txt @@ -39,7 +39,11 @@ R0 (distance) epsilon (energy) sigma (distance) :ul -[Restrictions:] none +[Restrictions:] + +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/bond_fene_expand.html b/doc/bond_fene_expand.html index 6df397aa4d..a122517286 100644 --- a/doc/bond_fene_expand.html +++ b/doc/bond_fene_expand.html @@ -47,7 +47,11 @@ or read_restart commands:
  • sigma (distance)
  • delta (distance) -

    Restrictions: none +

    Restrictions: +

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/bond_fene_expand.txt b/doc/bond_fene_expand.txt index aa165a0271..e84623fba4 100644 --- a/doc/bond_fene_expand.txt +++ b/doc/bond_fene_expand.txt @@ -44,7 +44,11 @@ epsilon (energy) sigma (distance) delta (distance) :ul -[Restrictions:] none +[Restrictions:] + +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/bond_harmonic.html b/doc/bond_harmonic.html index 7c11d0d1c8..37fd7f8cdb 100644 --- a/doc/bond_harmonic.html +++ b/doc/bond_harmonic.html @@ -37,7 +37,11 @@ or read_restart commands: -

    Restrictions: none +

    Restrictions: +

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/bond_harmonic.txt b/doc/bond_harmonic.txt index 3fea41d641..1ccbbd4f45 100644 --- a/doc/bond_harmonic.txt +++ b/doc/bond_harmonic.txt @@ -34,7 +34,11 @@ or "read_restart"_read_restart.html commands: K (energy/distance^2) r0 (distance) :ul -[Restrictions:] none +[Restrictions:] + +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/bond_hybrid.html b/doc/bond_hybrid.html index 4600020a47..3e1b7e4ad1 100644 --- a/doc/bond_hybrid.html +++ b/doc/bond_hybrid.html @@ -45,7 +45,11 @@ for K, R0, epsilon, sigma. hybrid and the corresponding bond_coeff commands, if you desire to turn off certain bond types.

    -

    Restrictions: none +

    Restrictions: +

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/bond_hybrid.txt b/doc/bond_hybrid.txt index 37cd829ddc..bf21d39bad 100644 --- a/doc/bond_hybrid.txt +++ b/doc/bond_hybrid.txt @@ -42,7 +42,11 @@ 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. -[Restrictions:] none +[Restrictions:] + +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/bond_morse.html b/doc/bond_morse.html index dd2f301103..0d69aedc5b 100644 --- a/doc/bond_morse.html +++ b/doc/bond_morse.html @@ -38,7 +38,11 @@ or read_restart commands:
  • alpha (inverse distance)
  • r0 (distance) -

    Restrictions: none +

    Restrictions: +

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/bond_morse.txt b/doc/bond_morse.txt index 17ac841554..fd67478ef4 100644 --- a/doc/bond_morse.txt +++ b/doc/bond_morse.txt @@ -35,7 +35,11 @@ D (energy) alpha (inverse distance) r0 (distance) :ul -[Restrictions:] none +[Restrictions:] + +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/bond_nonlinear.html b/doc/bond_nonlinear.html index dc68e24130..6bbc5aedf8 100644 --- a/doc/bond_nonlinear.html +++ b/doc/bond_nonlinear.html @@ -38,7 +38,11 @@ or read_restart commands:
  • r0 (distance)
  • lamda (distance) -

    Restrictions: none +

    Restrictions: +

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/bond_nonlinear.txt b/doc/bond_nonlinear.txt index 7a3be2214c..480109ff48 100644 --- a/doc/bond_nonlinear.txt +++ b/doc/bond_nonlinear.txt @@ -35,7 +35,11 @@ epsilon (energy) r0 (distance) lamda (distance) :ul -[Restrictions:] none +[Restrictions:] + +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/bond_quartic.html b/doc/bond_quartic.html index 51ce7e1aca..b5c5fcc793 100644 --- a/doc/bond_quartic.html +++ b/doc/bond_quartic.html @@ -75,6 +75,10 @@ delete_bonds all bond 0 remove

    Restrictions:

    +

    This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages. +

    The quartic style requires that special_bonds parameters be set to 1,1,1. Three- and four-body interactions (angle, dihedral, etc) cannot be used with quartic bonds. diff --git a/doc/bond_quartic.txt b/doc/bond_quartic.txt index 20baf5d152..fc7afa2b9e 100644 --- a/doc/bond_quartic.txt +++ b/doc/bond_quartic.txt @@ -72,6 +72,10 @@ delete_bonds all bond 0 remove :pre [Restrictions:] +This bond style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. + The {quartic} style requires that "special_bonds"_special_bonds.html parameters be set to 1,1,1. Three- and four-body interactions (angle, dihedral, etc) cannot be used with {quartic} bonds. diff --git a/doc/bond_style.html b/doc/bond_style.html index c36348a3fd..a7222c9acf 100644 --- a/doc/bond_style.html +++ b/doc/bond_style.html @@ -36,9 +36,9 @@ remain in force for the duration of the simulation (unless the bond breaks which is possible in some bond potentials). The list of bonded atoms is read in by a read_data or read_restart command from a data or restart file. -By contrast, pair potentials are defined between pairs of atoms that -are within a cutoff distance and the set of active interactions -typically changes over time. +By contrast, pair potentials are typically defined between all pairs +of atoms within a cutoff distance and the set of active interactions +changes over time.

    Hybrid models where bonds are computed using different bond potentials can be setup using the hybrid bond style. @@ -46,14 +46,22 @@ can be setup using the hybrid bond style.

    The coefficients associated with a bond style can be specified in a data or restart file or via the bond_coeff command.

    -

    In the formulas listed for each bond style, r is the distance -between the 2 atoms in the bond. +

    All bond potentials store their coefficient data in binary restart +files which means bond_style and bond_coeff commands +do not need to be re-specified in an input script that restarts a +simulation. See the read_restart command for +details on how to do this. The one exception is that bond_style +hybrid only stores the list of sub-styles in the restart file; bond +coefficients need to be re-specified.

    -

    Note that when both a bond and pair style is defined, the +

    IMPORTANT NOTE: When both a bond and pair style is defined, the special_bonds command often needs to be used to turn off (or weight) the pairwise interaction that would otherwise exist between 2 bonded atoms.

    +

    In the formulas listed for each bond style, r is the distance +between the 2 atoms in the bond. +


    Here is an alphabetic list of bond styles defined in LAMMPS. Click on @@ -78,10 +86,11 @@ specified by the associated bond_coeff command:

    Bond styles can only be set for atom styles that allow bonds to be defined.

    -

    Bond styles are part of the "molecular" package or other packages as -noted in their documentation. They are only enabled if LAMMPS was -built with that package. See the Making -LAMMPS section for more info. +

    Most bond styles are part of the "molecular" package. They are only +enabled if LAMMPS was built with that package. See the Making +LAMMPS section for more info on packages. The +doc pages for individual bond potentials tell if it is part of a +package.

    Related commands:

    diff --git a/doc/bond_style.txt b/doc/bond_style.txt index 962650dccf..cf2b7ec520 100644 --- a/doc/bond_style.txt +++ b/doc/bond_style.txt @@ -33,9 +33,9 @@ remain in force for the duration of the simulation (unless the bond breaks which is possible in some bond potentials). The list of bonded atoms is read in by a "read_data"_read_data.html or "read_restart"_read_restart.html command from a data or restart file. -By contrast, pair potentials are defined between pairs of atoms that -are within a cutoff distance and the set of active interactions -typically changes over time. +By contrast, pair potentials are typically defined between all pairs +of atoms within a cutoff distance and the set of active interactions +changes over time. Hybrid models where bonds are computed using different bond potentials can be setup using the {hybrid} bond style. @@ -43,14 +43,22 @@ can be setup using the {hybrid} bond style. The coefficients associated with a bond style can be specified in a data or restart file or via the "bond_coeff"_bond_coeff.html command. -In the formulas listed for each bond style, {r} is the distance -between the 2 atoms in the bond. +All bond potentials store their coefficient data in binary restart +files which means bond_style and "bond_coeff"_bond_coeff.html commands +do not need to be re-specified in an input script that restarts a +simulation. See the "read_restart"_read_restart.html command for +details on how to do this. The one exception is that bond_style +{hybrid} only stores the list of sub-styles in the restart file; bond +coefficients need to be re-specified. -Note that when both a bond and pair style is defined, the +IMPORTANT NOTE: When both a bond and pair style is defined, the "special_bonds"_special_bonds.html command often needs to be used to turn off (or weight) the pairwise interaction that would otherwise exist between 2 bonded atoms. +In the formulas listed for each bond style, {r} is the distance +between the 2 atoms in the bond. + :line Here is an alphabetic list of bond styles defined in LAMMPS. Click on @@ -75,10 +83,11 @@ specified by the associated "bond_coeff"_bond_coeff.html command: Bond styles can only be set for atom styles that allow bonds to be defined. -Bond styles are part of the "molecular" package or other packages as -noted in their documentation. They are only enabled if LAMMPS was -built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +Most bond styles are part of the "molecular" package. They are only +enabled if LAMMPS was built with that package. See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. The +doc pages for individual bond potentials tell if it is part of a +package. [Related commands:] diff --git a/doc/dihedral_charmm.html b/doc/dihedral_charmm.html index 5e3ad0f845..809afe4723 100644 --- a/doc/dihedral_charmm.html +++ b/doc/dihedral_charmm.html @@ -65,7 +65,11 @@ weighting factors (4th coeff above) should be set to 0.0. In this case, you can use any pair style you wish, since the dihedral does not need any 1-4 information.

    -

    Restrictions: none +

    Restrictions: +

    +

    This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_charmm.txt b/doc/dihedral_charmm.txt index 62e6c24e4f..c9aefa7266 100644 --- a/doc/dihedral_charmm.txt +++ b/doc/dihedral_charmm.txt @@ -62,7 +62,11 @@ weighting factors (4th coeff above) should be set to 0.0. In this case, you can use any pair style you wish, since the dihedral does not need any 1-4 information. -[Restrictions:] none +[Restrictions:] + +This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/dihedral_class2.html b/doc/dihedral_class2.html index 64825020ce..f5a7bace10 100644 --- a/doc/dihedral_class2.html +++ b/doc/dihedral_class2.html @@ -35,8 +35,8 @@ bond lengths.

    See (Sun) for a description of the COMPASS class2 force field.

    -

    For this style, only coefficients for the Ed formula can be specified -in the input script. These are the 6 coefficients: +

    For this style, coefficients for the Ed formula can be specified in +either the input script or data file. These are the 6 coefficients:

    -

    Coefficients for all the other formulas must be specified in the data -file. +

    Coefficients for all the other formulas can only be specified in the +data file.

    For the Embt formula, the coefficients are listed under a "MiddleBondTorsion Coeffs" heading and each line lists 4 coefficients: @@ -103,9 +103,9 @@ Coeffs" heading and each line lists 3 coefficients:

    Restrictions:

    -

    This dihedral style is part of the "class2" package. It is only -enabled if LAMMPS was built with that package. See the Making -LAMMPS section for more info. +

    This dihedral style can only be used if LAMMPS was built with the +"class2" package. See the Making LAMMPS +section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_class2.txt b/doc/dihedral_class2.txt index a638f976ec..002896a3bd 100644 --- a/doc/dihedral_class2.txt +++ b/doc/dihedral_class2.txt @@ -32,8 +32,8 @@ bond lengths. See "(Sun)"_#Sun for a description of the COMPASS class2 force field. -For this style, only coefficients for the Ed formula can be specified -in the input script. These are the 6 coefficients: +For this style, coefficients for the Ed formula can be specified in +either the input script or data file. These are the 6 coefficients: K1 (energy) phi1 (degrees) @@ -42,8 +42,8 @@ phi2 (degrees) K3 (energy) phi3 (degrees) :ul -Coefficients for all the other formulas must be specified in the data -file. +Coefficients for all the other formulas can only be specified in the +data file. For the Embt formula, the coefficients are listed under a "MiddleBondTorsion Coeffs" heading and each line lists 4 coefficients: @@ -100,9 +100,9 @@ r3 (distance) :ul [Restrictions:] -This dihedral style is part of the "class2" package. It is only -enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +This dihedral style can only be used if LAMMPS was built with the +"class2" package. See the "Making LAMMPS"_Section_start.html#2_3 +section for more info on packages. [Related commands:] diff --git a/doc/dihedral_harmonic.html b/doc/dihedral_harmonic.html index a1e80cdcb5..b7313e9709 100644 --- a/doc/dihedral_harmonic.html +++ b/doc/dihedral_harmonic.html @@ -35,7 +35,11 @@ or read_restart commands:
  • d (+1 or -1)
  • n (integer >= 0) -

    Restrictions: none +

    Restrictions: +

    +

    This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_harmonic.txt b/doc/dihedral_harmonic.txt index ecae8a1113..6e9c5dee06 100644 --- a/doc/dihedral_harmonic.txt +++ b/doc/dihedral_harmonic.txt @@ -32,7 +32,11 @@ K (energy) d (+1 or -1) n (integer >= 0) :ul -[Restrictions:] none +[Restrictions:] + +This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/dihedral_helix.html b/doc/dihedral_helix.html index ace3fd3c2f..0a0e9c7668 100644 --- a/doc/dihedral_helix.html +++ b/doc/dihedral_helix.html @@ -43,7 +43,11 @@ or read_restart commands:
  • B (energy)
  • C (energy) -

    Restrictions: none +

    Restrictions: +

    +

    This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_helix.txt b/doc/dihedral_helix.txt index 7827c65c00..f68d66e6f8 100644 --- a/doc/dihedral_helix.txt +++ b/doc/dihedral_helix.txt @@ -40,7 +40,11 @@ A (energy) B (energy) C (energy) :ul -[Restrictions:] none +[Restrictions:] + +This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/dihedral_hybrid.html b/doc/dihedral_hybrid.html index 7c8325aea9..1401fb4f7e 100644 --- a/doc/dihedral_hybrid.html +++ b/doc/dihedral_hybrid.html @@ -54,7 +54,11 @@ dihedral type will then be ignored. dihedral_style hybrid and the corresponding dihedral_coeff commands, if you desire to turn off certain dihedral types.

    -

    Restrictions: none +

    Restrictions: +

    +

    This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_hybrid.txt b/doc/dihedral_hybrid.txt index 87e316a12d..d7eda64a3e 100644 --- a/doc/dihedral_hybrid.txt +++ b/doc/dihedral_hybrid.txt @@ -51,7 +51,11 @@ 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. -[Restrictions:] none +[Restrictions:] + +This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/dihedral_multi_harmonic.html b/doc/dihedral_multi_harmonic.html index bbeb4c7ff0..03dcd350b8 100644 --- a/doc/dihedral_multi_harmonic.html +++ b/doc/dihedral_multi_harmonic.html @@ -37,7 +37,11 @@ or read_restart commands:
  • A4 (energy)
  • A5 (energy) -

    Restrictions: none +

    Restrictions: +

    +

    This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_multi_harmonic.txt b/doc/dihedral_multi_harmonic.txt index 53fffc0bfd..4c71dbc3ca 100644 --- a/doc/dihedral_multi_harmonic.txt +++ b/doc/dihedral_multi_harmonic.txt @@ -34,7 +34,11 @@ A3 (energy) A4 (energy) A5 (energy) :ul -[Restrictions:] none +[Restrictions:] + +This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/dihedral_opls.html b/doc/dihedral_opls.html index bf7ec1fbc9..6861fb6000 100644 --- a/doc/dihedral_opls.html +++ b/doc/dihedral_opls.html @@ -41,7 +41,11 @@ or read_restart commands:
  • K3 (energy)
  • K4 (energy) -

    Restrictions: none +

    Restrictions: +

    +

    This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the Making +LAMMPS section for more info on packages.

    Related commands:

    diff --git a/doc/dihedral_opls.txt b/doc/dihedral_opls.txt index 639e3a3f30..67c08e6543 100644 --- a/doc/dihedral_opls.txt +++ b/doc/dihedral_opls.txt @@ -38,7 +38,11 @@ K2 (energy) K3 (energy) K4 (energy) :ul -[Restrictions:] none +[Restrictions:] + +This dihedral style can only be used if LAMMPS was built with the +"molecular" package (which it is by default). See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. [Related commands:] diff --git a/doc/dihedral_style.html b/doc/dihedral_style.html index 573fed9394..f22c6acc55 100644 --- a/doc/dihedral_style.html +++ b/doc/dihedral_style.html @@ -34,17 +34,27 @@ from a data or restart file.

    Hybrid models where dihedrals are computed using different dihedral potentials can be setup using the hybrid dihedral style.

    -

    The coefficients associated with a dihedral style can be specified in a -data or restart file or via the dihedral_coeff command. +

    The coefficients associated with a dihedral style can be specified in +a data or restart file or via the dihedral_coeff +command. +

    +

    All dihedral potentials store their coefficient data in binary restart +files which means dihedral_style and +dihedral_coeff commands do not need to be +re-specified in an input script that restarts a simulation. See the +read_restart command for details on how to do +this. The one exception is that dihedral_style hybrid only stores +the list of sub-styles in the restart file; dihedral coefficients need +to be re-specified. +

    +

    IMPORTANT NOTE: When both a dihedral and pair style is defined, the +special_bonds command often needs to be used to +turn off (or weight) the pairwise interaction that would otherwise +exist between 4 bonded atoms.

    In the formulas listed for each dihedral style, phi is the torsional angle defined by the quadruplet of atoms.

    -

    Note that when both a dihedral and pair style is defined, the -special_bond command often needs to be used to -turn off (or weight) the pairwise interactions that would otherwise -exist between the 4 bonded atoms. -

    Here are some important points to take note of when defining the LAMMPS dihedral coefficients in the formulas that follow so that they are compatible with other force fields: @@ -83,10 +93,11 @@ specified by the associated dihedral_coeff c

    Dihedral styles can only be set for atom styles that allow dihedrals to be defined.

    -

    Dihedral styles are part of the "molecular" package or other packages -as noted in their documentation. They are only enabled if LAMMPS was -built with that package. See the Making -LAMMPS section for more info. +

    Most dihedral styles are part of the "molecular" package. They are +only enabled if LAMMPS was built with that package. See the Making +LAMMPS section for more info on packages. The +doc pages for individual dihedral potentials tell if it is part of a +package.

    Related commands:

    diff --git a/doc/dihedral_style.txt b/doc/dihedral_style.txt index ea01bc7205..e540c5540e 100644 --- a/doc/dihedral_style.txt +++ b/doc/dihedral_style.txt @@ -32,17 +32,27 @@ from a data or restart file. Hybrid models where dihedrals are computed using different dihedral potentials can be setup using the {hybrid} dihedral style. -The coefficients associated with a dihedral style can be specified in a -data or restart file or via the "dihedral_coeff"_dihedral_coeff.html command. +The coefficients associated with a dihedral style can be specified in +a data or restart file or via the "dihedral_coeff"_dihedral_coeff.html +command. + +All dihedral potentials store their coefficient data in binary restart +files which means dihedral_style and +"dihedral_coeff"_dihedral_coeff.html commands do not need to be +re-specified in an input script that restarts a simulation. See the +"read_restart"_read_restart.html command for details on how to do +this. The one exception is that dihedral_style {hybrid} only stores +the list of sub-styles in the restart file; dihedral coefficients need +to be re-specified. + +IMPORTANT NOTE: When both a dihedral and pair style is defined, the +"special_bonds"_special_bonds.html command often needs to be used to +turn off (or weight) the pairwise interaction that would otherwise +exist between 4 bonded atoms. In the formulas listed for each dihedral style, {phi} is the torsional angle defined by the quadruplet of atoms. -Note that when both a dihedral and pair style is defined, the -"special_bond"_special_bond.html command often needs to be used to -turn off (or weight) the pairwise interactions that would otherwise -exist between the 4 bonded atoms. - Here are some important points to take note of when defining the LAMMPS dihedral coefficients in the formulas that follow so that they are compatible with other force fields: @@ -81,10 +91,11 @@ specified by the associated "dihedral_coeff"_dihedral_coeff.html command: Dihedral styles can only be set for atom styles that allow dihedrals to be defined. -Dihedral styles are part of the "molecular" package or other packages -as noted in their documentation. They are only enabled if LAMMPS was -built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +Most dihedral styles are part of the "molecular" package. They are +only enabled if LAMMPS was built with that package. See the "Making +LAMMPS"_Section_start.html#2_3 section for more info on packages. The +doc pages for individual dihedral potentials tell if it is part of a +package. [Related commands:] diff --git a/doc/dump.html b/doc/dump.html index dd1f336ca3..2a24b7b333 100644 --- a/doc/dump.html +++ b/doc/dump.html @@ -300,11 +300,11 @@ option - see the Making LAMMPS section of documentation.

    The bond style is part of the "molecular" package. It is only -enabled if LAMMPS was built with that package. See the Making +enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

    The xtc style is part of the "xtc" package. It is only enabled if -LAMMPS was built with that package. See the Making +LAMMPS was built with that package. See the Making LAMMPS section for more info. This is because some machines may not support the lo-level XDR data format that XTC files are written with, which will result in a compile-time error when diff --git a/doc/dump.txt b/doc/dump.txt index e7953c5f09..965d7453f5 100644 --- a/doc/dump.txt +++ b/doc/dump.txt @@ -291,11 +291,11 @@ documentation. The {bond} style is part of the "molecular" package. It is only enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. +LAMMPS"_Section_start.html#2_3 section for more info. The {xtc} style is part of the "xtc" package. It is only enabled if LAMMPS was built with that package. See the "Making -LAMMPS"_Section_start.html#2_2 section for more info. This is because +LAMMPS"_Section_start.html#2_3 section for more info. This is because some machines may not support the lo-level XDR data format that XTC files are written with, which will result in a compile-time error when a lo-level include file is not found. Putting this style in a package diff --git a/doc/fix.html b/doc/fix.html index 86e63a692d..4e4bb699c0 100644 --- a/doc/fix.html +++ b/doc/fix.html @@ -38,8 +38,7 @@ defined in LAMMPS and new ones can be added - see fix -setforce page for information on style setforce. +arguments and what it does, as listed below.

    Fixes perform their operations at different stages of the timestep. If 2 or more fixes both operate at the same stage of the timestep, @@ -48,10 +47,10 @@ they are invoked in the order they were specified in the input script.

    Fixes can be deleted with the unfix command. Note that this is the only way to turn off a fix; simply specifying a new fix with a similar style will not turn off the first one. For example, -using a "fix nve" command for a second run after using a "fix nvt" -command for the first run, will not cancel out the NVT time -integration invoked by the "fix nvt" command. Thus two time -integrators would be in place! +using a fix nve command for a second run after using a +fix nvt command for the first run, will not cancel out +the NVT time integration invoked by the "fix nvt" command. Thus two +time integrators would be in place!

    If you specify a new fix with the same ID and style as an existing fix, the old fix is deleted and the new one is created (presumably @@ -61,7 +60,18 @@ same order relative to the existing fixes as the old one originally was. Note that this operation also wipes out any additional changes made to the old fix via the fix_modify command.

    -

    Here is an alphabetic list of fix styles defined in LAMMPS: +

    The fix modify command allows settings for some +fixes to be reset. See the doc page for individual fixes for details. +

    +

    Some fixes store an internal "state" which is written to binary +restart files via the restart or +write_restart commands. This allows the fix to +continue on with its calculations in a restarted simulation. See the +read_restart command for info on how to re-specify +a fix in an input script that reads a restart file. See the doc pages +for individual fixes for info on which ones can be restarted. +

    +

    Here is an alphabetic list of fix styles available in LAMMPS: