Bridge++
Ver. 1.2.x
|
#include <hmc_General.h>
Public Member Functions | |
HMC_General (std::valarray< Action * > action, std::valarray< Director * > director, Integrator *integrator, RandomNumbers *rand) | |
constructor with actions, directors, and random number generator More... | |
HMC_General (std::valarray< Action * > action, Integrator *integrator, RandomNumbers *rand) | |
constructor when no director is necessary More... | |
~HMC_General () | |
destructor More... | |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (int Mtpl_test) |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
double | update (Field_G &) |
double | langevin (Field_G &iP, Field_G &U) |
double | calc_Hamiltonian (Field_G &iP, Field_G &U) |
double | calcH_P (Field_G &iP) |
Static Public Attributes | |
static const std::string | class_name = "HMC_General" |
Private Attributes | |
int | m_Mtpl_test |
Metropolis test: Mtpl_test=0: no test, !=0: test. More... | |
valarray< Action * > | m_action |
actions More... | |
valarray< Director * > | m_director |
directors More... | |
Integrator * | m_integrator |
MD integrator. More... | |
RandomNumbers * | m_rand |
random number generator More... | |
Staples * | m_staple |
Langevin_Momentum * | m_Langevin_P |
Bridge::VerboseLevel | m_vl |
Definition at line 53 of file hmc_General.h.
|
inline |
constructor with actions, directors, and random number generator
Definition at line 70 of file hmc_General.h.
|
inline |
constructor when no director is necessary
Definition at line 92 of file hmc_General.h.
|
inline |
destructor
Definition at line 109 of file hmc_General.h.
Definition at line 188 of file hmc_General.cpp.
double HMC_General::calcH_P | ( | Field_G & | iP | ) |
Definition at line 223 of file hmc_General.cpp.
Definition at line 151 of file hmc_General.cpp.
|
inline |
Definition at line 118 of file hmc_General.h.
void HMC_General::set_parameters | ( | const Parameters & | params | ) |
Definition at line 43 of file hmc_General.cpp.
void HMC_General::set_parameters | ( | int | Mtpl_test | ) |
Definition at line 65 of file hmc_General.cpp.
void HMC_General::update | ( | Field_G & | conf_org | ) |
Definition at line 81 of file hmc_General.cpp.
|
static |
Definition at line 56 of file hmc_General.h.
|
private |
actions
Definition at line 60 of file hmc_General.h.
|
private |
directors
Definition at line 61 of file hmc_General.h.
|
private |
MD integrator.
Definition at line 62 of file hmc_General.h.
|
private |
Definition at line 65 of file hmc_General.h.
|
private |
Metropolis test: Mtpl_test=0: no test, !=0: test.
Definition at line 59 of file hmc_General.h.
|
private |
random number generator
Definition at line 63 of file hmc_General.h.
|
private |
Definition at line 64 of file hmc_General.h.
|
private |
Definition at line 66 of file hmc_General.h.