Bridge++  Ver. 1.3.x
action_G_Plaq_SF.h
Go to the documentation of this file.
1 
14 #ifndef ACTION_G_PLAQ_SF_INCLUDED
15 #define ACTION_G_PLAQ_SF_INCLUDED
16 
17 #include "action.h"
18 #include "staples_SF.h"
19 
20 #include "bridgeIO.h"
21 using Bridge::vout;
22 
23 //- parameters class
25 {
26  public:
28 };
29 //- end
30 
70 class Action_G_Plaq_SF : public Action
71 {
72  public:
73  static const std::string class_name;
74 
75  private:
76  double m_beta;
77 
79  double *m_phi;
81  double *m_phipr;
83  double m_ct;
84 
85  std::string m_label;
86 
89 
91 
92  public:
94  : Action() {}
95 
97 
98  void set_parameters(const Parameters& params);
99  void set_parameters(double beta, double *phi, double *phipr, double ct);
100 
101  void set_label(std::string label)
102  {
103  m_label = label;
104  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
105  }
106 
107  std::string get_label()
108  {
109  return m_label;
110  }
111 
112  void set_config(Field *U)
113  {
114  m_U = (Field_G *)U;
115  }
116 
117  double langevin(RandomNumbers *);
118 
119  double calcH();
120 
121  void force(Field&);
122 
126  void print_force(const Field_G *);
127 };
128 #endif
BridgeIO vout
Definition: bridgeIO.cpp:278
void detailed(const char *format,...)
Definition: bridgeIO.cpp:82
void set_parameters(const Parameters &params)
Container of Field-type object.
Definition: field.h:39
std::string m_label
Class for parameters.
Definition: parameters.h:38
RandomNumbers * m_rand
Base class of HMC action class family.
Definition: action.h:42
std::string get_label()
HMC action class for plaquette gauge action with SF BC.
void set_label(std::string label)
SU(N) gauge field.
Definition: field_G.h:38
double m_ct
SF boundary improvement coefficient for the plaquatte action.
void set_config(Field *U)
setting pointer to the gauge configuration.
double * m_phipr
SF boundary condition at t=Nt.
void print_force(const Field_G *)
Print out the gauge force for the boundary spatial links (for debugging).
Bridge::VerboseLevel m_vl
Definition: action.h:81
Base class of random number generators.
Definition: randomNumbers.h:39
static const std::string class_name
double langevin(RandomNumbers *)
Langevis step.
double * m_phi
SF boundary condition at t=0.