forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12013 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
736ec5ce5e
commit
afabef3465
|
@ -25,6 +25,10 @@
|
|||
</H3>
|
||||
<H3>pair_style lj/cut/tip4p/long/soft/omp command
|
||||
</H3>
|
||||
<H3>pair_style lj/charmm/coul/long/soft command
|
||||
</H3>
|
||||
<H3>pair_style lj/charmm/coul/long/soft/omp command
|
||||
</H3>
|
||||
<H3>pair_style coul/cut/soft command
|
||||
</H3>
|
||||
<H3>pair_style coul/cut/soft/omp command
|
||||
|
@ -41,7 +45,7 @@
|
|||
</P>
|
||||
<PRE>pair_style style args
|
||||
</PRE>
|
||||
<UL><LI>style = <I>lj/cut/soft</I> or <I>lj/cut/coul/cut/soft</I> or <I>lj/cut/coul/long/soft</I> or <I>lj/cut/tip4p/long/soft</I> or <I>coul/cut/soft</I> or <I>coul/long/soft</I> or <I>tip4p/long/soft</I>
|
||||
<UL><LI>style = <I>lj/cut/soft</I> or <I>lj/cut/coul/cut/soft</I> or <I>lj/cut/coul/long/soft</I> or <I>lj/cut/tip4p/long/soft</I> or <I>lj/charmm/coul/long/soft</I> or <I>coul/cut/soft</I> or <I>coul/long/soft</I> or <I>tip4p/long/soft</I>
|
||||
<LI>args = list of arguments for a particular style
|
||||
</UL>
|
||||
<PRE> <I>lj/cut/soft</I> args = n alpha_lj cutoff
|
||||
|
@ -52,27 +56,31 @@
|
|||
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
|
||||
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
||||
<I>lj/cut/coul/long/soft</I> args = n alpha_LJ alpha_C cutoff
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
|
||||
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
||||
<I>lj/cut/tip4p/long/soft</I> args = otype htype btype atype qdist n alpha_LJ alpha_C cutoff (cutoff2)
|
||||
otype,htype = atom types for TIP4P O and H
|
||||
btype,atype = bond and angle types for TIP4P waters
|
||||
qdist = distance from O atom to massless charge (distance units)
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
|
||||
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
||||
<I>lj/charmm/coul/long/soft</I> args = n alpha_LJ alpha_C inner outer (cutoff)
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
inner, outer = global switching cutoffs for LJ (and Coulombic if only 5 args)
|
||||
cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 5 args)
|
||||
<I>coul/cut/soft</I> args = n alpha_C cutoff
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for Coulomb interactions (distance units)
|
||||
<I>coul/long/soft</I> args = n alpha_C cutoff
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for Coulomb interactions (distance units)
|
||||
<I>tip4p/long/soft</I> args = otype htype btype atype qdist n alpha_C cutoff
|
||||
otype,htype = atom types for TIP4P O and H
|
||||
btype,atype = bond and angle types for TIP4P waters
|
||||
qdist = distance from O atom to massless charge (distance units)
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for Coulomb interactions (distance units)
|
||||
|
||||
</PRE>
|
||||
|
@ -99,6 +107,11 @@ pair_style lj/cut/tip4p/long/soft 1 2 7 8 0.15 2.0 0.5 10.0 9.8 9.5
|
|||
pair_coeff * * 0.155 3.1536 1.0
|
||||
pair_coeff 1 1 0.155 3.1536 1.0 9.5
|
||||
</PRE>
|
||||
<PRE>pair_style lj/charmm/coul/long 2.0 0.5 10.0 8.0 10.0
|
||||
pair_style lj/charmm/coul/long 2.0 0.5 10.0 8.0 10.0 9.0
|
||||
pair_coeff * * 0.28 3.1 1.0
|
||||
pair_coeff 1 1 0.28 3.1 1.0 0.14 3.1
|
||||
</PRE>
|
||||
<PRE>pair_style coul/long/soft 1.0 10.0 9.5
|
||||
pair_coeff * * 1.0
|
||||
pair_coeff 1 1 1.0 9.5
|
||||
|
@ -150,6 +163,17 @@ the <A HREF = "pair_coeff.html">pair_coeff</A> command. The paratemers n, alpha_
|
|||
and alpha_C are set in the <A HREF = "pair_style.html">pair_style</A> command,
|
||||
before the cutoffs.
|
||||
</P>
|
||||
<P>Style <I>lj/charmm/coul/long/soft</I> implements a soft-core version of the
|
||||
CHARMM version of LJ interactions with an additional switching
|
||||
function S(r) that ramps the energy and force smoothly to zero between
|
||||
an inner and outer cutoff. The usage of this pair style is documented
|
||||
in the <A HREF = "pair_charmm.html">pair_charmm</A> styles. The soft-core version
|
||||
introduces the lambda parameter to the list of arguments, after
|
||||
epsilon and sigma in the <A HREF = "pair_coeff.html">pair_coeff</A> command (and
|
||||
before the optional eps14 and sigma14). The paratemers n,
|
||||
alpha_LJ and alpha_C are set in the <A HREF = "pair_style.html">pair_style</A>
|
||||
command, before the cutoffs.
|
||||
</P>
|
||||
<P>The <I>coul/cut/soft</I>, <I>coul/long/soft</I> and <I>tip4p/long/soft</I> substyles
|
||||
are designed to be combined with other pair potentials via the
|
||||
<A HREF = "pair_hybrid.html">pair_style hybrid/overlay</A> command. This is because
|
||||
|
|
|
@ -14,6 +14,8 @@ pair_style lj/cut/coul/long/soft command :h3
|
|||
pair_style lj/cut/coul/long/soft/omp command :h3
|
||||
pair_style lj/cut/tip4p/long/soft command :h3
|
||||
pair_style lj/cut/tip4p/long/soft/omp command :h3
|
||||
pair_style lj/charmm/coul/long/soft command :h3
|
||||
pair_style lj/charmm/coul/long/soft/omp command :h3
|
||||
pair_style coul/cut/soft command :h3
|
||||
pair_style coul/cut/soft/omp command :h3
|
||||
pair_style coul/long/soft command :h3
|
||||
|
@ -25,7 +27,7 @@ pair_style tip4p/long/soft/omp command :h3
|
|||
|
||||
pair_style style args :pre
|
||||
|
||||
style = {lj/cut/soft} or {lj/cut/coul/cut/soft} or {lj/cut/coul/long/soft} or {lj/cut/tip4p/long/soft} or {coul/cut/soft} or {coul/long/soft} or {tip4p/long/soft}
|
||||
style = {lj/cut/soft} or {lj/cut/coul/cut/soft} or {lj/cut/coul/long/soft} or {lj/cut/tip4p/long/soft} or {lj/charmm/coul/long/soft} or {coul/cut/soft} or {coul/long/soft} or {tip4p/long/soft}
|
||||
args = list of arguments for a particular style :ul
|
||||
{lj/cut/soft} args = n alpha_lj cutoff
|
||||
n, alpha_LJ = parameters of soft-core potential
|
||||
|
@ -35,27 +37,31 @@ args = list of arguments for a particular style :ul
|
|||
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
|
||||
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
||||
{lj/cut/coul/long/soft} args = n alpha_LJ alpha_C cutoff
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
|
||||
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
||||
{lj/cut/tip4p/long/soft} args = otype htype btype atype qdist n alpha_LJ alpha_C cutoff (cutoff2)
|
||||
otype,htype = atom types for TIP4P O and H
|
||||
btype,atype = bond and angle types for TIP4P waters
|
||||
qdist = distance from O atom to massless charge (distance units)
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for LJ (and Coulombic if only 1 arg) (distance units)
|
||||
cutoff2 = global cutoff for Coulombic (optional) (distance units)
|
||||
{lj/charmm/coul/long/soft} args = n alpha_LJ alpha_C inner outer (cutoff)
|
||||
n, alpha_LJ, alpha_C = parameters of the soft-core potential
|
||||
inner, outer = global switching cutoffs for LJ (and Coulombic if only 5 args)
|
||||
cutoff = global cutoff for Coulombic (optional, outer is Coulombic cutoff if only 5 args)
|
||||
{coul/cut/soft} args = n alpha_C cutoff
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for Coulomb interactions (distance units)
|
||||
{coul/long/soft} args = n alpha_C cutoff
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for Coulomb interactions (distance units)
|
||||
{tip4p/long/soft} args = otype htype btype atype qdist n alpha_C cutoff
|
||||
otype,htype = atom types for TIP4P O and H
|
||||
btype,atype = bond and angle types for TIP4P waters
|
||||
qdist = distance from O atom to massless charge (distance units)
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
n, alpha_C = parameters of the soft-core potential
|
||||
cutoff = global cutoff for Coulomb interactions (distance units)
|
||||
:pre
|
||||
|
||||
|
@ -81,7 +87,12 @@ pair_style lj/cut/tip4p/long/soft 1 2 7 8 0.15 2.0 0.5 10.0 9.8
|
|||
pair_style lj/cut/tip4p/long/soft 1 2 7 8 0.15 2.0 0.5 10.0 9.8 9.5
|
||||
pair_coeff * * 0.155 3.1536 1.0
|
||||
pair_coeff 1 1 0.155 3.1536 1.0 9.5 :pre
|
||||
|
||||
|
||||
pair_style lj/charmm/coul/long 2.0 0.5 10.0 8.0 10.0
|
||||
pair_style lj/charmm/coul/long 2.0 0.5 10.0 8.0 10.0 9.0
|
||||
pair_coeff * * 0.28 3.1 1.0
|
||||
pair_coeff 1 1 0.28 3.1 1.0 0.14 3.1 :pre
|
||||
|
||||
pair_style coul/long/soft 1.0 10.0 9.5
|
||||
pair_coeff * * 1.0
|
||||
pair_coeff 1 1 1.0 9.5 :pre
|
||||
|
@ -133,6 +144,17 @@ the "pair_coeff"_pair_coeff.html command. The paratemers n, alpha_LJ
|
|||
and alpha_C are set in the "pair_style"_pair_style.html command,
|
||||
before the cutoffs.
|
||||
|
||||
Style {lj/charmm/coul/long/soft} implements a soft-core version of the
|
||||
CHARMM version of LJ interactions with an additional switching
|
||||
function S(r) that ramps the energy and force smoothly to zero between
|
||||
an inner and outer cutoff. The usage of this pair style is documented
|
||||
in the "pair_charmm"_pair_charmm.html styles. The soft-core version
|
||||
introduces the lambda parameter to the list of arguments, after
|
||||
epsilon and sigma in the "pair_coeff"_pair_coeff.html command (and
|
||||
before the optional eps14 and sigma14). The paratemers n,
|
||||
alpha_LJ and alpha_C are set in the "pair_style"_pair_style.html
|
||||
command, before the cutoffs.
|
||||
|
||||
The {coul/cut/soft}, {coul/long/soft} and {tip4p/long/soft} substyles
|
||||
are designed to be combined with other pair potentials via the
|
||||
"pair_style hybrid/overlay"_pair_hybrid.html command. This is because
|
||||
|
|
|
@ -137,6 +137,17 @@ another machine. In this case, you can use the <A HREF = "Section_start.html#st
|
|||
switch</A> to convert a restart file to a data
|
||||
file.
|
||||
</P>
|
||||
<P>IMPORTANT NOTE: Although the purpose of restart files is to enable
|
||||
restarting a simulation from where it left off, not all information
|
||||
about a simulation is stored in the file. For example, the list of
|
||||
fixes that were specified during the initial run is not stored, which
|
||||
means the new input script must specify any fixes you want to use.
|
||||
Even when restart information is stored in the file, as it is for some
|
||||
fixes, commands may need to be re-specified in the new input script,
|
||||
in order to re-use that information. See the
|
||||
<A HREF = "read_restart.html">read_restart</A> command for information about what is
|
||||
stored in a restart file.
|
||||
</P>
|
||||
<HR>
|
||||
|
||||
<P>The optional <I>nfile</I> or <I>fileper</I> keywords can be used in conjunction
|
||||
|
|
|
@ -127,6 +127,17 @@ another machine. In this case, you can use the "-r command-line
|
|||
switch"_Section_start.html#start_7 to convert a restart file to a data
|
||||
file.
|
||||
|
||||
IMPORTANT NOTE: Although the purpose of restart files is to enable
|
||||
restarting a simulation from where it left off, not all information
|
||||
about a simulation is stored in the file. For example, the list of
|
||||
fixes that were specified during the initial run is not stored, which
|
||||
means the new input script must specify any fixes you want to use.
|
||||
Even when restart information is stored in the file, as it is for some
|
||||
fixes, commands may need to be re-specified in the new input script,
|
||||
in order to re-use that information. See the
|
||||
"read_restart"_read_restart.html command for information about what is
|
||||
stored in a restart file.
|
||||
|
||||
:line
|
||||
|
||||
The optional {nfile} or {fileper} keywords can be used in conjunction
|
||||
|
|
|
@ -143,17 +143,17 @@ invoked. If only a single command is specified as NULL, then no
|
|||
command is invoked. Thus these lines:
|
||||
</P>
|
||||
<PRE>variable q equal x[100]
|
||||
run 6000 every 2000 "print Coord = $q"
|
||||
run 6000 every 2000 "print 'Coord = $q'"
|
||||
</PRE>
|
||||
<P>are the equivalent of:
|
||||
</P>
|
||||
<PRE>variable q equal x[100]
|
||||
run 2000
|
||||
print Coord = $q
|
||||
print "Coord = $q"
|
||||
run 2000
|
||||
print Coord = $q
|
||||
print "Coord = $q"
|
||||
run 2000
|
||||
print Coord = $q
|
||||
print "Coord = $q"
|
||||
</PRE>
|
||||
<P>which does 3 runs of 2000 steps and prints the x-coordinate of a
|
||||
particular atom between runs. Note that the variable "$q" will
|
||||
|
|
|
@ -136,17 +136,17 @@ invoked. If only a single command is specified as NULL, then no
|
|||
command is invoked. Thus these lines:
|
||||
|
||||
variable q equal x\[100\]
|
||||
run 6000 every 2000 "print Coord = $q" :pre
|
||||
run 6000 every 2000 "print 'Coord = $q'" :pre
|
||||
|
||||
are the equivalent of:
|
||||
|
||||
variable q equal x\[100\]
|
||||
run 2000
|
||||
print Coord = $q
|
||||
print "Coord = $q"
|
||||
run 2000
|
||||
print Coord = $q
|
||||
print "Coord = $q"
|
||||
run 2000
|
||||
print Coord = $q :pre
|
||||
print "Coord = $q" :pre
|
||||
|
||||
which does 3 runs of 2000 steps and prints the x-coordinate of a
|
||||
particular atom between runs. Note that the variable "$q" will
|
||||
|
|
Loading…
Reference in New Issue