Skip to content
Snippets Groups Projects
Commit a9e9a204 authored by Stefan Paquay's avatar Stefan Paquay
Browse files

Fixes/clarifies the fix_property_atom docs.

parent d029cb90
No related branches found
No related tags found
No related merge requests found
...@@ -111,6 +111,10 @@ need to communicate their new values to/from ghost atoms, an operation ...@@ -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 that can be invoked from within a "pair style"_pair_style.html or
"fix"_fix.html or "compute"_compute.html that you write. "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 :line
This fix is one of a small number that can be defined in an input This fix is one of a small number that can be defined in an input
...@@ -155,7 +159,7 @@ these commands could be used: ...@@ -155,7 +159,7 @@ these commands could be used:
fix prop all property/atom mol fix prop all property/atom mol
variable cluster atom ((id-1)/10)+1 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 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 with IDs 31,32,33,...40 that are 4.0,4.1,4.2,...,4.9. When the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment