Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fprop_Wilson_Shift.h
Go to the documentation of this file.
1 
14 #ifndef FPROP_WILSON_SHIFT_INCLUDED
15 #define FPROP_WILSON_SHIFT_INCLUDED
16 
17 #include "fopr_Wilson.h"
18 #include "index_lex.h"
19 #include "shiftsolver_CG.h"
20 
21 #include "bridgeIO.h"
22 using Bridge::vout;
23 
25 
35 //- parameters class
37 {
38  public:
40 };
41 //- end
42 
44 {
45  protected:
47 
48  private:
51 
52  int m_Niter;
53  double m_Stop_cond;
54 
55  int m_Nshift;
56  std::valarray<double> m_sigma;
57 
58  public:
60  : m_vl(CommonParameters::Vlevel()),
61  m_fopr(fopr), m_index_lex(index) {}
62 
63  void set_parameters(const Parameters& params);
64  void set_parameters(const int Nshift, const std::valarray<double> sigma,
65  const int Niter, const double Stop_cond);
66 
67  double calc(std::valarray<Field_F> *,
68  const Field_F&);
69 };
70 #endif