Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix print patch to allow print on rerun #1740
With the changes on this PR,
Carlos Bueno (Rice U)
By submitting this pull request, I agree, that my contribution will be included in LAMMPS and redistributed under either the GNU General Public License version 2 (GPL v2) or the GNU Lesser General Public License version 2.1 (LGPL v2.1).
Before this change using a output frequency of 0 was not valid, while using a frequency output of 1 didn't print anything. In older versions of lammps, it was possible to use fix print during reruns. During a rerun the timestep doesn't change at the end of the step. After this change, if the timestep doesn't change, fix print will print the required variables.
Post Submission Checklist
Carlos - can you check if this version of fix print does as you expect with the rerun command.