Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_F_Wilson_Nf2.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_F_WILSON_NF2_INCLUDED
15 #define FORCE_F_WILSON_NF2_INCLUDED
16 
17 #include "force_F.h"
18 #include "tensorProd.h"
19 
20 #include "Fopr/fopr_Wilson.h"
21 
22 #include "IO/bridgeIO.h"
23 using Bridge::vout;
24 
26 
38 class Force_F_Wilson_Nf2 : public Force
39 {
40  public:
41  static const std::string class_name;
42 
43  private:
44  double m_kappa;
45  std::vector<int> m_boundary;
48  std::string m_repr;
49 
50  public:
52  : Force()
53  {
54  m_repr = "Dirac";
57  }
58 
59  Force_F_Wilson_Nf2(const std::string repr)
60  : Force()
61  {
62  m_repr = repr;
65  }
66 
68  {
69  delete m_fopr_w;
70  }
71 
72  void set_parameters(const Parameters& params);
73  void set_parameters(const double kappa, const std::vector<int> bc);
74 
75  void set_config(Field *U)
76  {
77  m_U = (Field_G *)U;
78  m_fopr_w->set_config(U);
79  }
80 
81  void force_udiv(Field& force, const Field& eta);
82  void force_udiv1(Field& force, const Field& zeta, const Field& eta);
83 
84  private:
85  void force_udiv1_impl(Field_G& force, const Field_F& zeta, const Field_F& eta);
86 };
87 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
std::vector< int > m_boundary
void set_config(Field *U)
setting pointer to the gauge configuration.
Container of Field-type object.
Definition: field.h:45
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
Fopr_Wilson * m_fopr_w
Wilson-type fermion field.
Definition: field_F.h:37
void set_config(Field *U)
SU(N) gauge field.
Definition: field_G.h:38
void force_udiv(Field &force, const Field &eta)
static const std::string class_name
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void set_parameters(const Parameters &params)
Force for the standard Wilson fermion operator.
Org::Fopr_Wilson Fopr_Wilson
Wilson fermion operator.
Definition: fopr_Wilson.h:60
Force_F_Wilson_Nf2(const std::string repr)