Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
action_F_Standard_SF.h
Go to the documentation of this file.
1 
14 #ifndef ACTION_FSTANDARD_SF_INCLUDED
15 #define ACTION_FSTANDARD_SF_INCLUDED
16 
17 #include "action.h"
18 #include "solver.h"
19 
20 #include "field_G_SF.h"
21 #include "field_F_SF.h"
22 
23 #include "bridgeIO.h"
24 using Bridge::vout;
25 
27 
51 {
52  private:
56  std::string m_label;
58 
60 
63 
65 
69  int Svol;
71  int m_Nc2;
73  int m_Nd;
74 
75  // A function to set the pseudo fermion field to zero at the t=0 boundary.
76  // void set_boundary_zero(Field&);
77 
78  public:
79 
80  Action_F_Standard_SF(Fopr *fopr, Force *fopr_force)
81  : Action(), m_fopr(fopr), m_fopr_force(fopr_force)
82  {
84  }
85 
87  {
88  delete m_solver;
89  }
90 
91  void set_parameters(const Parameters&);
92  void set_parameters();
93 
94  void set_label(std::string label)
95  {
96  m_label = label;
97  vout.detailed(m_vl, " label: %s\n", m_label.c_str());
98  }
99 
100  std::string get_label()
101  {
102  return m_label;
103  }
104 
105  void set_config(Field *U)
106  {
107  m_U = U;
108  m_fopr->set_config(U);
110  }
111 
113  {
114  m_status_linkv = 0;
115  }
116 
117  double langevin(RandomNumbers *);
118 
119  double calcH();
120 
121  const Field force();
122 };
123 #endif