CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <OccCandidate.hh>
List of asym / species_index pairs indicating allowed variable occupation dof
Definition at line 120 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 |
Index | index (Index asym, Index species_index) const |
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 |
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 122 of file OccCandidate.hh.
|
inline |
Definition at line 124 of file OccCandidate.hh.
CASM::Monte::OccCandidateList::OccCandidateList | ( | const Conversions & | convert | ) |
Definition at line 64 of file OccCandidate.cc.
|
private |
Construct m_canonical_swaps, m_grand_canonical_swaps.
Definition at line 100 of file OccCandidate.cc.
|
inline |
Definition at line 144 of file OccCandidate.hh.
|
inline |
Definition at line 150 of file OccCandidate.hh.
|
inline |
Definition at line 146 of file OccCandidate.hh.
|
inline |
Definition at line 154 of file OccCandidate.hh.
|
inline |
Return index into std::vector<OccCandidate>, or _candidate.size() if not allowed
Definition at line 130 of file OccCandidate.hh.
Return index into std::vector<OccCandidate>, or _candidate.size() if not allowed
Definition at line 136 of file OccCandidate.hh.
|
inline |
Definition at line 140 of file OccCandidate.hh.
|
inline |
Definition at line 148 of file OccCandidate.hh.
|
private |
Definition at line 165 of file OccCandidate.hh.
|
private |
vector of allowed canonical swaps
Definition at line 172 of file OccCandidate.hh.
|
private |
Number of allowed candidates, what is returned if a candidate is not allowed
Definition at line 169 of file OccCandidate.hh.
|
private |
vector of allowed grand canonical swaps
Definition at line 175 of file OccCandidate.hh.
|
private |
m_converter[asym][species_index] -> candidate_index
Definition at line 163 of file OccCandidate.hh.