add diskfree check to fix halt

This commit is contained in:
Axel Kohlmeyer
2020-03-09 16:23:20 -04:00
parent 072ce8947b
commit 69a206f720
3 changed files with 118 additions and 45 deletions

View File

@ -39,9 +39,11 @@ class FixHalt : public Fix {
bigint nextstep,thisstep;
double value,tratio;
char *idvar;
char *dlimit_path;
double bondmax();
double tlimit();
double diskfree();
};
}
@ -59,26 +61,26 @@ command-line option when running LAMMPS to see the offending line.
E: Could not find fix halt variable name
UNDOCUMENTED
Self-explanatory.
E: Fix halt variable is not equal-style variable
UNDOCUMENTED
Self-explanatory.
E: Invalid fix halt attribute
UNDOCUMENTED
Self-explanatory.
E: Invalid fix halt operator
UNDOCUMENTED
Self-explanatory.
E: Fix halt %s condition met on step %ld with value %g
E: Disk limit not supported by OS or illegal path
UNDOCUMENTED
Self-explanatory.
U: Cannot open fix print file %s
W: Fix halt condition for fix-id %s met on step %ld with value %g
The output file generated by the fix print command cannot be opened
Self explanatory.
*/