forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12832 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
fad2b8a073
commit
4ad3d52152
|
@ -721,7 +721,7 @@ operates.
|
|||
|
||||
<H4>Atom Values and Vectors
|
||||
</H4>
|
||||
<P>Atom values take an integer argument I from 1 to N, where I is the an
|
||||
<P>Atom values take an integer argument I from 1 to N, where I is the
|
||||
atom-ID, e.g. x[243], which means use the x coordinate of the atom
|
||||
with ID = 243. Or they can take a variable name, specified as v_name,
|
||||
where name is the name of the variable, like x[v_myIndex]. The
|
||||
|
@ -733,6 +733,10 @@ the argument between the brackets, e.g. x[243+10] or
|
|||
x[v_myIndex+1] are not allowed. To do this a single variable can be
|
||||
defined that contains the needed formula.
|
||||
</P>
|
||||
<P>Note that the 0 < atom-ID <= N, where N is the largest atom ID
|
||||
in the system. If an ID is specified for an atom that does not
|
||||
currently exist, then the generated value is 0.0.
|
||||
</P>
|
||||
<P>Atom vectors generate one value per atom, so that a reference like
|
||||
"vx" means the x-component of each atom's velocity will be used when
|
||||
evaluating the variable.
|
||||
|
|
|
@ -721,7 +721,7 @@ operates.
|
|||
|
||||
Atom Values and Vectors :h4
|
||||
|
||||
Atom values take an integer argument I from 1 to N, where I is the an
|
||||
Atom values take an integer argument I from 1 to N, where I is the
|
||||
atom-ID, e.g. x\[243\], which means use the x coordinate of the atom
|
||||
with ID = 243. Or they can take a variable name, specified as v_name,
|
||||
where name is the name of the variable, like x\[v_myIndex\]. The
|
||||
|
@ -733,6 +733,10 @@ the argument between the brackets, e.g. x\[243+10\] or
|
|||
x\[v_myIndex+1\] are not allowed. To do this a single variable can be
|
||||
defined that contains the needed formula.
|
||||
|
||||
Note that the 0 < atom-ID <= N, where N is the largest atom ID
|
||||
in the system. If an ID is specified for an atom that does not
|
||||
currently exist, then the generated value is 0.0.
|
||||
|
||||
Atom vectors generate one value per atom, so that a reference like
|
||||
"vx" means the x-component of each atom's velocity will be used when
|
||||
evaluating the variable.
|
||||
|
|
Loading…
Reference in New Issue