CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <ConfigIsEquivalent.hh>
Class for comparison of Configurations (with the same Supercell)
Definition at line 20 of file ConfigIsEquivalent.hh.
Public Types | |
using | EquivPtr = notstd::cloneable_ptr< ConfigDoFIsEquivalent::Base > |
Public Member Functions | |
ConfigIsEquivalent (const Configuration &_config, double _tol, std::set< std::string > const &_which_dofs={"all"}) | |
ConfigIsEquivalent (const Configuration &_config, std::set< std::string > const &_which_dofs={"all"}) | |
const Configuration & | config () const |
std::vector< EquivPtr > const & | local_equivs () const |
std::vector< EquivPtr > const & | global_equivs () const |
bool | is_less () const |
Returns less than comparison. More... | |
bool | operator() (const Configuration &other) const |
Check if config == other, store config < other. More... | |
bool | operator() (const PermuteIterator &A) const |
Check if config == A*config, store config < A*config. More... | |
bool | operator() (const PermuteIterator &A, const PermuteIterator &B) const |
Check if A*config == B*config, store A*config < B*config. More... | |
bool | operator() (const PermuteIterator &A, const Configuration &other) const |
Check if config == A*other, store config < A*other. More... | |
bool | operator() (const PermuteIterator &A, const PermuteIterator &B, const Configuration &other) const |
Check if A*config == B*other, store A*config < B*other. More... | |
Private Attributes | |
const Configuration * | m_config |
std::vector< EquivPtr > | m_global_equivs |
std::vector< EquivPtr > | m_local_equivs |
bool | m_less |
Definition at line 22 of file ConfigIsEquivalent.hh.
|
inline |
Construct with config to be compared against, tolerance for comparison, and (optional) list of DoFs to compare if _wich_dofs is empty, no dofs will be compared (default is "all", in which case all DoFs are compared)
Definition at line 27 of file ConfigIsEquivalent.hh.
|
inline |
Definition at line 63 of file ConfigIsEquivalent.hh.
|
inline |
Definition at line 68 of file ConfigIsEquivalent.hh.
|
inline |
Definition at line 72 of file ConfigIsEquivalent.hh.
|
inline |
Returns less than comparison.
Definition at line 77 of file ConfigIsEquivalent.hh.
|
inline |
Definition at line 70 of file ConfigIsEquivalent.hh.
|
inline |
Check if config == other, store config < other.
Definition at line 82 of file ConfigIsEquivalent.hh.
|
inline |
Check if config == A*config, store config < A*config.
Definition at line 113 of file ConfigIsEquivalent.hh.
|
inline |
Check if config == A*other, store config < A*other.
Definition at line 159 of file ConfigIsEquivalent.hh.
|
inline |
Check if A*config == B*config, store A*config < B*config.
Definition at line 136 of file ConfigIsEquivalent.hh.
|
inline |
Check if A*config == B*other, store A*config < B*other.
Definition at line 180 of file ConfigIsEquivalent.hh.
|
private |
Definition at line 202 of file ConfigIsEquivalent.hh.
|
private |
Definition at line 203 of file ConfigIsEquivalent.hh.
|
mutableprivate |
Definition at line 205 of file ConfigIsEquivalent.hh.
|
private |
Definition at line 204 of file ConfigIsEquivalent.hh.