Question #702938 on Yade changed:
https://answers.launchpad.net/yade/+question/702938

    Status: Open => Answered

Jan Stránský proposed the following answer:
Hello,

please be more specific.

> I want to call the pose shapes of the particles and their 3D rotations
at each time step.

what does this, specifically "call pose shapes" exactly mean?

> But I didn't find code that handles 3D rotation of spherical
particles.

what does "handle 3D rotation" mean?

The orientation / 3D rotation of particle is in python its b.state.ori,
so the corresponding C++ code is inside core/State.hpp

It's main "usage" is probably in NewtonIntegrator, so ha a look there, 
pkg/dem/NewtonIntegrator.*
See also explanation in documentation [1]

b.state.ori is a quaternion [2].

Cheers
Jan

[1] https://yade-dem.org/doc/formulation.html#motion-integration , section 
Orientation
[2] https://en.wikipedia.org/wiki/Quaternion

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.

_______________________________________________
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