Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
action_G_Plaq_SF.h
Go to the documentation of this file.
1 
14 #ifndef ACTION_G_PLAQ_SF_INCLUDED
15 #define ACTION_G_PLAQ_SF_INCLUDED
16 
17 #include "action.h"
18 #include "staples_SF.h"
19 
20 #include "bridgeIO.h"
21 using Bridge::vout;
22 
23 //- parameters class
25 {
26  public:
28 };
29 //- end
30 
70 class Action_G_Plaq_SF : public Action
71 {
72  public:
73  static const std::string class_name;
74 
75  private:
76  double m_beta;
77 
79  double *m_phi;
81  double *m_phipr;
83  double m_ct;
84 
85  std::string m_label;
87 
91 
93 
94  public:
96  : Action() {}
97 
99 
100  void set_parameters(const Parameters& params);
101  void set_parameters(double beta, double *phi, double *phipr, double ct);
102 
103  void set_label(std::string label)
104  {
105  m_label = label;
106  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
107  }
108 
109  std::string get_label()
110  {
111  return m_label;
112  }
113 
114  void set_config(Field *U)
115  {
116  m_U = (Field_G *)U;
117  }
118 
120  {
121  m_status_linkv = 0;
122  }
123 
124  double langevin(RandomNumbers *);
125 
126  double calcH();
127 
128  const Field force();
129 
133  void print_force(const Field_G *);
134 };
135 #endif
BridgeIO vout
Definition: bridgeIO.cpp:207
void detailed(const char *format,...)
Definition: bridgeIO.cpp:50
void set_parameters(const Parameters &params)
Container of Field-type object.
Definition: field.h:37
std::string m_label
Class for parameters.
Definition: parameters.h:40
RandomNumbers * m_rand
Base class of HMC action class family.
Definition: action.h:35
std::string get_label()
HMC action class for plaquette gauge action with SF BC.
void set_label(std::string label)
SU(N) gauge field.
Definition: field_G.h:36
double m_ct
SF boundary improvement coefficient for the plaquatte action.
void set_config(Field *U)
setting pointer to the gauge configuration.
void notify_linkv()
to be called when gauge configuration is updated.
double * m_phipr
SF boundary condition at t=Nt.
void print_force(const Field_G *)
Print out the gauge force for the boundary spatial links (for debugging).
Bridge::VerboseLevel m_vl
Definition: action.h:64
Base class of random number generators.
Definition: randomNumbers.h:40
static const std::string class_name
double langevin(RandomNumbers *)
Langevis step.
double * m_phi
SF boundary condition at t=0.