Utility functions to return rotations matrics. More...
Functions | |
template<bool is_ad = false> | |
GenericRealTensorValue< is_ad > | rotVecToZ (GenericRealVectorValue< is_ad > vec) |
provides a rotation matrix that will rotate the vector vec to the z axis (the "2" direction) More... | |
template<bool is_ad = false> | |
GenericRealTensorValue< is_ad > | rotVec1ToVec2 (GenericRealVectorValue< is_ad > vec1, GenericRealVectorValue< is_ad > vec2) |
provides a rotation matrix that will rotate the vector vec1 to vec2 More... | |
template<bool is_ad = false> | |
GenericRealTensorValue< is_ad > | rotVec2DToX (const GenericRealVectorValue< is_ad > &vec) |
provides a rotation matrix that will rotate the vector vec1 to the [1,0,0], assuming vec1[2]==0 More... | |
Utility functions to return rotations matrics.
GenericRealTensorValue<is_ad> RotationMatrix::rotVec1ToVec2 | ( | GenericRealVectorValue< is_ad > | vec1, |
GenericRealVectorValue< is_ad > | vec2 | ||
) |
provides a rotation matrix that will rotate the vector vec1 to vec2
Definition at line 65 of file RotationMatrix.h.
GenericRealTensorValue<is_ad> RotationMatrix::rotVec2DToX | ( | const GenericRealVectorValue< is_ad > & | vec | ) |
provides a rotation matrix that will rotate the vector vec1 to the [1,0,0], assuming vec1[2]==0
Definition at line 76 of file RotationMatrix.h.
GenericRealTensorValue<is_ad> RotationMatrix::rotVecToZ | ( | GenericRealVectorValue< is_ad > | vec | ) |
provides a rotation matrix that will rotate the vector vec to the z axis (the "2" direction)
Definition at line 24 of file RotationMatrix.h.
Referenced by SolutionUserObject::SolutionUserObject().