Bridge++  Ver. 1.2.x
 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.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;
125 
130 
132 
135  // double *m_phi;
136  // double *m_phipr;
138  double m_ct;
140  double m_ctr;
141 
142  public:
144  : Action(), Nc(CommonParameters::Nc()), wk(Nc), wkpr(Nc)
145  {
146  }
147 
149 
150  void set_parameters(const Parameters& params);
151 
152  void set_parameters(double beta, double c_plaq, double c_rect,
153  double *phi, double *phipr, double ct, double ctr);
154 
155  void set_label(std::string label)
156  {
157  m_label = label;
158  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
159  }
160 
161  std::string get_label()
162  {
163  return m_label;
164  }
165 
166  void set_config(Field *U)
167  {
168  m_U = (Field_G *)U;
169  }
170 
172  {
173  m_status_linkv = 0;
174  }
175 
176  double langevin(RandomNumbers *);
177 
178  double calcH();
179 
180  // double calcH_slow();
181 
182  const Field force();
183 
184  // const Field force_slow();
185 };
186 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
void detailed(const char *format,...)
Definition: bridgeIO.cpp:50
void set_label(std::string label)
Container of Field-type object.
Definition: field.h:37
void notify_linkv()
to be called when gauge configuration is updated.
Class for parameters.
Definition: parameters.h:40
Base class of HMC action class family.
Definition: action.h:35
void set_parameters(const Parameters &params)
Mat_SU_N wk
SF boundary condition.
SU(N) gauge field.
Definition: field_G.h:36
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:64
Base class of random number generators.
Definition: randomNumbers.h:40
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.