Bridge++  Version 1.4.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
action_G_Rectangle_SF.h
Go to the documentation of this file.
1 
15 #ifndef ACTION_G_RECTANGLE_SF_INCLUDED
16 #define ACTION_G_RECTANGLE_SF_INCLUDED
17 
18 #include "Action/action.h"
20 
21 #include "IO/bridgeIO.h"
22 using Bridge::vout;
23 
25 
104 {
105  public:
106  static const std::string class_name;
107 
108  private:
109  int m_Nc;
110 
111  double m_beta;
112  double m_c_plaq;
113  double m_c_rect;
114 
115  std::string m_label;
116 
121 
124  // double *m_phi;
125  // double *m_phipr;
127  double m_ct;
129  double m_ctr;
130 
131  public:
134  {
135  m_force_G = Force_G::New("Force_G_Rectangle_SF");
136  }
137 
139  {
140  delete m_force_G;
141  }
142 
143  void set_parameters(const Parameters& params);
144 
145  void set_parameters(double beta, double c_plaq, double c_rect,
146  double *phi, double *phipr, double ct, double ctr);
147 
148  void set_label(std::string label)
149  {
150  m_label = label;
151  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
152  }
153 
154  std::string get_label()
155  {
156  return m_label;
157  }
158 
159  void set_config(Field *U)
160  {
161  m_U = (Field_G *)U;
162  }
163 
164  double langevin(RandomNumbers *);
165 
166  double calcH();
167 
168  void force(Field&);
169 };
170 #endif
BridgeIO vout
Definition: bridgeIO.cpp:495
void detailed(const char *format,...)
Definition: bridgeIO.cpp:212
void set_label(std::string label)
Container of Field-type object.
Definition: field.h:39
Staple construction.
Definition: staple_SF.h:38
Class for parameters.
Definition: parameters.h:46
Base class of HMC action class family.
Definition: action.h:36
void set_parameters(const Parameters &params)
SU(N) gauge field.
Definition: field_G.h:38
Base class of gauge force calculation.
Definition: force_G.h:31
double m_ct
SF boundary improvement coefficient for the plaquatte action.
Common parameter class: provides parameters as singleton.
HMC action class for rectangular gauge action with the SF BC.
Bridge::VerboseLevel m_vl
Definition: action.h:75
Base class of random number generators.
Definition: randomNumbers.h:36
double m_ctr
SF boundary improvement coefficient for the rectangle action.
static const std::string class_name
double langevin(RandomNumbers *)
Langevis step.
Methods to shift a field in the lexical site index.
Mat_SU_N m_wk
SF boundary condition.
void set_config(Field *U)
setting pointer to the gauge configuration.