Particle Orientation from H5 file
I am trying to use a simulation .h5 file to reconstruct a set of particles from one simulation in another simulation. The position, velocity, etc. are self explanatory and match the inputs in the createParticle method in the custom factory API. For orientation however, the .h5 file contains four numbers that define the orientation and EDEM and the custom factory API use a 3x3 matrix to define the orientation. How do I use the 4 provided values to get the required 9 values?