Hello Sergei, Good to hear somebody is going for it.
Perhaps I don't understand what you need, but I am a bit surprised to hear it needs prevAngMom. In the current scheme, at time t, what you find in body->velocity is in fact velocity at time t-dt/2.
Introducing prevAngMom means you want a dependancy between AngMom(t+dt/2) and AngMom(t-3*dt/2). It can happen for high (4th) order time discretisation, but it is really what you want now?
Bruno p.s. Angular moment is rotational speed, right? Sergei D. a écrit :
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? Best regards, Sergei D. _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp
-- _______________ Chareyre Bruno Maître de Conférences Grenoble INP Laboratoire 3SR - bureau E145 BP 53 - 38041, Grenoble cedex 9 - France Tél : 33 4 56 52 86 21 Fax : 33 4 76 82 70 43 ________________ _______________________________________________ Mailing list: https://launchpad.net/~yade-users Post to : [email protected] Unsubscribe : https://launchpad.net/~yade-users More help : https://help.launchpad.net/ListHelp

