Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
HMC_General Class Reference

#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 &params)
 
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 langevin_P (Field_G &iP)
 
double calc_Hamiltonian (Field_G &iP, Field_G &U)
 
double calcH_P (Field_G &iP)
 

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...
 
Integratorm_integrator
 MD integrator. More...
 
RandomNumbersm_rand
 random number generator More...
 
Staplesm_staple
 
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 50 of file hmc_General.h.

Constructor & Destructor Documentation

HMC_General::HMC_General ( std::valarray< Action * >  action,
std::valarray< Director * >  director,
Integrator integrator,
RandomNumbers rand 
)
inline

constructor with actions, directors, and random number generator

Definition at line 63 of file hmc_General.h.

HMC_General::HMC_General ( std::valarray< Action * >  action,
Integrator integrator,
RandomNumbers rand 
)
inline

constructor when no director is necessary

Definition at line 84 of file hmc_General.h.

HMC_General::~HMC_General ( )
inline

destructor

Definition at line 100 of file hmc_General.h.

Member Function Documentation

double HMC_General::calc_Hamiltonian ( Field_G iP,
Field_G U 
)

Definition at line 242 of file hmc_General.cpp.

double HMC_General::calcH_P ( Field_G iP)

Definition at line 277 of file hmc_General.cpp.

double HMC_General::langevin ( Field_G iP,
Field_G U 
)

Definition at line 146 of file hmc_General.cpp.

double HMC_General::langevin_P ( Field_G iP)

Definition at line 183 of file hmc_General.cpp.

void HMC_General::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
inline

Definition at line 108 of file hmc_General.h.

void HMC_General::set_parameters ( const Parameters params)

Definition at line 41 of file hmc_General.cpp.

void HMC_General::set_parameters ( int  Mtpl_test)

Definition at line 64 of file hmc_General.cpp.

void HMC_General::update ( Field_G conf_org)

Definition at line 80 of file hmc_General.cpp.

Member Data Documentation

valarray<Action *> HMC_General::m_action
private

actions

Definition at line 54 of file hmc_General.h.

valarray<Director *> HMC_General::m_director
private

directors

Definition at line 55 of file hmc_General.h.

Integrator* HMC_General::m_integrator
private

MD integrator.

Definition at line 56 of file hmc_General.h.

int HMC_General::m_Mtpl_test
private

Metropolis test: Mtpl_test=0: no test, !=0: test.

Definition at line 53 of file hmc_General.h.

RandomNumbers* HMC_General::m_rand
private

random number generator

Definition at line 57 of file hmc_General.h.

Staples* HMC_General::m_staple
private

Definition at line 58 of file hmc_General.h.

Bridge::VerboseLevel HMC_General::m_vl
private

Definition at line 59 of file hmc_General.h.


The documentation for this class was generated from the following files: