-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
If there's a dump format that is the same for two or more fixes, and is only defined in the first one, this will cause problems, because for the moment the script looks for a fix and some commands associated with it until the next fix (or empty #OP, or end of the simulation).
The problem resides in the way the restart file is created. The search for the last operation will erase the previous.
Example:
#OP
fix heat [...]
dump D1 [...]
restart [...]
run 1000
unfix heat
#OP
fix cool [...]
restart [...]
run 2000
unfix cool
Here, If the simulation stops at 1500 steps (only part of the second fix performed), the first fix will be ereased and with it the dump info. This can be solved for the moment undump-ing each time and repeating the format in each fix, i.e:
#OP
fix heat [...]
dump D1 [...]
restart [...]
run 1000
unfix heat
undump D1
#OP
fix cool [...]
dump D1 [...]
restart [...]
run 2000
unfix cool