CASM  1.1.0
A Clusters Approach to Statistical Mechanics
CASM::Monte::OccSwap Class Reference

#include <OccCandidate.hh>

+ Inheritance diagram for CASM::Monte::OccSwap:

Detailed Description

Store swap type, mutating sites, and info for keeping OccLocation up-to-date.

Definition at line 71 of file OccCandidate.hh.

Public Types

typedef Base::MostDerived MostDerived
 

Public Member Functions

 OccSwap (const OccCandidate &_cand_a, const OccCandidate &_cand_b)
 
void reverse ()
 
OccSwapsort ()
 
OccSwap sorted () const
 
bool operator< (const OccSwap &B) const
 
bool operator> (const MostDerived &B) const
 
bool operator<= (const MostDerived &B) const
 
bool operator>= (const MostDerived &B) const
 
bool operator== (const MostDerived &B) const
 
bool operator!= (const MostDerived &B) const
 

Public Attributes

OccCandidate cand_a
 
OccCandidate cand_b
 

Protected Member Functions

bool eq_impl (const MostDerived &B) const
 
bool ne_impl (const MostDerived &B) const
 

Private Types

typedef std::tuple< OccCandidate, OccCandidatetuple_type
 

Private Member Functions

bool _lt (const OccSwap &B) const
 
tuple_type tuple () const
 

Member Typedef Documentation

◆ MostDerived

template<typename Base >
typedef Base::MostDerived notstd::Comparisons< Base >::MostDerived
inherited

Definition at line 27 of file Comparisons.hh.

◆ tuple_type

Definition at line 107 of file OccCandidate.hh.

Constructor & Destructor Documentation

◆ OccSwap()

CASM::Monte::OccSwap::OccSwap ( const OccCandidate _cand_a,
const OccCandidate _cand_b 
)
inline

Definition at line 73 of file OccCandidate.hh.

Member Function Documentation

◆ _lt()

bool CASM::Monte::OccSwap::_lt ( const OccSwap B) const
inlineprivate

Definition at line 105 of file OccCandidate.hh.

◆ eq_impl()

template<typename Base >
bool notstd::Comparisons< Base >::eq_impl ( const MostDerived B) const
inlineprotectedinherited

Definition at line 40 of file Comparisons.hh.

◆ ne_impl()

template<typename Base >
bool notstd::Comparisons< Base >::ne_impl ( const MostDerived B) const
inlineprotectedinherited

Definition at line 44 of file Comparisons.hh.

◆ operator!=()

template<typename Base >
bool notstd::Comparisons< Base >::operator!= ( const MostDerived B) const
inlineinherited

Definition at line 37 of file Comparisons.hh.

◆ operator<()

bool CASM::Monte::OccSwap::operator< ( const OccSwap B) const
inline

Definition at line 100 of file OccCandidate.hh.

◆ operator<=()

template<typename Base >
bool notstd::Comparisons< Base >::operator<= ( const MostDerived B) const
inlineinherited

Definition at line 31 of file Comparisons.hh.

◆ operator==()

template<typename Base >
bool notstd::Comparisons< Base >::operator== ( const MostDerived B) const
inlineinherited

Definition at line 35 of file Comparisons.hh.

◆ operator>()

template<typename Base >
bool notstd::Comparisons< Base >::operator> ( const MostDerived B) const
inlineinherited

Definition at line 29 of file Comparisons.hh.

◆ operator>=()

template<typename Base >
bool notstd::Comparisons< Base >::operator>= ( const MostDerived B) const
inlineinherited

Definition at line 33 of file Comparisons.hh.

◆ reverse()

void CASM::Monte::OccSwap::reverse ( )
inline

Definition at line 79 of file OccCandidate.hh.

◆ sort()

OccSwap& CASM::Monte::OccSwap::sort ( )
inline

Definition at line 84 of file OccCandidate.hh.

◆ sorted()

OccSwap CASM::Monte::OccSwap::sorted ( ) const
inline

Definition at line 94 of file OccCandidate.hh.

◆ tuple()

tuple_type CASM::Monte::OccSwap::tuple ( ) const
inlineprivate

Definition at line 109 of file OccCandidate.hh.

Member Data Documentation

◆ cand_a

OccCandidate CASM::Monte::OccSwap::cand_a

Definition at line 76 of file OccCandidate.hh.

◆ cand_b

OccCandidate CASM::Monte::OccSwap::cand_b

Definition at line 77 of file OccCandidate.hh.


The documentation for this class was generated from the following file: