Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
gradientFlow.h
Go to the documentation of this file.
1 
13 #ifndef GRADIENTFLOW_INCLUDED
14 #define GRADIENTFLOW_INCLUDED
15 
16 #include "action.h"
17 #include "staples.h"
18 
19 #include "bridgeIO.h"
20 using Bridge::vout;
21 
23 
35 //- parameters class
36 class Parameters_GradientFlow : virtual public Parameters
37 {
38  public:
40 };
41 //- end
42 
44 {
45  public:
46  static const std::string class_name;
47 
48  protected:
50 
51  private:
53  double m_Estep;
54  int m_Nstep;
55  int m_Nprec;
56 
60 
61  int m_Ndim;
62  int m_Nvol;
63 
64  public:
66  : m_vl(CommonParameters::Vlevel()),
67  m_Ndim(CommonParameters::Ndim()),
68  m_Nvol(CommonParameters::Nvol())
69  {
75 
78 
79  m_Nprec = 0;
80  m_Nstep = 0;
81  m_Estep = 0.0;
82 
83  m_action = action;
84  }
85 
86  void update_U(double estep, Field_G& iP, Field_G& U);
87 
88  void set_parameters(const Parameters& params);
89  void set_parameters(const int order_RK,
90  const double Estep, const int Nstep, const int Nprec);
91 
93 
94  void gradientFlow_1st(Field_G& U);
95  void gradientFlow_2nd(Field_G& U);
96  void gradientFlow_3rd(Field_G& U);
97  void gradientFlow_4th(Field_G& U);
98 
99  double evolve(Field_G& U);
100 };
101 #endif
static const std::string class_name
Definition: gradientFlow.h:46
double m_Estep
Definition: gradientFlow.h:53
Field_G m_W_1
Definition: gradientFlow.h:59
BridgeIO vout
Definition: bridgeIO.cpp:207
GradientFlow construction.
Definition: gradientFlow.h:36
Action * m_action
Definition: gradientFlow.h:57
void update_U(double estep, Field_G &iP, Field_G &U)
void gradientFlow_3rd(Field_G &U)
void reset(const int Nvol, const int Nex)
Definition: field_G.h:75
GradientFlow(Action *action)
Definition: gradientFlow.h:65
Field_G m_iP3
Definition: gradientFlow.h:58
Class for parameters.
Definition: parameters.h:40
Base class of HMC action class family.
Definition: action.h:35
void gradientFlow_2nd(Field_G &U)
void gradientFlow_4th(Field_G &U)
void set_parameter_verboselevel(const Bridge::VerboseLevel vl)
Definition: gradientFlow.h:92
SU(N) gauge field.
Definition: field_G.h:36
Common parameter class: provides parameters as singleton.
double evolve(Field_G &U)
void gradientFlow_1st(Field_G &U)
Field_G m_iP
Definition: gradientFlow.h:58
Bridge::VerboseLevel vl
Definition: checker.cpp:18
Bridge::VerboseLevel m_vl
Definition: gradientFlow.h:49
VerboseLevel
Definition: bridgeIO.h:25
Field_G m_U_0
Definition: gradientFlow.h:59
Field_G m_iP2
Definition: gradientFlow.h:58
void set_parameters(const Parameters &params)
Field_G m_iP1
Definition: gradientFlow.h:58
Field_G m_iPP
Definition: gradientFlow.h:58