1 #ifndef BASIS_SET_ADAPTER_HH
2 #define BASIS_SET_ADAPTER_HH
11 template <
typename ToType,
typename FromType>
21 template <
typename DiscreteType>
24 const std::vector<xtal::Molecule> &adaptable,
SymGroupRepID symrep_ID,
27 symrep_ID, adaptable);
41 {symrep_ID, adaptable.basis()});
44 return adapted_dofset;
57 {symrep_ID, adaptable.basis()},
59 adapted_dofset.
set_ID(dof_id);
60 return adapted_dofset;
void set_ID(Index new_ID)
mutator to set integer ID if it is unlocked
void set_sequential_IDs()
void lock_IDs()
Locks IDs of components in this DoFSet so they can no longer be updated.
Type-safe ID object for communicating and accessing Symmetry representation info.
BasicTraits const & traits() const
Returns traits object for the DoF type of this DoFSet.
const std::vector< std::string > & component_names() const
Returns the names of each of the component axes.
const std::unordered_set< std::string > & excluded_occupants() const
Return all occupants that the DoFSet should not be applied to.
DoF_impl::OccupationDoFTraits occupation()
CASM::DoFSet operator()(const xtal::DoFSet &adaptable, SymGroupRepID symrep_ID)
CASM::DoFSet operator()(const xtal::SiteDoFSet &adaptable, SymGroupRepID symrep_ID, int dof_id)
OccupantDoF< DiscreteType > operator()(const std::vector< xtal::Molecule > &adaptable, SymGroupRepID symrep_ID, int dof_id)