14 #ifndef HMC_GENERAL_INCLUDED
15 #define HMC_GENERAL_INCLUDED
66 std::vector<Director *> director,
71 std::vector<Director *> director,
94 void set_parameters(
const double trajectory_length,
const bool Metropolis_test);
95 void set_parameters(
const double trajectory_length,
const int Metropolis_test);
void set_parameters(const Parameters ¶ms)
std::vector< Director * > m_director
directors
static const std::string class_name
General HMC update class.
Bridge::VerboseLevel m_vl
RandomNumbers * m_rand
random number generator
double calc_Hamiltonian(const Field_G &iP, const Field_G &U)
std::vector< Action * > m_action
actions
Base class of Integrator class family.
double langevin(Field_G &iP, const Field_G &U)
double calcH_P(const Field_G &iP)
bool m_Metropolis_test
Metropolis test: enabled if true.
double m_trajectory_length
Langevin_Momentum * m_Langevin_P
lists of actions at respective integrator levels.
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Base class of random number generators.
Integrator * m_integrator
MD integrator.
HMC_General & operator=(const HMC_General &)
HMC_General(const ActionList &action_list, std::vector< Director * > director, Integrator *integrator, RandomNumbers *rand)
constructor with action_list, directors, and random number generator
Langevin part of HMC for conjugate momentum to link variable.