36 #ifndef SOLVERPOLICYLINEARSOLVER_HPP 37 #define SOLVERPOLICYLINEARSOLVER_HPP 40 #include <boost/shared_ptr.hpp> 44 #include <Epetra_MpiComm.h> 46 #include <Epetra_SerialComm.h> 49 #include <Teuchos_ParameterList.hpp> 50 #include <Teuchos_XMLParameterListHelpers.hpp> 51 #include <Teuchos_RCP.hpp> 54 #include <lifev/core/LifeV.hpp> 55 #include <lifev/core/array/MatrixEpetra.hpp> 56 #include <lifev/core/array/VectorEpetra.hpp> 57 #include <lifev/core/util/Displayer.hpp> 58 #include <lifev/core/algorithm/LinearSolver.hpp> 59 #include <lifev/core/algorithm/Preconditioner.hpp> 89 void initSolver ( Teuchos::ParameterList& list );
virtual Displayer displayer()=0
VectorEpetra - The Epetra Vector format Wrapper.
virtual commPtr_Type comm()=0
std::shared_ptr< matrix_Type > matrixPtr_Type
void importFromHDF5(std::string const &fileName, std::string const &matrixName="matrix")
Read a matrix from a HDF5 (.h5) file.
std::shared_ptr< VectorEpetra > vectorPtr_Type
void setPreconditioner(preconditionerPtr_Type preconditionerPtr)
Method to set a preconditioner.
std::shared_ptr< comm_Type > commPtr_Type
void updateInverseJacobian(const UInt &iQuadPt)
std::shared_ptr< preconditioner_Type > preconditionerPtr_Type
int solve(matrixPtr_Type systemMatrix, vectorPtr_Type rhs, vectorPtr_Type solution)
preconditionerPtr_Type preconditioner()
Method to get a preconditioner.
LinearSolver - Class to wrap linear solver.
MatrixEpetra< Real > matrix_Type
std::shared_ptr< solver_Type > solverPtr_Type
double Real
Generic real data.
Preconditioner - Abstract preconditioner class.
void initSolver(Teuchos::ParameterList &list)
Preconditioner preconditioner_Type
Displayer - This class is used to display messages in parallel simulations.