Bridge++  Ver. 1.1.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
solver_CGNR.h
Go to the documentation of this file.
1 
14 #ifndef SOLVER_CGNR_INCLUDED
15 #define SOLVER_CGNR_INCLUDED
16 
17 #include "solver_CG.h"
18 
19 //- parameters class
20 class Parameters_Solver_CGNR : virtual public Parameters
21 {
22  public:
24 };
25 //- end
26 
28 
38 class Solver_CGNR : public Solver_CG
39 {
40  public:
41 
43  : Solver_CG(fopr) {}
44 
46 
47  void set_parameters(const Parameters& params);
48 
49  void solve(Field& solution, const Field& source, int& Nconv, double& diff);
50 
51  Fopr *get_fopr() { return this->Solver_CG::get_fopr(); }
52 
53  private:
54 };
55 #endif