Bridge++  Ver. 2.0.2
fprop_Standard_Precond.h
Go to the documentation of this file.
1 #ifndef FPROP_STANDARD_PRECOND_INCLUDED
2 #define FPROP_STANDARD_PRECOND_INCLUDED
3 
5 #include "Field/field.h"
6 #include "Fopr/fopr.h"
7 //class Fopr;
8 class Solver;
9 
10 
12 
18 {
19  private:
22 
23  public:
25  : m_fopr(fopr)
26  {
27  init();
28  }
29 
31  {
32  tidyup();
33  }
34 
35  void invert_D(Field&, const Field&, int& Nconv, double& diff);
36  void invert_DdagD(Field&, const Field&, int& Nconv, double& diff);
37 
38  void set_config(Field *);
39 
40  double flop_count();
41 
42  private:
43 
44  void invert_D_prec(Field&, const Field&, int& Nconv, double& diff);
45  void invert_D_plain(Field&, const Field&, int& Nconv, double& diff);
46 
47  void invert_DdagD_prec(Field&, const Field&, int& Nconv, double& diff);
48  void invert_DdagD_plain(Field&, const Field&, int& Nconv, double& diff);
49 
50  void init();
51  void tidyup();
52 };
53 
54 #endif
Fprop_Standard_Precond::tidyup
void tidyup()
Definition: fprop_Standard_Precond.cpp:33
AFopr< Field >
Fprop_Standard_Precond::invert_DdagD_plain
void invert_DdagD_plain(Field &, const Field &, int &Nconv, double &diff)
Definition: fprop_Standard_Precond.cpp:149
Fprop_Standard_Precond::m_fopr
Fopr * m_fopr
Definition: fprop_Standard_Precond.h:20
Fprop_Standard_Precond::m_solver
Solver * m_solver
Definition: fprop_Standard_Precond.h:21
Fprop_Standard_Precond::invert_DdagD_prec
void invert_DdagD_prec(Field &, const Field &, int &Nconv, double &diff)
Definition: fprop_Standard_Precond.cpp:101
Fprop_Standard_Precond::~Fprop_Standard_Precond
~Fprop_Standard_Precond()
Definition: fprop_Standard_Precond.h:30
Fprop_Standard_Precond::invert_DdagD
void invert_DdagD(Field &, const Field &, int &Nconv, double &diff)
Definition: fprop_Standard_Precond.cpp:53
Fprop_Standard_Precond::invert_D_plain
void invert_D_plain(Field &, const Field &, int &Nconv, double &diff)
Definition: fprop_Standard_Precond.cpp:128
Fprop_Standard_Precond
Solving quark propagator with LU preconditioning.
Definition: fprop_Standard_Precond.h:17
Fprop_Standard_Precond::invert_D
void invert_D(Field &, const Field &, int &Nconv, double &diff)
Definition: fprop_Standard_Precond.cpp:40
Solver
Base class for linear solver class family.
Definition: solver.h:36
Fprop_Standard_Precond::flop_count
double flop_count()
Definition: fprop_Standard_Precond.cpp:161
Fprop_Standard_Precond::set_config
void set_config(Field *)
Definition: fprop_Standard_Precond.cpp:11
field.h
Fprop_Standard_Precond::Fprop_Standard_Precond
Fprop_Standard_Precond(Fopr *fopr)
Definition: fprop_Standard_Precond.h:24
Fprop
Base class for fermion propagator class family.
Definition: fprop.h:34
Fprop_Standard_Precond::invert_D_prec
void invert_D_prec(Field &, const Field &, int &Nconv, double &diff)
Definition: fprop_Standard_Precond.cpp:75
fopr.h
Field
Container of Field-type object.
Definition: field.h:46
Fprop_Standard_Precond::init
void init()
Definition: fprop_Standard_Precond.cpp:18
fprop.h