pele.angleaxis.RigidFragment.add_atom

RigidFragment.add_atom(atomtype, pos, mass=1.0)[source]

Add a new atom to the rigid fragment

Parameters :

atomtype: string

type identifier

pos: np.array

position of the atom sn402: I think this is in absolute Cartesian coords?

mass: mass of the atom

Previous topic

pele.angleaxis.RigidFragment

Next topic

pele.angleaxis.RigidFragment.distance_squared