Bridge++  Ver. 1.3.x
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 
37 //- parameters class
39 {
40  public:
42 };
43 //- end
44 
46 {
47  public:
48  static const std::string class_name;
49 
50  protected:
52 
53  private:
56 
57  int m_Niter;
58  double m_Stop_cond;
59 
60  int m_Nshift;
61  std::vector<double> m_sigma;
62 
63  public:
65  : m_vl(CommonParameters::Vlevel()),
66  m_fopr(fopr), m_index_lex(index) {}
67 
69  : m_vl(CommonParameters::Vlevel()),
70  m_fopr((Fopr_Wilson *)fopr.get()), m_index_lex(index.get()) {}
71 
72  private:
73  // non-copyable
76 
77  public:
78 
79  void set_parameters(const Parameters& params);
80  void set_parameters(const int Nshift, const std::vector<double> sigma,
81  const int Niter, const double Stop_cond);
82 
83  double calc(std::vector<Field_F> *,
84  const Field_F&);
85 };
86 #endif
Get shifted quark propagators.
BridgeIO vout
Definition: bridgeIO.cpp:278
Fprop_Wilson_Shift(Fopr_Wilson *fopr, Index_lex *index)
Fprop_Wilson_Shift(unique_ptr< Fopr > &fopr, unique_ptr< Index_lex > &index)
static const std::string class_name
Fprop_Wilson_Shift & operator=(const Fprop_Wilson_Shift &)
Class for parameters.
Definition: parameters.h:38
Wilson-type fermion field.
Definition: field_F.h:37
std::vector< double > m_sigma
Common parameter class: provides parameters as singleton.
Lexical site index.
Definition: index_lex.h:34
VerboseLevel
Definition: bridgeIO.h:39
Bridge::VerboseLevel m_vl
void set_parameters(const Parameters &params)
double calc(std::vector< Field_F > *, const Field_F &)