9 #include "Molassembler/Export.h"
12 namespace Molassembler {
15 using InertialPositionsType = Eigen::Matrix<double, 3, Eigen::Dynamic>;
24 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
36 enum class MASM_EXPORT
Top {
57 MASM_EXPORT
Top standardizeTop(Eigen::Ref<InertialPositionsType> normalizedPositions);
Inertial moments data struct.
Definition: InertialMoments.h:18
Eigen::Matrix3d axes
Moment axes (column-wise)
Definition: InertialMoments.h:22
Oblate top (think disc): IA = IB < IC.
Top standardizeTop(Eigen::Ref< InertialPositionsType > normalizedPositions)
Identifies the top of a set of positions and reorients the particle positions, aligning the main axis...
Eigen::Vector3d moments
Moments values.
Definition: InertialMoments.h:20
Top
What kind of top is the particle collection?
Definition: InertialMoments.h:36
Line top: 0 ≅ IA << IB = IC.
InertialMoments principalInertialMoments(const InertialPositionsType &positions)
Determine the inertial moments of a set of positions.
Asymmetric top: IA < IB < IC, degeneracy 0.
unsigned reorientAsymmetricTop(Eigen::Ref< InertialPositionsType > normalizedPositions)
Searches for Cn axes along the coordinate system axes, aligns the highest order Cn axis found along t...
Spherical top: IA = IB = IC.
Prolate top (think rugby football): IA < IB = IC.