forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12414 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
ed06a4859e
commit
076914c7ab
|
@ -27,9 +27,11 @@
|
||||||
</PRE>
|
</PRE>
|
||||||
<LI>zero or more keyword/value pairs may be appended to args
|
<LI>zero or more keyword/value pairs may be appended to args
|
||||||
|
|
||||||
<LI>keyword = <I>region</I> or <I>energy</I>
|
<LI>keyword = <I>every</I> or <I>region</I> or <I>energy</I>
|
||||||
|
|
||||||
<PRE> <I>region</I> value = region-ID
|
<PRE> <I>every</I> value = Nevery
|
||||||
|
Nevery = add force every this many timesteps
|
||||||
|
<I>region</I> value = region-ID
|
||||||
region-ID = ID of region atoms must be in to have added force
|
region-ID = ID of region atoms must be in to have added force
|
||||||
<I>energy</I> value = v_name
|
<I>energy</I> value = v_name
|
||||||
v_name = variable with name that calculates the potential energy of each atom in the added force field
|
v_name = variable with name that calculates the potential energy of each atom in the added force field
|
||||||
|
@ -66,6 +68,10 @@ variables but can also include per-atom values, such as atom
|
||||||
coordinates. Thus it is easy to specify a spatially-dependent force
|
coordinates. Thus it is easy to specify a spatially-dependent force
|
||||||
field with optional time-dependence as well.
|
field with optional time-dependence as well.
|
||||||
</P>
|
</P>
|
||||||
|
<P>If the <I>every</I> keyword is used, the <I>Nevery</I> setting determines how
|
||||||
|
often the forces are applied. The default value is 1, for every
|
||||||
|
timestep.
|
||||||
|
</P>
|
||||||
<P>If the <I>region</I> keyword is used, the atom must also be in the
|
<P>If the <I>region</I> keyword is used, the atom must also be in the
|
||||||
specified geometric <A HREF = "region.html">region</A> in order to have force added
|
specified geometric <A HREF = "region.html">region</A> in order to have force added
|
||||||
to it.
|
to it.
|
||||||
|
@ -171,6 +177,8 @@ the system (the quantity being minimized), you MUST enable the
|
||||||
</P>
|
</P>
|
||||||
<P><A HREF = "fix_setforce.html">fix setforce</A>, <A HREF = "fix_aveforce.html">fix aveforce</A>
|
<P><A HREF = "fix_setforce.html">fix setforce</A>, <A HREF = "fix_aveforce.html">fix aveforce</A>
|
||||||
</P>
|
</P>
|
||||||
<P><B>Default:</B> none
|
<P><B>Default:</B>
|
||||||
|
</P>
|
||||||
|
<P>The option default for the every keyword is every = 1.
|
||||||
</P>
|
</P>
|
||||||
</HTML>
|
</HTML>
|
||||||
|
|
|
@ -18,7 +18,9 @@ addforce = style name of this fix command :l
|
||||||
fx,fy,fz = force component values (force units) :l
|
fx,fy,fz = force component values (force units) :l
|
||||||
any of fx,fy,fz can be a variable (see below) :pre
|
any of fx,fy,fz can be a variable (see below) :pre
|
||||||
zero or more keyword/value pairs may be appended to args :l
|
zero or more keyword/value pairs may be appended to args :l
|
||||||
keyword = {region} or {energy} :l
|
keyword = {every} or {region} or {energy} :l
|
||||||
|
{every} value = Nevery
|
||||||
|
Nevery = add force every this many timesteps
|
||||||
{region} value = region-ID
|
{region} value = region-ID
|
||||||
region-ID = ID of region atoms must be in to have added force
|
region-ID = ID of region atoms must be in to have added force
|
||||||
{energy} value = v_name
|
{energy} value = v_name
|
||||||
|
@ -55,6 +57,10 @@ variables but can also include per-atom values, such as atom
|
||||||
coordinates. Thus it is easy to specify a spatially-dependent force
|
coordinates. Thus it is easy to specify a spatially-dependent force
|
||||||
field with optional time-dependence as well.
|
field with optional time-dependence as well.
|
||||||
|
|
||||||
|
If the {every} keyword is used, the {Nevery} setting determines how
|
||||||
|
often the forces are applied. The default value is 1, for every
|
||||||
|
timestep.
|
||||||
|
|
||||||
If the {region} keyword is used, the atom must also be in the
|
If the {region} keyword is used, the atom must also be in the
|
||||||
specified geometric "region"_region.html in order to have force added
|
specified geometric "region"_region.html in order to have force added
|
||||||
to it.
|
to it.
|
||||||
|
@ -160,4 +166,6 @@ the system (the quantity being minimized), you MUST enable the
|
||||||
|
|
||||||
"fix setforce"_fix_setforce.html, "fix aveforce"_fix_aveforce.html
|
"fix setforce"_fix_setforce.html, "fix aveforce"_fix_aveforce.html
|
||||||
|
|
||||||
[Default:] none
|
[Default:]
|
||||||
|
|
||||||
|
The option default for the every keyword is every = 1.
|
||||||
|
|
Loading…
Reference in New Issue