Bridge++  Version 1.5.4
 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_F.h"
18 #include "tensorProd.h"
19 
20 #include "Field/field_G_SF.h"
21 #include "Fopr/fopr_Wilson_SF.h"
22 
23 #include "IO/bridgeIO.h"
24 using Bridge::vout;
25 
27 
39 class Force_F_Wilson_SF : public Force
40 {
41  public:
42  static const std::string class_name;
43 
44  private:
46 
47  double m_kappa;
48  std::vector<int> m_boundary;
51  std::string m_repr;
52 
53  public:
54 
56  {
57  // m_repr = "Dirac";
58  // m_fopr_w = new Fopr_Wilson_SF(m_repr);
59  m_fopr_w = new Fopr_Wilson_SF();
61  }
62 
64  {
65  delete m_fopr_w;
66  }
67 
68  void set_parameters(const Parameters& params);
69  void set_parameters(const double kappa, const std::vector<int> bc);
70 
71  void set_config(Field *U)
72  {
73  m_U = (Field_G *)U;
74  m_fopr_w->set_config(U);
75  }
76 
77  void force_udiv(Field& force, const Field& eta);
78  void force_udiv1(Field& force, const Field& zeta, const Field& eta);
79 
80  private:
81  void force_udiv1_impl(Field_G& force, const Field_F& zeta, const Field_F& eta);
82 };
83 #endif
BridgeIO vout
Definition: bridgeIO.cpp:503
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Container of Field-type object.
Definition: field.h:45
void set_config(Field *U)
Base class of fermion force calculation.
Definition: force_F.h:31
Class for parameters.
Definition: parameters.h:46
Wilson fermion operator with SF BC.
Wilson-type fermion field.
Definition: field_F.h:37
void set_config(Field *U)
setting pointer to the gauge configuration.
SU(N) gauge field.
Definition: field_G.h:38
Force for the standard Wilson fermion operator.
Fopr_Wilson_SF * m_fopr_w
static const std::string class_name
void set_parameters(const Parameters &params)
void force_udiv(Field &force, const Field &eta)
std::vector< int > m_boundary
void force_udiv1(Field &force, const Field &zeta, const Field &eta)