14 : m_configuration(_configuration) {
32 std::set<Index>
const &_site_index_selection = {})
33 : m_site_index_selection(_site_index_selection),
34 m_configuration(_configuration) {}
45 std::set<Index>
const &_site_index_selection = {})
84 auto const &converter =
90 Index b = sublattice_index;
92 for (
Index i = b * V; i < (b + 1) * V; ++i) {
static Configuration zeros(const std::shared_ptr< Supercell const > &_supercell_ptr)
const Supercell & supercell() const
Get the Supercell for this Configuration.
Index size() const
Returns number of sites, NOT the number of primitives that fit in here.
std::vector< PermuteIterator > factor_group() const
Returns the subgroup of the Supercell factor group that leaves the Configuration unchanged.
Represents a supercell of the primitive parent crystal structure.
Index volume() const
Return number of primitive cells that fit inside of *this.
const SupercellSymInfo & sym_info() const
const xtal::UnitCellCoordIndexConverter & unitcellcoord_index_converter() const
UnitCellCoordIndexConverter for this superstructure/primstructure pair Used to convert from lattice t...
ConfigEnumInput(Configuration const &_configuration)
Construct with a Configuration and all sites selected.
void select_site(Index site_index)
std::set< Index > const & sites() const
Configuration const & configuration() const
void clear_sites()
Clear site selection. After condition is no sites are selected.
std::vector< PermuteIterator > make_invariant_subgroup(ConfigEnumInput const &config_enum_input)
void select_sublattice(Index sublattice_index)
Select all sites on a sublattice.
INDEX_TYPE Index
For long integer indexing: