pylammps: fix get atom.mass by atom.type

This commit is contained in:
yuhldr
2024-04-14 17:02:23 +08:00
committed by Axel Kohlmeyer
parent a40b97d417
commit 18d45d1ff0

View File

@ -196,7 +196,7 @@ class Atom(object):
:type: float :type: float
""" """
return self.get("mass", self.index) return self.get("mass", self.type)
@property @property
def radius(self): def radius(self):