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 30 of file RotationTensor.h.
enum RotationTensor::Axis |
axis for single axis rotation constructor
Enumerator | |
---|---|
XAXIS | |
YAXIS | |
ZAXIS |
Definition at line 34 of file RotationTensor.h.
single axis rotation (in degrees)
Definition at line 15 of file RotationTensor.C.
RotationTensor::RotationTensor | ( | const RealVectorValue & | euler_angles | ) |
fills according to Euler angles (measured in degrees)
Definition at line 17 of file RotationTensor.C.
reforms the rotation matrix according to axis and angle.
Definition at line 20 of file RotationTensor.C.
Referenced by ComputeElasticityTensorCP::assignEulerAngles().
void RotationTensor::update | ( | const RealVectorValue & | euler_angles | ) |
reforms the rotation matrix according to the Euler angles.
Definition at line 45 of file RotationTensor.C.