pylammps: fix get atom.mass by atom.type
This commit is contained in:
@ -196,7 +196,7 @@ class Atom(object):
|
||||
|
||||
:type: float
|
||||
"""
|
||||
return self.get("mass", self.index)
|
||||
return self.get("mass", self.type)
|
||||
|
||||
@property
|
||||
def radius(self):
|
||||
|
||||
Reference in New Issue
Block a user