occ
Loading...
Searching...
No Matches
rotation.h File Reference
Include dependency graph for rotation.h:

Namespaces

namespace  occ
namespace  occ::mults
namespace  occ::mults::rotation_utils
 Utility functions for rotation matrix creation.

Typedefs

using occ::mults::RotationMatrix = Mat3
 Rotate multipole moments using Wigner D-matrices.

Functions

Mat occ::mults::wigner_d_matrix (const RotationMatrix &R, int lmax)
 Wigner D-matrix for multipole rotation.
occ::dma::Mult & occ::mults::rotate_multipole (occ::dma::Mult &mult, const RotationMatrix &R)
 Rotate a multipole moment object.
occ::dma::Mult occ::mults::rotated_multipole (const occ::dma::Mult &mult, const RotationMatrix &R)
 Create a rotated copy of a multipole object.
RotationMatrix occ::mults::rotation_utils::euler_to_rotation (double alpha, double beta, double gamma)
 Create rotation matrix from Euler angles (ZYZ convention).
RotationMatrix occ::mults::rotation_utils::axis_angle_to_rotation (const Vec3 &axis, double angle)
 Create rotation matrix from axis-angle representation.
RotationMatrix occ::mults::rotation_utils::quaternion_to_rotation (const Vec4 &q)
 Create rotation matrix from quaternion.
bool occ::mults::rotation_utils::is_rotation_matrix (const RotationMatrix &R, double tolerance=1e-10)
 Validate that a matrix is a proper rotation matrix.