CASM
1.1.0
A Clusters Approach to Statistical Mechanics
|
#include <ConfigEnumInput.hh>
Stores a Configuration and a selection of sites in the Configuration
Site naming convention:
Definition at line 23 of file ConfigEnumInput.hh.
Public Member Functions | |
ConfigEnumInput (Configuration const &_configuration) | |
Construct with a Configuration and all sites selected. More... | |
ConfigEnumInput (Supercell const &_supercell) | |
Construct using a Supercell's default Configuration and all sites selected. More... | |
ConfigEnumInput (Configuration const &_configuration, std::set< Index > const &_site_index_selection) | |
Construct with a Configuration and initial site selection. More... | |
ConfigEnumInput (Supercell const &_supercell, std::set< Index > const &_site_index_selection) | |
Configuration const & | configuration () const |
std::set< Index > const & | sites () const |
void | clear_sites () |
Clear site selection. After condition is no sites are selected. More... | |
void | select_all_sites () |
void | select_site (Index site_index) |
void | select_site (UnitCellCoord const &site_uccord) |
template<typename SiteContainer > | |
void | select_sites (SiteContainer const &_container) |
Select sites by "site_index" or "site_uccoord". More... | |
void | select_sublattice (Index sublattice_index) |
Select all sites on a sublattice. More... | |
template<typename SublatticeIndexContainer > | |
void | select_sublattices (SublatticeIndexContainer const &_container) |
Select all sites on multiples sublattices. More... | |
Private Attributes | |
std::set< Index > | m_site_index_selection |
Configuration | m_configuration |
|
private |
Definition at line 77 of file ConfigEnumInput.hh.
Definition at line 76 of file ConfigEnumInput.hh.