1 #ifndef CASM_ConfigDatabaseTools
2 #define CASM_ConfigDatabaseTools
9 struct ConfigInsertResult;
36 Database<Supercell> &supercell_db);
40 Configuration
const &configuration, Database<Supercell> &supercell_db,
41 Database<Configuration> &configuration_db,
bool primitive_only);
48 template <
typename EnumeratorType>
50 EnumeratorType
const &enumerator, Configuration
const &configuration,
51 Database<Supercell> &supercell_db,
52 Database<Configuration> &configuration_db,
bool primitive_only);
Configuration in_canonical_supercell(Configuration const &configuration, Database< Supercell > &supercell_db)
Returns the canonical form Configuration in the canonical Supercell.
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.