CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ConfigDoFTools.hh
Go to the documentation of this file.
1 #ifndef CASM_clex_ConfigDoFTools
2 #define CASM_clex_ConfigDoFTools
3 
4 #include <memory>
5 
7 
8 namespace CASM {
9 
10 class ConfigDoF;
11 class Structure;
12 class Supercell;
13 
15 ConfigDoF make_configdof(Structure const &prim, Index volume);
16 
18 ConfigDoF make_configdof(Structure const &prim, Index volume, double tol);
19 
21 std::unique_ptr<ConfigDoF> make_unique_configdof(Structure const &prim,
22  Index volume);
23 
25 std::unique_ptr<ConfigDoF> make_unique_configdof(Structure const &prim,
26  Index volume, double tol);
27 
29 ConfigDoF make_configdof(Supercell const &supercell);
30 
32 ConfigDoF make_configdof(Supercell const &supercell, double tol);
33 
35 std::unique_ptr<ConfigDoF> make_unique_configdof(Supercell const &supercell);
36 
38 std::unique_ptr<ConfigDoF> make_unique_configdof(Supercell const &supercell,
39  double tol);
40 
41 } // namespace CASM
42 
43 #endif
GenericScelFormatter< double > volume()
Definition: SupercellIO.cc:258
Main CASM namespace.
Definition: APICommand.hh:8
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.
INDEX_TYPE Index
For long integer indexing:
Definition: definitions.hh:39