CASM
AClustersApproachtoStatisticalMechanics
|
#include <OccCandidate.hh>
List of asym / species_index pairs indicating allowed variable occupation dof.
Definition at line 116 of file OccCandidate.hh.
Public Types | |
typedef std::vector < OccCandidate > ::const_iterator | const_iterator |
Public Member Functions | |
OccCandidateList () | |
OccCandidateList (const Conversions &convert) | |
Index | index (const OccCandidate &cand) const |
Return index into std::vector<OccCandidate>, or _candidate.size() if not allowed. More... | |
Index | index (Index asym, Index species_index) const |
Return index into std::vector<OccCandidate>, or _candidate.size() if not allowed. More... | |
const OccCandidate & | operator[] (Index candidate_index) const |
const_iterator | begin () const |
const_iterator | end () const |
Index | size () const |
const std::vector< OccSwap > & | canonical_swap () const |
const std::vector< OccSwap > & | grand_canonical_swap () const |
Private Member Functions | |
void | _make_possible_swaps (const Conversions &convert) |
Construct m_canonical_swaps, m_grand_canonical_swaps. More... | |
Private Attributes | |
std::vector< std::vector< Index > > | m_species_to_cand_index |
m_converter[asym][species_index] -> candidate_index More... | |
std::vector< OccCandidate > | m_candidate |
Index | m_end |
Number of allowed candidates, what is returned if a candidate is not allowed. More... | |
std::vector< OccSwap > | m_canonical_swap |
vector of allowed canonical swaps More... | |
std::vector< OccSwap > | m_grand_canonical_swap |
vector of allowed grand canonical swaps More... | |
typedef std::vector<OccCandidate>::const_iterator CASM::Monte::OccCandidateList::const_iterator |
Definition at line 120 of file OccCandidate.hh.
|
inline |
Definition at line 122 of file OccCandidate.hh.
CASM::Monte::OccCandidateList::OccCandidateList | ( | const Conversions & | convert | ) |
Definition at line 57 of file OccCandidate.cc.
|
private |
Construct m_canonical_swaps, m_grand_canonical_swaps.
Definition at line 95 of file OccCandidate.cc.
|
inline |
Definition at line 140 of file OccCandidate.hh.
|
inline |
Definition at line 152 of file OccCandidate.hh.
|
inline |
Definition at line 144 of file OccCandidate.hh.
|
inline |
Definition at line 156 of file OccCandidate.hh.
|
inline |
Return index into std::vector<OccCandidate>, or _candidate.size() if not allowed.
Definition at line 127 of file OccCandidate.hh.
Return index into std::vector<OccCandidate>, or _candidate.size() if not allowed.
Definition at line 132 of file OccCandidate.hh.
|
inline |
Definition at line 136 of file OccCandidate.hh.
|
inline |
Definition at line 148 of file OccCandidate.hh.
|
private |
Definition at line 168 of file OccCandidate.hh.
|
private |
vector of allowed canonical swaps
Definition at line 174 of file OccCandidate.hh.
|
private |
Number of allowed candidates, what is returned if a candidate is not allowed.
Definition at line 171 of file OccCandidate.hh.
|
private |
vector of allowed grand canonical swaps
Definition at line 177 of file OccCandidate.hh.
|
private |
m_converter[asym][species_index] -> candidate_index
Definition at line 166 of file OccCandidate.hh.