10 #include "libmesh/ignore_warnings.h" 23 phi1 = std::atan2((q.x() * q.z() + q.w() * q.y()), -(-q.w() * q.x() + q.y() * q.z())) *
27 std::pow(q.w() * q.w() - q.x() * q.x() - q.y() * q.y() + q.z() * q.z(), 2.0)),
28 q.w() * q.w() - q.x() * q.x() - q.y() * q.y() + q.z() * q.z()) *
30 phi2 = std::atan2((q.x() * q.z() - q.w() * q.y()), (q.w() * q.x() + q.y() * q.z())) *
43 Eigen::Quaternion<Real>
46 Eigen::Quaternion<Real> q;
48 Real cPhi1PlusPhi2, cphi, cPhi1MinusPhi2;
49 Real sPhi1PlusPhi2, sphi, sPhi1MinusPhi2;
64 q.w() = cphi * cPhi1PlusPhi2;
65 q.x() = sphi * cPhi1MinusPhi2;
66 q.y() = sphi * sPhi1MinusPhi2;
67 q.z() = cphi * sPhi1PlusPhi2;
87 #include "libmesh/restore_warnings.h"
void mooseError(Args &&... args)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MooseUnits pow(const MooseUnits &, int)
Eigen::Quaternion< Real > toQuaternion()