11 #include "libmesh/libmesh.h" 51 const Real c1 = std::cos(phi_1);
52 const Real c2 = std::cos(Phi);
53 const Real c3 = std::cos(phi_2);
55 const Real s1 = std::sin(phi_1);
56 const Real s2 = std::sin(Phi);
57 const Real s3 = std::sin(phi_2);
62 _coords[0] = c1 * c3 - c2 * s1 * s3;
63 _coords[3] = -c1 * s3 - c2 * c3 * s1;
66 _coords[1] = c3 * s1 + c1 * c2 * s3;
67 _coords[4] = c1 * c2 * c3 - s1 * s3;
68 _coords[7] = -c1 * s2;
VectorValue< Real > RealVectorValue
Axis
axis for single axis rotation constructor
static const std::string axis
The following methods are specializations for using the Parallel::packed_range_* routines for a vecto...
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.