32 typedef Teuchos::RCP<Problem_Type> ProblemPtr_Type;
34 typedef Teuchos::RCP<const Thyra::LinearOpBase<SC> > ThyraLinOpConstPtr_Type;
35 typedef Thyra::BlockedLinearOpBase<SC> ThyraLinOpBlock_Type;
36 typedef Teuchos::RCP< ThyraLinOpBlock_Type > ThyraLinOpBlockPtr_Type;
37 typedef Teuchos::RCP< const ThyraLinOpBlock_Type > ThyraLinOpBlockConstPtr_Type;
38 typedef Teuchos::RCP<Thyra::PreconditionerBase<SC> > ThyraPrecPtr_Type;
40 typedef typename Problem_Type::Matrix_Type Matrix_Type;
41 typedef typename Problem_Type::MatrixPtr_Type MatrixPtr_Type;
42 typedef typename Problem_Type::BlockMatrixPtr_Type BlockMatrixPtr_Type;
44 typedef Teuchos::RCP<BlockMultiVector_Type> BlockMultiVectorPtr_Type;
59 int solve(Problem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string type=
"Monolithic" );
67 int solve(TimeProblem_Type* timeProblem, BlockMultiVectorPtr_Type rhs, std::string type=
"Monolithic" );
75 int solveMonolithic(Problem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string type );
82 int solveMonolithic(TimeProblem_Type* problem, BlockMultiVectorPtr_Type rhs );
94 int solveBlock(Problem_Type* problem, BlockMultiVectorPtr_Type rhs, std::string precType );
102 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:75
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:223
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:27