Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_F_TMWilson_Nf2.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_TMFWILSON_NF2_INCLUDED
15 #define FORCE_TMFWILSON_NF2_INCLUDED
16 
17 #include "force.h"
18 #include "fopr_TMWilson.h"
19 
20 #include "tensorProd.h"
21 
22 #include "bridgeIO.h"
23 using Bridge::vout;
24 
26 
38 //- parameters class
40 {
41  public:
43 };
44 //- end
45 
47 {
48  private:
50 
51  double m_kappa;
52  double m_tw_mass;
53  std::valarray<int> m_boundary;
56  std::string m_repr;
57 
58  public:
59 
61  : Force()
62  {
63  m_repr = "Dirac";
66  }
67 
68  Force_F_TMWilson_Nf2(std::string repr)
69  : Force()
70  {
71  m_repr = repr;
74  }
75 
77  {
78  delete m_fopr_tw;
79  }
80 
81  void set_parameters(const Parameters& params);
82 
83  // void set_parameters (const Parameters_Fopr_TMWilson& params);
84  void set_parameters(const double kappa, const double tw_mass,
85  const std::valarray<int> bc);
86 
87  void set_config(Field *U)
88  {
89  m_U = (Field_G *)U;
91  }
92 
93  Field force_core(const Field& eta);
94  Field force_core1(const Field& zeta, const Field& eta);
95 
96  Field force_udiv(const Field& eta);
97  Field force_udiv1(const Field& zeta, const Field& eta);
98 
99  private:
100  Field force_udiv1(const Field_F& zeta, const Field_F& eta);
101 };
102 #endif