Bridge++  Version 1.5.4
 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_F.h"
18 #include "tensorProd.h"
19 
20 #include "Fopr/fopr_Wilson_eo.h"
21 
22 #include "IO/bridgeIO.h"
23 using Bridge::vout;
24 
26 
38 class Force_F_Wilson_eo : public Force
39 {
40  public:
41  static const std::string class_name;
42 
43  private:
45 
46  double m_kappa;
47  std::vector<int> m_boundary;
50  std::string m_repr;
51 
53 
54  public:
55 
57  : Force()
58  {
59  m_repr = "Dirac";
62  }
63 
64  Force_F_Wilson_eo(const std::string repr)
65  : Force()
66  {
67  m_repr = repr;
70  }
71 
73  {
74  delete m_fopr_w;
75  }
76 
77  void set_parameters(const Parameters& params);
78  void set_parameters(const double kappa, const std::vector<int> bc);
79 
80  void set_config(Field *U)
81  {
82  m_U = (Field_G *)U;
83  m_fopr_w->set_config(U);
84  }
85 
88  void force_udiv(Field& force, const Field& eta);
89 
94  void force_udiv1(Field& force, const Field& zeta, const Field& eta);
95 
96  private:
97  void force_udiv1_impl(Field_G& force, const Field_F& zeta, const Field_F& eta);
98 };
99 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
Force for the Wilson fermion operator with even-odd precondition.
void set_parameters(const Parameters &params)
Container of Field-type object.
Definition: field.h:45
Org::Fopr_Wilson_eo Fopr_Wilson_eo
Even-odd Wilson fermion operator.
Field_G * m_U
Definition: force_F.h:68
Base class of fermion force calculation.
Definition: force_F.h:31
Class for parameters.
Definition: parameters.h:46
Even-odd site index.
Definition: index_eo.h:40
Fopr_Wilson_eo * m_fopr_w
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Wilson-type fermion field.
Definition: field_F.h:37
SU(N) gauge field.
Definition: field_G.h:38
void force_udiv(Field &force, const Field &eta)
static const std::string class_name
std::vector< int > m_boundary
Force_F_Wilson_eo(const std::string repr)
void set_config(Field *U)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void set_config(Field *U)
setting pointer to the gauge configuration.