← Back to team overview

yade-dev team mailing list archive

NewtonIntegrator::exactAsphericalRot

 

Currently, the integrator uses leapfrogSphericalRotate for computing
rotation of particles, unless exactAsphericalRot is enabled; then more
expensive leapfrogAsphericalRotate is used (for all bodies, even
spheres).

I just had the idea that we could selectively call
leapfrogSphericalRotate for bodies that have
inertia[0]==inertia[1]==interia[2] and leapfrogAsphericalRotate for the
rest; the exactAsphericalRot could be removed then.

The impact should be negligible and all non-spherical bodies would be
moved "exactly" without changing any options.

Does that sound right?

v




Follow ups