Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_G_Plaq_SF.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_G_PLAQ_SF_INCLUDED
15 #define FORCE_G_PLAQ_SF_INCLUDED
16 
17 #include "force_G.h"
18 
20 
21 #include "IO/bridgeIO.h"
22 using Bridge::vout;
23 
24 
64 class Force_G_Plaq_SF : public Force_G
65 {
66  public:
67  static const std::string class_name;
68 
69  private:
70  //- NB. m_U has been defined in force_G.h
71  // Field_G *m_U;
72 
73  double m_beta;
74 
76  double *m_phi;
78  double *m_phipr;
80  double m_ct;
81 
83 
84  public:
86  : Force_G() {}
87 
89 
90  void set_parameters(const Parameters& params);
91  void set_parameters(const double beta,
92  double *phi, double *phipr, const double ct);
93 
94  //- NB. set_config has been defined in force_G.h
95  // void set_config(Field *U)
96 
97  void force_core(Field&);
98 
102  void print_force(const Field_G *);
103 
104 #ifdef USE_FACTORY
105  private:
106  static Force_G *create_object()
107  {
108  return new Force_G_Plaq_SF();
109  }
110 
111  public:
112  static bool register_factory()
113  {
114  return Force_G::Factory::Register("Force_G_Plaq_SF", create_object);
115  }
116 #endif
117 };
118 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
Staple_SF m_staple
Container of Field-type object.
Definition: field.h:45
double * m_phi
SF boundary condition at t=0.
Staple construction.
Definition: staple_SF.h:36
Class for parameters.
Definition: parameters.h:46
SU(N) gauge field.
Definition: field_G.h:38
Base class of gauge force calculation.
Definition: force_G.h:31
void set_parameters(const Parameters &params)
static const std::string class_name
void print_force(const Field_G *)
Print out the gauge force for the boundary spatial links (for debugging).
double * m_phipr
SF boundary condition at t=Nt.
void force_core(Field &)
double m_ct
SF boundary improvement coefficient for the plaquatte force.
HMC force class for plaquette gauge force with SF BC.