Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_F_Wilson_eo.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_F_WILSON_EO_INCLUDED
15 #define FORCE_F_WILSON_EO_INCLUDED
16 
17 #include "force.h"
18 
19 #include "fopr_Wilson_eo.h"
20 #include "index_eo.h"
21 
22 #include "gammaMatrix.h"
23 
24 #include "tensorProd.h"
25 
26 #include "bridgeIO.h"
27 using Bridge::vout;
28 
30 
41 //- parameters class
43 {
44  public:
46 };
47 //- end
48 
49 class Force_F_Wilson_eo : public Force
50 {
51  private:
54 
55  double m_kappa;
56  std::valarray<int> m_boundary;
59  std::string m_repr;
60 
62 
63  public:
64 
66  : Force()
67  {
68  m_repr = "Dirac";
71  }
72 
73  Force_F_Wilson_eo(std::string repr)
74  : Force()
75  {
76  m_repr = repr;
79  }
80 
82  {
83  delete m_fopr_w;
84  }
85 
86  void set_parameters(const Parameters& params);
87  void set_parameters(double kappa, const std::valarray<int> bc);
88 
89  void set_config(Field *U)
90  {
91  m_U = (Field_G *)U;
92  m_fopr_w->set_config(U);
93  }
94 
98  Field force_core(const Field& eta);
99 
102  Field force_udiv(const Field& eta);
103 
108  Field force_core1(const Field& zeta, const Field& eta);
109 
110  Field force_udiv1(const Field& zeta, const Field& eta);
111  Field force_udiv1(const Field_F& zeta, const Field_F& eta);
112 };
113 #endif