pylammps: fix get atom.mass by atom.type
This commit is contained in:
@ -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):
|
||||||
|
|||||||
Reference in New Issue
Block a user