1 #ifndef CASM_ScelDatabaseTools_impl
2 #define CASM_ScelDatabaseTools_impl
15 template <
typename EnumeratorType>
17 EnumeratorType
const &enumerator,
Supercell const &supercell,
20 return supercell_db.
insert(supercell);
23 supercell.
lattice(), supercell_db);
std::pair< iterator, bool > insert(const Supercell &obj) override
Represents a supercell of the primitive parent crystal structure.
const Lattice & lattice() const
The super lattice.
std::shared_ptr< Structure const > const & shared_prim() const
bool is_guaranteed_for_database_insert(ConfigEnumAllOccupations const &enumerator)
ConfigInsertResult make_canonical_and_insert(Configuration const &configuration, Database< Supercell > &supercell_db, Database< Configuration > &configuration_db, bool primitive_only)
Insert this configuration (in primitive & canonical form) in the database.