git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@14711 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -21,7 +21,8 @@ value = c_ID, c_ID\[N\], f_ID, f_ID\[N\], v_name :l
|
||||
c_ID\[I\] = Ith component of global vector calculated by a compute with ID
|
||||
f_ID = global scalar calculated by a fix with ID
|
||||
f_ID\[I\] = Ith component of global vector calculated by a fix with ID
|
||||
v_name = global value calculated by an equal-style variable with name :pre
|
||||
v_name = value calculated by an equal-style variable with name
|
||||
v_name\[I\] = Ith component of vector-style variable with name :pre
|
||||
:ule
|
||||
|
||||
[Examples:]
|
||||
@ -53,18 +54,18 @@ specified values may represent calculations performed by computes and
|
||||
fixes which store their own "group" definitions.
|
||||
|
||||
Each listed value can be the result of a "compute"_compute.html or
|
||||
"fix"_fix.html or the evaluation of an equal-style
|
||||
"fix"_fix.html or the evaluation of an equal-style or vector-style
|
||||
"variable"_variable.html. In each case, the compute, fix, or variable
|
||||
must produce a global quantity, not a per-atom or local quantity.
|
||||
And the global quantity must be a scalar, not a vector or array.
|
||||
must produce a global quantity, not a per-atom or local quantity. And
|
||||
the global quantity must be a scalar, not a vector or array.
|
||||
|
||||
"Computes"_compute.html that produce global quantities are those which
|
||||
do not have the word {atom} in their style name. Only a few
|
||||
"fixes"_fix.html produce global quantities. See the doc pages for
|
||||
individual fixes for info on which ones produce such values.
|
||||
"Variables"_variable.html of style {equal} are the only ones that can
|
||||
be used with this fix. Variables of style {atom} cannot be used,
|
||||
since they produce per-atom values.
|
||||
"Variables"_variable.html of style {equal} or {vector} are the only
|
||||
ones that can be used with this fix. Variables of style {atom} cannot
|
||||
be used, since they produce per-atom values.
|
||||
|
||||
The {Nevery} argument specifies on what timesteps the input values
|
||||
will be used in order to be stored. Only timesteps that are a
|
||||
@ -107,13 +108,15 @@ Users can also write code for their own fix styles and "add them to
|
||||
LAMMPS"_Section_modify.html.
|
||||
|
||||
If a value begins with "v_", a variable name must follow which has
|
||||
been previously defined in the input script. Only equal-style
|
||||
variables can be referenced. See the "variable"_variable.html command
|
||||
for details. Note that variables of style {equal} define a formula
|
||||
which can reference individual atom properties or thermodynamic
|
||||
keywords, or they can invoke other computes, fixes, or variables when
|
||||
they are evaluated, so this is a very general means of specifying
|
||||
quantities to be stored by fix vector.
|
||||
been previously defined in the input script. An equal-style or
|
||||
vector-style variable can be referenced; the latter requires a
|
||||
bracketed term to use the Ith element of the vector calculated by the
|
||||
variable. See the "variable"_variable.html command for details. Note
|
||||
that variables of style {equal} and {vector} define a formula which
|
||||
can reference individual atom properties or thermodynamic keywords, or
|
||||
they can invoke other computes, fixes, or variables when they are
|
||||
evaluated, so this is a very general means of specifying quantities to
|
||||
be stored by fix vector.
|
||||
|
||||
:line
|
||||
|
||||
|
||||
Reference in New Issue
Block a user