CASM  1.1.0
A Clusters Approach to Statistical Mechanics
ClexBasisSpecs.hh
Go to the documentation of this file.
1 #ifndef CASM_ClexBasisSpecs
2 #define CASM_ClexBasisSpecs
3 
6 
7 namespace CASM {
8 
9 // --- Specify type of orbits ---
10 
13  ClexBasisSpecs(BasisFunctionSpecs const &_basis_function_specs,
15  : basis_function_specs(_basis_function_specs),
16  cluster_specs(std::move(_cluster_specs)) {
17  if (!cluster_specs) {
19  "Error constructing ClexBasisSpecs: Empty \"cluster_specs\".");
20  }
21  }
22 
24 
26 };
27 
28 } // namespace CASM
29 #endif
A 'cloneable_ptr' can be used in place of 'unique_ptr'.
Main CASM namespace.
Definition: APICommand.hh:8
Definition: stream_io.hh:24
Specify how to construct basis functions.
Provides parameters for constructing a cluster expansion basis (ClexBasis)
ClexBasisSpecs(BasisFunctionSpecs const &_basis_function_specs, notstd::cloneable_ptr< ClusterSpecs > _cluster_specs)
notstd::cloneable_ptr< ClusterSpecs > cluster_specs
BasisFunctionSpecs basis_function_specs