pele.angleaxis.RBTopology.transform_gradient#

RBTopology.transform_gradient(rbcoords, grad)[source]#

convert atomistic gradient into a gradient in rigid body coords

Note: there is a c++ implementation of which is much faster