Bridge++  Ver. 1.1.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  private:
73  double m_beta;
74 
76  double *m_phi;
78  double *m_phipr;
80  double m_ct;
81 
82  std::string m_label;
84 
88 
90 
91  public:
93  : Action() {}
94 
96 
97  void set_parameters(const Parameters& params);
98  void set_parameters(double beta, double *phi, double *phipr, double ct);
99 
100  void set_label(std::string label)
101  {
102  m_label = label;
103  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
104  }
105 
106  std::string get_label()
107  {
108  return m_label;
109  }
110 
111  void set_config(Field *U)
112  {
113  m_U = (Field_G *)U;
114  }
115 
117  {
118  m_status_linkv = 0;
119  }
120 
121  double langevin(RandomNumbers *);
122 
123  double calcH();
124 
125  const Field force();
126 
130  void print_force(const Field_G *);
131 };
132 #endif