LifeV
|
#include <SolverPolicyLinearSolver.hpp>
Public Types | |
typedef MatrixEpetra< Real > | matrix_Type |
typedef std::shared_ptr< matrix_Type > | matrixPtr_Type |
typedef VectorEpetra | vector_Type |
typedef std::shared_ptr< VectorEpetra > | vectorPtr_Type |
typedef Epetra_Comm | comm_Type |
typedef std::shared_ptr< comm_Type > | commPtr_Type |
typedef LinearSolver | solver_Type |
typedef std::shared_ptr< solver_Type > | solverPtr_Type |
typedef Preconditioner | preconditioner_Type |
typedef std::shared_ptr< preconditioner_Type > | preconditionerPtr_Type |
Public Member Functions | |
void | setPreconditioner (preconditionerPtr_Type preconditionerPtr) |
Method to set a preconditioner. More... | |
preconditionerPtr_Type | preconditioner () |
Method to get a preconditioner. More... | |
Protected Member Functions | |
void | initSolver (Teuchos::ParameterList &list) |
int | solve (matrixPtr_Type systemMatrix, vectorPtr_Type rhs, vectorPtr_Type solution) |
virtual Displayer | displayer ()=0 |
virtual commPtr_Type | comm ()=0 |
Protected Attributes | |
solverPtr_Type | M_solver |
Definition at line 65 of file SolverPolicyLinearSolver.hpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 68 of file SolverPolicyLinearSolver.hpp.
typedef std::shared_ptr<matrix_Type> matrixPtr_Type |
Definition at line 69 of file SolverPolicyLinearSolver.hpp.
typedef VectorEpetra vector_Type |
Definition at line 70 of file SolverPolicyLinearSolver.hpp.
typedef std::shared_ptr<VectorEpetra> vectorPtr_Type |
Definition at line 71 of file SolverPolicyLinearSolver.hpp.
typedef Epetra_Comm comm_Type |
Definition at line 72 of file SolverPolicyLinearSolver.hpp.
typedef std::shared_ptr<comm_Type> commPtr_Type |
Definition at line 73 of file SolverPolicyLinearSolver.hpp.
typedef LinearSolver solver_Type |
Definition at line 74 of file SolverPolicyLinearSolver.hpp.
typedef std::shared_ptr< solver_Type > solverPtr_Type |
Definition at line 75 of file SolverPolicyLinearSolver.hpp.
typedef Preconditioner preconditioner_Type |
Definition at line 76 of file SolverPolicyLinearSolver.hpp.
typedef std::shared_ptr<preconditioner_Type> preconditionerPtr_Type |
Definition at line 77 of file SolverPolicyLinearSolver.hpp.
void setPreconditioner | ( | preconditionerPtr_Type | preconditionerPtr | ) |
Method to set a preconditioner.
preconditionerPtr | Preconditioner to be used to solve the system |
Definition at line 65 of file SolverPolicyLinearSolver.cpp.
SolverPolicyLinearSolver::preconditionerPtr_Type preconditioner | ( | ) |
Method to get a preconditioner.
Definition at line 71 of file SolverPolicyLinearSolver.cpp.
|
protected |
Definition at line 45 of file SolverPolicyLinearSolver.cpp.
|
protected |
Definition at line 78 of file SolverPolicyLinearSolver.cpp.
|
protectedpure virtual |
|
protectedpure virtual |
|
protected |
Definition at line 94 of file SolverPolicyLinearSolver.hpp.