1 #ifndef CASM_MonteCarlo_impl
2 #define CASM_MonteCarlo_impl
20 template <
typename MonteTypeSettings>
22 const MonteTypeSettings &settings,
Log &_log)
23 : m_settings(settings),
25 m_scel(&
primclex, settings.simulation_cell_matrix()),
27 m_configdof(m_config.configdof()),
30 m_debug(m_settings.debug()) {
35 if (it->second->must_converge()) {
SamplerMap m_sampler
a map of pair<keyname, index> to MonteSampler
const MonteSettings & settings() const
const Access settings used for construction
const PrimClex & primclex() const
const Access the PrimClex that *this is based on
MonteCarlo(const PrimClex &primclex, const MonteTypeSettings &settings, Log &_log)
Construct with a starting ConfigDoF as specified the given MonteSettings and prepare data samplers.
bool m_must_converge
True if any MonteSampler must converge.
PrimClex is the top-level data structure for a CASM project.
void write_trajectory(const MonteSettings &settings, const MonteCarlo &mc, size_type cond_index, Log &_log)
Will create (and possibly overwrite) new file with all observations from run with conditions....