openfoam/applications
Henry Weller b4ebcd770f quaternion: Added generalized construction from and conversion to Euler-angles
The particular rotation sequence is specified via the enumeration:

    //- Euler-angle rotation sequence
    enum rotationSequence
    {
        ZYX, ZYZ, ZXY, ZXZ, YXZ, YXY, YZX, YZY, XYZ, XYX, XZY, XZX
    };

and provided as an argument to the constructor from Euler-angles

    //- Construct a quaternion given the three Euler angles:
    inline quaternion
    (
        const rotationSequence rs,
        const vector& angles
    );

and conversion to Euler-angles:

    //- Return a vector of euler angles corresponding to the
    //  specified rotation sequence
    inline vector eulerAngles(const rotationSequence rs) const;
2016-03-14 08:07:42 +00:00
..
solvers JohnsonJacksonParticle*FvPatchScalarField.C: Corrected null-construction initialization 2016-03-08 14:13:05 +00:00
test quaternion: Added generalized construction from and conversion to Euler-angles 2016-03-14 08:07:42 +00:00
utilities Sprucing up the tutorials folder and adding -dict to "collapseEdges" 2016-03-06 19:06:44 +00:00
Allwmake scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00