11 #include "libmesh/libmesh.h" 49 const Real c1 = std::cos(phi_1);
50 const Real c2 = std::cos(Phi);
51 const Real c3 = std::cos(phi_2);
53 const Real s1 = std::sin(phi_1);
54 const Real s2 = std::sin(Phi);
55 const Real s3 = std::sin(phi_2);
60 _coords[0] = c1 * c3 - c2 * s1 * s3;
61 _coords[3] = -c1 * s3 - c2 * c3 * s1;
64 _coords[1] = c3 * s1 + c1 * c2 * s3;
65 _coords[4] = c1 * c2 * c3 - s1 * s3;
66 _coords[7] = -c1 * s2;
Axis
axis for single axis rotation constructor
static const std::string axis
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
RotationTensor(Axis axis, Real angle)
single axis rotation (in degrees)
void update(Axis axis, Real angle)
reforms the rotation matrix according to axis and angle.