Skip to content

Commit

Permalink
fix reference valu units for mass
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisjonesBSU committed Aug 22, 2023
1 parent ba82d6a commit 45cb464
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions hoomd_polymers/base/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,9 +321,7 @@ def _apply_forcefield(self):

self._reference_values["energy"] = energy_scale * epsilons[0].unit_array
self._reference_values["length"] = length_scale * sigmas[0].unit_array
self._reference_values["mass"] = mass_scale * masses[0].unit_array.to(
"amu"
)
self._reference_values["mass"] = mass_scale * u.g/u.mol

def set_target_box(
self, x_constraint=None, y_constraint=None, z_constraint=None
Expand Down

0 comments on commit 45cb464

Please sign in to comment.