29 set(_site_linear_index, _sublat, _to_value);
Describes the modification of a variable on a basis site.
const T & to_value() const
Returns the value the variable on the site being modified will change to.
SiteMod()
Default constructor.
SiteMod(size_type _site_linear_index, size_type _sublat, const T &_to_value)
Construct a SiteMod.
size_type site_index() const
Returns the linear index corresponding to site in ConfigDoF.
size_type sublat() const
Returns the sublattice index of site being modified.
void set(size_type _site_linear_index, size_type _sublat, const T &_to_value)
Set the values of a SiteMod.
SiteMod< int > OccMod
An OccMod describes the change in occupation variable on a site.
INDEX_TYPE Index
For long integer indexing: