Bridge++  Ver. 1.1.x
 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.h"
19 
20 #include "tensorProd.h"
21 
22 #include "bridgeIO.h"
23 using Bridge::vout;
24 
26 
35 //- parameters class
37 {
38  public:
40 };
41 //- end
42 
44 {
45  private:
47 
48  double m_kappa;
49  double m_mu;
50  double m_exp_mu;
51  std::valarray<int> m_boundary;
54 
55  std::string m_repr;
56  std::string m_mode;
57 
58  public:
59 
61  : Force()
62  {
63  m_repr = "Dirac";
66  }
67 
69  : Force()
70  {
71  m_repr = repr;
74  }
75 
77  {
78  delete m_fopr_w;
79  }
80 
81  void set_parameters(const Parameters& params);
82 
83  // void set_parameters (const Parameters_Fopr_Wilson_Isochemical& params);
84  void set_parameters(const double kappa, const double mu, const std::valarray<int> bc);
85 
86  void set_config(Field *U)
87  {
88  m_U = (Field_G *)U;
89  m_fopr_w->set_config(U);
90  }
91 
92  void set_mode(std::string mode)
93  {
94  m_mode = mode;
95  }
96 
97  Field force_core(const Field& eta);
98  Field force_core1(const Field& zeta, const Field& eta);
99 
100  Field force_udiv(const Field& eta);
101  Field force_udiv1(const Field& zeta, const Field& eta);
102  Field force_udiv1(const Field_F& zeta, const Field_F& eta);
103 };
104 #endif