> In order to realize the accurate rigid body rotation integrator I need
> the previous angular moment. So, can I add prevAngMom to the State class
> or would be better if I add it to a RigidBodyState class which derived
> from the State?

I would prefer to add this a new state. But it shouldn't be
"RigidBodyState" (current State is what would be called rigid-body
state, no?), but something expressing that it remembers last angular
momentum. For now, you could remember it in a vector<Vector3> inside the
integrator, though it is an ugly hack.

Others might have better ideas, though.



_______________________________________________
Mailing list: https://launchpad.net/~yade-users
Post to     : yade-users@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to