30 typedef Teuchos::RCP<Problem_Type> ProblemPtr_Type;
32 typedef Teuchos::RCP<const Thyra::LinearOpBase<SC> > ThyraLinOpConstPtr_Type;
33 typedef Thyra::BlockedLinearOpBase<SC> ThyraLinOpBlock_Type;
34 typedef Teuchos::RCP< ThyraLinOpBlock_Type > ThyraLinOpBlockPtr_Type;
35 typedef Teuchos::RCP< const ThyraLinOpBlock_Type > ThyraLinOpBlockConstPtr_Type;
36 typedef Teuchos::RCP<Thyra::PreconditionerBase<SC> > ThyraPrecPtr_Type;
38 typedef typename Problem_Type::Matrix_Type Matrix_Type;
39 typedef typename Problem_Type::MatrixPtr_Type MatrixPtr_Type;
40 typedef typename Problem_Type::BlockMatrixPtr_Type BlockMatrixPtr_Type;
42 typedef Teuchos::RCP<BlockMultiVector_Type> BlockMultiVectorPtr_Type;
57 int solve(Problem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string type=
"Monolithic" );
65 int solve(TimeProblem_Type* timeProblem, BlockMultiVectorPtr_Type rhs, std::string type=
"Monolithic" );
73 int solveMonolithic(Problem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string type );
80 int solveMonolithic(TimeProblem_Type* problem, BlockMultiVectorPtr_Type rhs );
92 int solveBlock(Problem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string precType );
100 int solveBlock(TimeProblem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string precType );
int solveMonolithic(Problem_Type *problem, BlockMultiVectorPtr_Type rhs, std::string type)
Solve linear/linearized problem monolithicly.
Definition LinearSolver_def.hpp:71
int solveBlock(Problem_Type *problem, BlockMultiVectorPtr_Type rhs, std::string precType)
In case of a block system, solve block is called. It works also for teko.
Definition LinearSolver_def.hpp:207
int solve(Problem_Type *problem, BlockMultiVectorPtr_Type rhs, std::string type="Monolithic")
Call to solve a linear/linearized problem with right-hand side rhs. Depending on 'type' solveMonolith...
Definition LinearSolver_def.hpp:23