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
added default_gamma
and default_gamma_r
arguments to rattle methods
#1596
Conversation
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.
Nice work on this!
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.
LGTM!
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.
Thanks! One additional change is needed which I will apply and then merge.
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Description
default_gamma
anddefault_gamma_r
arguments do not exist in the following constructors:hoomd.md.methods.rattle.Brownian
hoomd.md.methods.rattle.Langevin
hoomd.md.methods.rattle.OverdampedViscous
This PR added these arguments to the corresponding classes and doc strings.
Motivation and context
Resolves #1589
How has this been tested?
Appended the test case before
test_default_gamma
function intest_methods.py
Change log
Checklist:
sphinx-doc/credits.rst
) in the pull request source branch.