From a9e9a2046b49175d6db79a0f2439f551ed77122b Mon Sep 17 00:00:00 2001 From: Stefan Paquay <stefanpaquay@gmail.com> Date: Mon, 25 Dec 2017 13:03:18 +0100 Subject: [PATCH] Fixes/clarifies the fix_property_atom docs. --- doc/src/fix_property_atom.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/src/fix_property_atom.txt b/doc/src/fix_property_atom.txt index aef534ad25..58a3c15cbf 100644 --- a/doc/src/fix_property_atom.txt +++ b/doc/src/fix_property_atom.txt @@ -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 -- GitLab