Skip to content

Conversation

@mzbush
Copy link
Contributor

@mzbush mzbush commented Nov 11, 2025

Description

The method create_bodies allows for the masses of constituent particles to be set when generating them. Setting masses is optional and uses the same format as setting charge.

Motivation and context

Resolves #2168

How has this been tested?

Pytests have been updated to test and use this functionality.

Checklist:

  • I have reviewed the Contributor Guidelines.
  • I agree with the terms of the HOOMD-blue Contributor Agreement.
  • My name is on the list of contributors (sphinx-doc/credits.rst) in the pull request source branch.
  • I have summarized these changes in CHANGELOG.rst following the established format.

@mphoward mphoward added md MD component mpcd MPCD component labels Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

md MD component mpcd MPCD component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants