25 return notstd::make_unique<ConfigDoF>(
33 return notstd::make_unique<ConfigDoF>(
Structure specifies the lattice and atomic basis of a crystal.
const Lattice & lattice() const
const std::vector< xtal::Site > & basis() const
std::vector< SymGroupRepID > occupant_symrep_IDs() const
Represents a supercell of the primitive parent crystal structure.
Index volume() const
Return number of primitive cells that fit inside of *this.
const Structure & prim() const
GenericScelFormatter< double > volume()
std::unique_ptr< ConfigDoF > make_unique_configdof(Structure const &prim, Index volume)
Construct zero-valued std::unique_ptr<ConfigDoF>
ConfigDoF make_configdof(Structure const &prim, Index volume)
Construct zero-valued ConfigDoF.
std::map< DoFKey, std::vector< CASM::DoFSetInfo > > local_dof_info(Structure const &_struc)
INDEX_TYPE Index
For long integer indexing:
std::map< DoFKey, CASM::DoFSetInfo > global_dof_info(Structure const &_struc)