Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_G_Rectangle_SF.h
Go to the documentation of this file.
1 
15 #ifndef FORCE_G_RECTANGLE_SF_INCLUDED
16 #define FORCE_G_RECTANGLE_SF_INCLUDED
17 
18 #include "force_G.h"
19 
21 
22 #include "IO/bridgeIO.h"
23 using Bridge::vout;
24 
26 
104 {
105  public:
106  static const std::string class_name;
107 
108  private:
109  //- NB. m_U has been defined in force_G.h
110  // Field_G *m_U;
111 
112  int m_Nc;
113 
114  double m_beta;
115  double m_c_plaq;
116  double m_c_rect;
117 
118  std::string m_label;
119 
122 
125  // double *m_phi;
126  // double *m_phipr;
128  double m_ct;
130  double m_ctr;
131 
132  public:
135  {
136  }
137 
139 
140  void set_parameters(const Parameters& params);
141 
142  void set_parameters(const double beta, const double c_plaq, const double c_rect,
143  double *phi, double *phipr, const double ct, const double ctr);
144 
145  //- NB. set_config has been defined in force_G.h
146  // void set_config(Field *U);
147 
148  void force_core(Field&);
149 
150 #ifdef USE_FACTORY
151  private:
152  static Force_G *create_object()
153  {
154  return new Force_G_Rectangle_SF();
155  }
156 
157  public:
158  static bool register_factory()
159  {
160  return Force_G::Factory::Register("Force_G_Rectangle_SF", create_object);
161  }
162 #endif
163 };
164 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
static const std::string class_name
Container of Field-type object.
Definition: field.h:45
Staple construction.
Definition: staple_SF.h:36
void set_parameters(const Parameters &params)
Class for parameters.
Definition: parameters.h:46
double m_ct
SF boundary improvement coefficient for the plaquatte action.
Base class of gauge force calculation.
Definition: force_G.h:31
Common parameter class: provides parameters as singleton.
Mat_SU_N m_wk
SF boundary condition.
HMC force class for rectangular gauge action with the SF BC.
double m_ctr
SF boundary improvement coefficient for the rectangle action.
Methods to shift a field in the lexical site index.