ShyLU
Version of the Day
|
DirectSolverInterface class templated on Epetra/Tpetra Matrix and Vector. More...
#include <shylu_directsolver_interface_decl.hpp>
Public Member Functions | |
DirectSolverInterface () | |
Main constructor of class. More... | |
DirectSolverInterface (Matrix *inA, Teuchos::ParameterList *pList) | |
int | init_matrix (Matrix *inA, Teuchos::ParameterList *pList) |
int | factor () |
int | solve (Vector *b, Vector *x) |
template<> | |
int | factor () |
template<> | |
int | solve (Epetra_MultiVector *b, Epetra_MultiVector *x) |
DirectSolverInterface class templated on Epetra/Tpetra Matrix and Vector.
This class acts as an interface that will allow Shylu to call either Amesos/Amesos2 without having to address if the matrix/submatrix is either of Epetra or Tpetra form. Currently: Only supporting limited solvers in both Amesos and Amesos2, will be updated
Definition at line 103 of file shylu_directsolver_interface_decl.hpp.
ShyLU::DirectSolverInterface< Matrix, Vector >::DirectSolverInterface | ( | ) |
Main constructor of class.
This constructor requires a Teuchos ParameterList that provides information on solver. It assumes that if Tpetra matrix is given then Amesos2 ParameterList must be given. Likewise, if Epetra matrix is given then Amesos ParameterList must be given.
Definition at line 61 of file shylu_directsolver_interface_def.hpp.