Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_F_Domainwall.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_F_DOMAINWALL_INCLUDED
15 #define FORCE_F_DOMAINWALL_INCLUDED
16 
17 #include "force_F_Wilson_Nf2.h"
18 #include "fopr_Domainwall.h"
19 #include "index_lex.h"
20 
21 #include "bridgeIO.h"
22 using Bridge::vout;
23 
25 
34 //- parameters class
36 {
37  public:
39 };
40 //- end
41 
42 class Force_F_Domainwall : public Force
43 {
44  private:
47 
48  // parameters common to overlap fermion
49  double m_mq; // quark mass
50  double m_M0; // domain-wall height
51  int m_Ns; // size of fifth-dimension
52  std::valarray<int> m_boundary;
53 
57 
58  public:
59 
61  : Force()
62  {
63  m_fopr_w = new Fopr_Wilson;
67  }
68 
70  {
71  delete m_force_w;
72  delete m_fopr_dw;
73  delete m_fopr_w;
74  }
75 
76  void set_parameters(const Parameters& params);
77  void set_parameters(const double mq, const double M0, const int Ns,
78  const std::valarray<int> bc);
79 
80  void set_config(Field *U)
81  {
82  m_U = (Field_G *)U;
83  m_fopr_w->set_config(U);
86  }
87 
88  Field force_core(const Field& eta);
89 
90  Field force_udiv(const Field& eta);
91  Field force_udiv1(const Field& zeta, const Field& eta);
92 };
93 #endif