1 #ifndef CASM_GrandCanonicalSettings
2 #define CASM_GrandCanonicalSettings
9 class GrandCanonicalConditions;
41 template <
typename SamplerInsertIterator>
43 SamplerInsertIterator result)
const;
52 template <
typename jsonParserIteratorType>
53 std::tuple<bool, double>
_get_precision(jsonParserIteratorType it)
const;
55 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
57 jsonParserIteratorType it,
58 SamplerInsertIterator result)
const;
60 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
63 SamplerInsertIterator result)
const;
65 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
68 SamplerInsertIterator result)
const;
70 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
73 SamplerInsertIterator result)
const;
75 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
78 SamplerInsertIterator result)
const;
80 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
83 SamplerInsertIterator result)
const;
85 template <
typename jsonParserIteratorType,
typename SamplerInsertIterator>
88 SamplerInsertIterator result)
const;
SamplerInsertIterator _make_atom_frac_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
SamplerInsertIterator _make_query_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
GrandCanonicalSettings()
Default constructor.
bool all_correlations() const
Return true if all correlations should be sampled.
std::vector< GrandCanonicalConditions > custom_conditions() const
Expects custom_conditions.
SamplerInsertIterator _make_all_correlations_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
SamplerInsertIterator _make_site_frac_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
GrandCanonicalConditions initial_conditions() const
Expects initial_conditions.
SamplerInsertIterator _make_comp_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
GrandCanonicalConditions final_conditions() const
Expects final_conditions.
SamplerInsertIterator samplers(const PrimClex &primclex, SamplerInsertIterator result) const
Construct Samplers as specified in the Settings.
std::tuple< bool, double > _get_precision(jsonParserIteratorType it) const
SamplerInsertIterator _make_comp_n_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
GrandCanonicalConditions incremental_conditions() const
Expects incremental_conditions.
GrandCanonicalConditions _conditions(std::string name) const
SamplerInsertIterator _make_non_zero_eci_correlations_samplers(const PrimClex &primclex, jsonParserIteratorType it, SamplerInsertIterator result) const
ClexDescription formation_energy(const PrimClex &primclex) const
Get formation energy cluster expansion.
const PrimClex & primclex() const
PrimClex is the top-level data structure for a CASM project.
GenericDatumFormatter< std::string, DataObject > name()
Specifies a particular cluster expansion.