CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <DoFSet.hh>
Comparator class for checking equivalence of two DoFSet values. Evaluate by constructing object with one of the values, and then pass the other DoFSet to the oveloaded operator().
DoFSets are considered equivalent if:
Public Member Functions | |
DoFSetIsEquivalent_f (const DoFSet &reference_value, double tol) | |
bool | operator() (const DoFSet &other_value) const |
Private Member Functions | |
bool | _traits_match (const DoFSet &other_value) const |
Returns true if the traits match. Only compares the names. More... | |
bool | _basis_spans_same_space (const DoFSet &other_value) const |
Private Attributes | |
DoFSet | m_reference_dofset |
Values passed to operator() will be compared against this. More... | |
double | m_tol |
Tolerance value for making comparisons. More... | |
|
inline |
|
private |
|
private |
bool CASM::xtal::DoFSetIsEquivalent_f::operator() | ( | const DoFSet & | other_value | ) | const |
|
private |
|
private |