OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
AmrPreconditioner.h
Go to the documentation of this file.
1 #ifndef AMR_PRECONDITIONER_H
2 #define AMR_PRECONDITIONER_H
3 
4 #include "AmrMultiGridDefs.h"
5 
6 namespace amr {
8  NONE,
9  ILUT,
12  SA,
15  GS,
17  };
18 }
19 
21 template <class Matrix, class Level>
23 {
24 public:
26 
27 public:
28 
34  virtual void create(const Teuchos::RCP<Matrix>& A, Level* level_p = nullptr) = 0;
35 
39  virtual Teuchos::RCP<operator_t> get() = 0;
40 };
41 
42 
43 #endif
amr::operator_t operator_t
virtual void create(const Teuchos::RCP< Matrix > &A, Level *level_p=nullptr)=0
Bottom solver preconditioners.
Jacobi block relaxation.
incomplete LU
smoothed aggregation multigrid
Jacobi point relaxation.
bool amr
Definition: Options.cpp:100
Gauss-Seidel block relaxation.
Gauss-Seidel point relaxation.
Tpetra::Operator< scalar_t, local_ordinal_t, global_ordinal_t, node_t > operator_t