diff --git a/doc/src/fix_nvk.txt b/doc/src/fix_nvk.txt index 33c2109126..f4c9fa4c3d 100644 --- a/doc/src/fix_nvk.txt +++ b/doc/src/fix_nvk.txt @@ -30,6 +30,11 @@ The equations of motion used are those of Minary et al in "(Minary)"_#nvk-Minary, a variant of those initially given by Zhang in "(Zhang)"_#nvk-Zhang. +The kinetic energy will be held constant at its value given when fix +nvk is initiated. If a different kinetic energy is desired, the +"velocity"_velocity.html command should be used to change the kinetic +energy prior to this fix. + :line [Restart, fix_modify, output, run start/stop, minimize info:] diff --git a/src/fix_nvk.cpp b/src/fix_nvk.cpp index ffcea358e7..862a555fed 100644 --- a/src/fix_nvk.cpp +++ b/src/fix_nvk.cpp @@ -34,7 +34,7 @@ FixNVK::FixNVK(LAMMPS *lmp, int narg, char **arg) : { if (narg < 3) error->all(FLERR,"Illegal fix nvk command"); - if (igroup) error->all(FLERR,"Fix nvk currently only supports group all"); + if (igroup) error->all(FLERR,"Fix nvk only supports group all"); dynamic_group_allow = 1; time_integrate = 1; diff --git a/src/fix_nvk.h b/src/fix_nvk.h index 6c473def08..1d73e2f5df 100644 --- a/src/fix_nvk.h +++ b/src/fix_nvk.h @@ -56,7 +56,7 @@ Self-explanatory. Check the input script syntax and compare to the documentation for the command. You can use -echo screen as a command-line option when running LAMMPS to see the offending line. -E: Fix nvk currently only supports group all +E: Fix nvk only supports group all Self-explanatory.