-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
few minor changes #1
base: master
Are you sure you want to change the base?
Conversation
…ergy flag in fix_gcmc
…D integrator specification was changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check the comments in the code
if (strcmp(arg[iarg+1],"yes") == 0) tune_flag = 1; | ||
else if (strcmp(arg[iarg+1],"no") == 0) tune_flag = 0; | ||
else error->all(FLERR,"Illegal fix hmc command"); | ||
iarg += 2; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keyword values "yes" and "no" were added in order to be in accordance with what is usually done in lammps commands (see for example pair modify command. I think we could keep this untouched.
|
||
[Syntax:] | ||
|
||
fix ID group-ID hmc N integrator seed T keyword values ... :pre |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The order of arguments is as follows: fix ID group-ID hmc N seed T integrator keyword values
|
||
ID, group-ID are documented in "fix"_fix.html command :ulb,l | ||
hmc = style name of this fix command :l | ||
N = run MD N steps between MC acceptance protocol :l |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could add run NVE MD to emphasize that molecular dynamics steps correspond to the microcanonical ensemble
3 main changes:
I also made some changes to the "testing" files. One change is just to reflect my change made to the "adjust" keyword, but the other reverts the "integrator" variable back to "rigid" instead of 1. Why was this variable changed to 1 in the last commit?