Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_F_Wilson_SF.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_F_WILSON_SF_INCLUDED
15 #define FORCE_F_WILSON_SF_INCLUDED
16 
17 #include "force.h"
18 #include "fopr_Wilson_SF.h"
19 #include "field_G_SF.h"
20 
21 #include "tensorProd.h"
22 
23 #include "bridgeIO.h"
24 using Bridge::vout;
25 
27 
38 //- parameters class
40 {
41  public:
43 };
44 //- end
45 
46 class Force_F_Wilson_SF : public Force
47 {
48  private:
50 
51  double m_kappa;
52  std::valarray<int> m_boundary;
55  std::string m_repr;
56 
57  public:
58 
60  {
61  // m_repr = "Dirac";
62  // m_fopr_w = new Fopr_Wilson_SF(m_repr);
63  m_fopr_w = new Fopr_Wilson_SF();
65  }
66 
67  /*
68  Force_F_Wilson_SF(std::string repr){
69  m_repr = repr;
70  m_fopr_w = new Fopr_Wilson_SF(m_repr);
71  m_boundary.resize(CommonParameters::Ndim());
72  }
73  */
75  {
76  delete m_fopr_w;
77  }
78 
79  void set_parameters(const Parameters& params);
80 
81  // void set_parameters (const Parameters_Fopr_Wilson_SF& params);
82  void set_parameters(double kappa, const std::valarray<int> bc);
83 
84  void set_config(Field *U)
85  {
86  m_U = (Field_G *)U;
87  m_fopr_w->set_config(U);
88  }
89 
90  Field force_core(const Field& eta);
91  Field force_udiv(const Field& eta);
92 
93  Field force_core1(const Field& zeta, const Field& eta);
94  Field force_udiv1(const Field& zeta, const Field& eta);
95  Field force_udiv1(const Field_F& zeta, const Field_F& eta);
96 };
97 #endif