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
Add a max and min option to fix_gcmc #1764
This adds the option to add a limiting maximum and minimum to the number of particles added by fix_gcmc. The primary purpose for this is to allow lammps perform successive Umbrella sampling using fix_gcmc, or other simulations where the number of particles should be restrained to a narrow range, but still allowed to fluctuate.
Jared Wood - University of Sydney
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).
No known backward compatibility issues
The changes were modeled on the don't delete below 0 existing code
Post Submission Checklist
Please check the fields below as they are completed after the pull request has been submitted. Delete lines that don't apply
Further Information, Files, and Links
Put any additional information here, attach relevant text or image files, and URLs to external sites (e.g. DOIs or webpages)
@jwood13 this pull request cannot be merged (anymore) since we have converted the documentation from .txt files to .rst files. The latter have been used for some time and were created on-the-fly from the former, but as of this week we are abandoning .txt files and work on the .rst files directly, as it allows more flexibility and better typesetting.