Closed mphoward closed 1 week ago
Particles in floppy bodies did not get their momenta thermalized, although they are independent degrees of freedom. This PR fixes that.
This is a fix to an undocumented feature, see discussion in #1885.
I updated the unit tests for thermalize_particle_momenta involving body particles to include floppy bodies.
thermalize_particle_momenta
* Thermalize momenta of particles with floppy body tags.
sphinx-doc/credits.rst
Description
Particles in floppy bodies did not get their momenta thermalized, although they are independent degrees of freedom. This PR fixes that.
Motivation and context
This is a fix to an undocumented feature, see discussion in #1885.
How has this been tested?
I updated the unit tests for
thermalize_particle_momenta
involving body particles to include floppy bodies.Change log
Checklist:
sphinx-doc/credits.rst
) in the pull request source branch.