CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <ConfigDoFCompare.hh>
Wrapper class for generic less than comparison of ConfigDoF.
Definition at line 18 of file ConfigDoFCompare.hh.
Public Member Functions | |
template<typename ConfigDoFIsEquivalentType > | |
ConfigDoFCompare (std::unique_ptr< ConfigDoFIsEquivalentType > f) | |
Construct a ConfigDoFCompare object for a particular DoF type. More... | |
bool | operator() (const Configuration &other) const |
Return config < other. More... | |
bool | operator() (const ConfigDoF &other) const |
Return config < other. More... | |
bool | operator() (const PermuteIterator &A) const |
Return config < A*config. More... | |
bool | operator() (const PermuteIterator &A, const PermuteIterator &B) const |
Return A*config < B*config. More... | |
bool | operator() (const PermuteIterator &A, const Configuration &other) const |
Return config < A*other. More... | |
bool | operator() (const PermuteIterator &A, const ConfigDoF &other) const |
Return config < A*other. More... | |
bool | operator() (const PermuteIterator &A, const PermuteIterator &B, const Configuration &other) const |
Return A*config < B*other. More... | |
bool | operator() (const PermuteIterator &A, const PermuteIterator &B, const ConfigDoF &other) const |
Return A*config < B*other. More... | |
Private Attributes | |
notstd::cloneable_ptr< ConfigDoFIsEquivalent::Base > | m_f |
Related Functions | |
(Note that these are not member functions.) | |
template<typename ConfigDoFIsEquivalentType , typename... Args> | |
ConfigDoFCompare | make_dof_compare (Args &&... args) |
|
inline |
Construct a ConfigDoFCompare object for a particular DoF type.
Easiest construction is probably using 'make_dof_compare'.
Example:
Definition at line 34 of file ConfigDoFCompare.hh.
|
inline |
Return config < other.
Definition at line 42 of file ConfigDoFCompare.hh.
|
inline |
Return config < other.
Definition at line 37 of file ConfigDoFCompare.hh.
|
inline |
Return config < A*config.
Definition at line 50 of file ConfigDoFCompare.hh.
|
inline |
Return config < A*other.
Definition at line 74 of file ConfigDoFCompare.hh.
|
inline |
Return config < A*other.
Definition at line 66 of file ConfigDoFCompare.hh.
|
inline |
Return A*config < B*config.
Definition at line 58 of file ConfigDoFCompare.hh.
|
inline |
Return A*config < B*other.
Definition at line 91 of file ConfigDoFCompare.hh.
|
inline |
Return A*config < B*other.
Definition at line 82 of file ConfigDoFCompare.hh.
|
related |
Factory function to make ConfigDoFCompare
Definition at line 107 of file ConfigDoFCompare.hh.
|
private |
Definition at line 100 of file ConfigDoFCompare.hh.