Fixes/clarifies the fix_property_atom docs.

This commit is contained in:
Stefan Paquay 2017-12-25 13:03:18 +01:00
parent d029cb9002
commit a9e9a2046b
1 changed files with 5 additions and 1 deletions

View File

@ -111,6 +111,10 @@ need to communicate their new values to/from ghost atoms, an operation
that can be invoked from within a "pair style"_pair_style.html or
"fix"_fix.html or "compute"_compute.html that you write.
NOTE: If this fix is defined _after_ the simulation box is created,
a 'run 0' command should be issued to properly initialize the storage
created by this fix.
:line
This fix is one of a small number that can be defined in an input
@ -155,7 +159,7 @@ these commands could be used:
fix prop all property/atom mol
variable cluster atom ((id-1)/10)+1
set id * mol v_cluster :pre
set atom * mol v_cluster :pre
The "atom-style variable"_variable.html will create values for atoms
with IDs 31,32,33,...40 that are 4.0,4.1,4.2,...,4.9. When the