print warning when fix property/atom is issues before reading a restart
This commit is contained in:
@ -304,13 +304,15 @@ uninterrupted fashion.
|
||||
.. warning::
|
||||
|
||||
When reading data from a restart file, this fix command has to be
|
||||
specified **exactly** the same was in the input script that created
|
||||
the restart file. LAMMPS will only check whether a fix is of the
|
||||
same style and has the same fix ID and in case of a match will then
|
||||
try to initialize the fix with the data stored in the binary
|
||||
restart file. If the names and associated date types in the new
|
||||
fix property/atom command do not match the old one exactly, data
|
||||
can be corrupted or LAMMPS may crash.
|
||||
specified **after** the *read_restart* command and **exactly** the
|
||||
same was in the input script that created the restart file. LAMMPS
|
||||
will only check whether a fix is of the same style and has the same
|
||||
fix ID and in case of a match will then try to initialize the fix
|
||||
with the data stored in the binary restart file. If the names and
|
||||
associated date types in the new fix property/atom command do not
|
||||
match the old one exactly, data can be corrupted or LAMMPS may crash.
|
||||
If the fix is specified **before** the *read_restart* command its
|
||||
data will not be restored.
|
||||
|
||||
None of the :doc:`fix_modify <fix_modify>` options are relevant to
|
||||
this fix. No global or per-atom quantities are stored by this fix for
|
||||
|
||||
Reference in New Issue
Block a user