7 template <
typename OccType>
10 if (_other.size() != m_dof.size())
return false;
12 for (
Index i = 0; i < m_dof.size(); ++i) {
13 for (j = 0; j < _other.size(); ++j) {
14 if (m_dof[i].
identical(_other[j], m_tol)) {
19 if (j == _other.size()) {
27 template <
typename OccType>
31 for (
Index i = 0; i < m_dof.size(); ++i) {
33 for (j = 0; j < m_dof.size(); ++j) {
34 if (t_occ.identical(m_dof[j], m_tol)) {
39 if (j == m_dof.size()) {
47 template <
typename OccType>
50 if (_other.size() != m_dof.size())
return false;
52 for (
Index i = 0; i < m_dof.size(); ++i) {
54 for (j = 0; j < _other.size(); ++j) {
55 if (t_occ.identical(_other[j], m_tol)) {
60 if (j == _other.size()) {
std::vector< OccType > OccDoFType
bool operator()(OccDoFType const &_other) const
xtal::Coordinate copy_apply(const xtal::SymOp &op, xtal::Coordinate coord)
Copy and apply SymOp to a Coordinate.
MappingNode copy_apply(PermuteIterator const &_it, MappingNode const &_node, bool transform_cost_mat=true)
Reorders the permutation and compounds the spatial isometry (rotation.
bool identical(AnisoValTraits const &A, AnisoValTraits const &B)
INDEX_TYPE Index
For long integer indexing: