Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
langevin_Momentum.h
Go to the documentation of this file.
1 
15 #ifndef LANGEVIN_MOMENTUM_INCLUDED
16 #define LANGEVIN_MOMENTUM_INCLUDED
17 
18 #include "commonParameters.h"
19 #include "parameters.h"
20 #include "field_G.h"
21 #include "randomNumbers.h"
22 #include "generatorSet_Mat_SU_N.h"
23 
24 #include "bridgeIO.h"
25 using Bridge::vout;
26 
27 class RandomNumbers;
28 
30 
41 {
42  private:
45 
46  public:
49  m_vl(CommonParameters::Vlevel())
50  {
51  m_rand = rand;
52  }
53 
55 
57  double set_iP(Field_G& iP);
58 
59  private:
61  double set_iP_SU3(Field_G& iP);
62 
64  double set_iP_general_SU_N(Field_G& iP);
65 
67  double set_iP_SU3_alt(Field_G& iP);
68 };
69 
70 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
double set_iP_SU3_alt(Field_G &iP)
Alternative of set_iP_SU3() for checking set_iP_general_SU_N().
double set_iP(Field_G &iP)
Setting conjugate momenta and returns kinetic part of Hamiltonian.
double set_iP_SU3(Field_G &iP)
Implementation for SU(3)
SU(N) gauge field.
Definition: field_G.h:36
RandomNumbers * m_rand
double set_iP_general_SU_N(Field_G &iP)
Implementation for general value of Nc for SU(Nc) link variables.
Common parameter class: provides parameters as singleton.
Base class of random number generators.
Definition: randomNumbers.h:40
VerboseLevel
Definition: bridgeIO.h:25
Langevin_Momentum(RandomNumbers *rand)
Constructor requires a pointer to random number generator.
Bridge::VerboseLevel m_vl
Langevin part of HMC for conjugate momentum to link variable.