-
Notifications
You must be signed in to change notification settings - Fork 132
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
External magnetic field #1637
External magnetic field #1637
Conversation
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
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. I was able to build and test the branch and it seems to work as expected.
It looks like you need to add the new python class to the doc pages so that it shows in the sphinx documentation. There are also some flake8 errors to fix. Otherwise this should be good to go.
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
…ab/hoomd-blue into external_magnetic_field
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
I fixed the readthedocs webhook and docs are now building again. This is failing with:
|
…ab/hoomd-blue into external_magnetic_field
Also test documentation code snippets.
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!
I applied some changes directly to the branch that fixed code style, added tests for the documentation code snippets, and made the documentation format correctly.
Description
Adds a new constant magnetic field that acts on magnetic dipoles.
Motivation and context
Allows for a coupling between magnetic particles and an external magnetic field.
How has this been tested?
I added pytests and tested it on different systems both using CPU and GPU.
Change log
Checklist:
sphinx-doc/credits.rst
) in the pull request source branch.