This is a RealTensor version of a rotation matrix It is instantiated with the Euler angles, which are measured in degrees. More...
#include <RotationTensor.h>
Public Types | |
enum | Axis { XAXIS = 0, YAXIS, ZAXIS } |
axis for single axis rotation constructor More... | |
Public Member Functions | |
RotationTensor (Axis axis, Real angle) | |
single axis rotation (in degrees) More... | |
RotationTensor (const RealVectorValue &euler_angles) | |
fills according to Euler angles (measured in degrees) More... | |
void | update (Axis axis, Real angle) |
reforms the rotation matrix according to axis and angle. More... | |
void | update (const RealVectorValue &euler_angles) |
reforms the rotation matrix according to the Euler angles. More... | |
This is a RealTensor version of a rotation matrix It is instantiated with the Euler angles, which are measured in degrees.
R = Z0 *X1 * Z2 where Z0 = anticlockwise rotation about Z axis through euler_angles(0) degrees where X1 = anticlockwise rotation about X axis through euler_angles(1) degress where Z2 = anticlockwise rotation about Z axis through euler_angles(2) degrees or an axis, angle pair where the angle is taken anticlockwise in degrees
Definition at line 29 of file RotationTensor.h.
enum RotationTensor::Axis |
axis for single axis rotation constructor
Enumerator | |
---|---|
XAXIS | |
YAXIS | |
ZAXIS |
Definition at line 33 of file RotationTensor.h.
RotationTensor::RotationTensor | ( | Axis | axis, |
Real | angle | ||
) |
RotationTensor::RotationTensor | ( | const RealVectorValue & | euler_angles | ) |
fills according to Euler angles (measured in degrees)
Definition at line 15 of file RotationTensor.C.
void RotationTensor::update | ( | Axis | axis, |
Real | angle | ||
) |
reforms the rotation matrix according to axis and angle.
Definition at line 18 of file RotationTensor.C.
Referenced by ComputeElasticityTensorCP::computeQpElasticityTensor(), and RotationTensor().
void RotationTensor::update | ( | const RealVectorValue & | euler_angles | ) |
reforms the rotation matrix according to the Euler angles.
Definition at line 43 of file RotationTensor.C.