1 #ifndef CASM_ClusterInvariants
2 #define CASM_ClusterInvariants
12 class IntegralCluster;
Stores cluster invariants: number of sites and site distances.
int size() const
Number of elements in the cluster.
ClusterInvariants(IntegralCluster const &cluster)
Construct and calculate cluster invariants.
std::vector< double > const & displacement() const
const Access displacements between coordinates in the cluster, sorted in ascending order
int m_size
Number of UnitCellCoords in cluster.
std::vector< double > m_disp
Displacement between each pair of UnitCellCoords, sorted in ascending order.
Stores cluster invariants: number of sites and site distances (using robust_min_dist)
std::vector< double > m_disp
Displacement between each pair of UnitCellCoords, sorted in ascending order.
WithinScelClusterInvariants(IntegralCluster const &cluster, Eigen::Matrix3l const &transf_mat)
Construct and calculate cluster invariants, using robust_min_dist in the supercell lattice.
int m_size
Number of UnitCellCoords in cluster.
int size() const
Number of elements in the cluster.
std::vector< double > const & displacement() const
const Access displacements between coordinates in the cluster, sorted in ascending order,...
Eigen::Matrix3l transf_mat(const Lattice &prim_lat, const Lattice &super_lat)
bool almost_equal(ClusterInvariants const &A, ClusterInvariants const &B, double tol)
Check if ClusterInvariants are equal.
bool compare(ClusterInvariants const &A, ClusterInvariants const &B, double tol)
Compare ClusterInvariants.
Matrix< long int, 3, 3 > Matrix3l