1 #ifndef CLEX_SIMPLESTRUCTURETOOLS_HH
2 #define CLEX_SIMPLESTRUCTURETOOLS_HH
13 class SimpleStructure;
18 struct MappedProperties;
27 Supercell
const &_scel, ConfigDoF
const &_dof,
28 std::vector<DoFKey>
const &_which_dofs = {});
52 Configuration
const &_config, std::vector<DoFKey>
const &_which_dofs = {},
53 bool relaxed =
false);
72 Supercell
const &_scel, ConfigDoF
const &_dof,
73 MappedProperties
const &_props, std::vector<DoFKey>
const &_which_dofs = {},
74 bool relaxed =
false);
80 xtal::SimpleStructure
const &sstruc, Configuration
const &_config);
86 xtal::SimpleStructure
const &sstruc, Configuration
const &_config);
std::vector< std::set< Index > > atom_site_compatibility(xtal::SimpleStructure const &sstruc, Configuration const &_config)
Determine which sites of a Configuration can host each atom of a SimpleStructure result[i] is set of ...
std::vector< std::set< Index > > mol_site_compatibility(xtal::SimpleStructure const &sstruc, Configuration const &_config)
Determine which sites of a Configuration can host each molecule of a SimpleStructure result[i] is set...
xtal::SimpleStructure make_simple_structure(Supercell const &_scel, ConfigDoF const &_dof, std::vector< DoFKey > const &_which_dofs={})
Construct from ConfigDoF _dof belonging to provided Supercell _scel.