Bridge++  Ver. 1.3.x
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.h"
19 #include "staples_SF.h"
20 #include "shiftField_lex.h"
21 
22 #include "bridgeIO.h"
23 using Bridge::vout;
24 
26 
103 //- parameters class
105 {
106  public:
108 };
109 //- end
110 
112 {
113  public:
114  static const std::string class_name;
115 
116  private:
117  int Nc;
118 
119  double m_beta;
120  double m_c_plaq;
121  double m_c_rect;
122 
123  std::string m_label;
124 
128 
130 
133  // double *m_phi;
134  // double *m_phipr;
136  double m_ct;
138  double m_ctr;
139 
140  public:
142  : Action(), Nc(CommonParameters::Nc()), wk(Nc), wkpr(Nc)
143  {
144  }
145 
147 
148  void set_parameters(const Parameters& params);
149 
150  void set_parameters(double beta, double c_plaq, double c_rect,
151  double *phi, double *phipr, double ct, double ctr);
152 
153  void set_label(std::string label)
154  {
155  m_label = label;
156  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
157  }
158 
159  std::string get_label()
160  {
161  return m_label;
162  }
163 
164  void set_config(Field *U)
165  {
166  m_U = (Field_G *)U;
167  }
168 
169  double langevin(RandomNumbers *);
170 
171  double calcH();
172 
173  void force(Field&);
174 };
175 #endif
BridgeIO vout
Definition: bridgeIO.cpp:278
void detailed(const char *format,...)
Definition: bridgeIO.cpp:82
void set_label(std::string label)
Container of Field-type object.
Definition: field.h:39
Class for parameters.
Definition: parameters.h:38
Base class of HMC action class family.
Definition: action.h:42
void set_parameters(const Parameters &params)
Mat_SU_N wk
SF boundary condition.
SU(N) gauge field.
Definition: field_G.h:38
double m_ct
SF boundary improvement coefficient for the plaquatte action.
Common parameter class: provides parameters as singleton.
Bridge::VerboseLevel m_vl
Definition: action.h:81
Base class of random number generators.
Definition: randomNumbers.h:39
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.
void set_config(Field *U)
setting pointer to the gauge configuration.
HMC action class for rectangular gauge action with the SF BC.