pele.angleaxis.RigidFragment.distance_squared

RigidFragment.distance_squared(com1, p1, com2, p2)[source]

distance measure between 2 angle axis bodies of same type

Parameters :

com1:

center of mass of 1st site

p1:

angle axis vector of 1st site

com2:

center of mass of 2nd site

p2:

angle axis vector of 2nd site

sitetype: AASiteType, optional

angle axis site type with mass and moment of inertia tensor

returns:

distance squared

Previous topic

pele.angleaxis.RigidFragment.add_atom

Next topic

pele.angleaxis.RigidFragment.distance_squared_grad