Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
force_F_Wilson_Nf2_Isochemical.h
Go to the documentation of this file.
1 
14 #ifndef FORCE_F_WILSON_NF2_ISOCHEMICAL_INCLUDED
15 #define FORCE_F_WILSON_NF2_ISOCHEMICAL_INCLUDED
16 
17 #include "force_F.h"
18 #include "tensorProd.h"
19 
21 
22 #include "IO/bridgeIO.h"
23 using Bridge::vout;
24 
26 
37 {
38  public:
39  static const std::string class_name;
40 
41  private:
42  double m_kappa;
43  double m_mu;
44  double m_exp_mu;
45  std::vector<int> m_boundary;
48 
49  std::string m_repr;
50  std::string m_mode;
51 
52  public:
53 
55  : Force()
56  {
57  m_repr = "Dirac";
60  }
61 
62  Force_F_Wilson_Nf2_Isochemical(const std::string repr)
63  : Force()
64  {
65  m_repr = repr;
68  }
69 
71  {
72  delete m_fopr_w;
73  }
74 
75  void set_parameters(const Parameters& params);
76  void set_parameters(const double kappa, const double mu, const std::vector<int> bc);
77 
78  void set_config(Field *U)
79  {
80  m_U = (Field_G *)U;
81  m_fopr_w->set_config(U);
82  }
83 
84  void set_mode(const std::string& mode)
85  {
86  m_mode = mode;
87  }
88 
89  void force_udiv(Field& force, const Field& eta);
90  void force_udiv1(Field& force, const Field& zeta, const Field& eta);
91 
92  private:
93  void force_udiv1_impl(Field_G& force, const Field_F& zeta, const Field_F& eta);
94 };
95 #endif
void set_config(Field *U)
setting pointer to the gauge configuration.
BridgeIO vout
Definition: bridgeIO.cpp:503
Container of Field-type object.
Definition: field.h:45
Field_G * m_U
Definition: force_F.h:68
void force_udiv1_impl(Field_G &force, const Field_F &zeta, const Field_F &eta)
Base class of fermion force calculation.
Definition: force_F.h:31
Class for parameters.
Definition: parameters.h:46
double m_mu
isospin chemical potential
Wilson-type fermion field.
Definition: field_F.h:37
Force for the Wilson fermion operator with isospin chemical potential.
SU(N) gauge field.
Definition: field_G.h:38
void set_parameters(const Parameters &params)
Wilson fermion operator with isospin chemical potential.
void force_udiv(Field &force, const Field &eta)
void force_udiv1(Field &force, const Field &zeta, const Field &eta)
void set_mode(const std::string &mode)
in Force, setting the mode is optional when H is nonhermitian.
Force_F_Wilson_Nf2_Isochemical(const std::string repr)