14class NonLinTPM :
public NonLinearProblem<SC,LO,GO,NO> {
20 typedef typename Problem_Type::Matrix_Type Matrix_Type;
21 typedef typename Problem_Type::MatrixPtr_Type MatrixPtr_Type;
22 typedef typename Problem_Type::Map_Type Map_Type;
23 typedef typename Problem_Type::MapPtr_Type MapPtr_Type;
24 typedef typename Problem_Type::MapConstPtr_Type MapConstPtr_Type;
26 typedef typename Problem_Type::BlockMatrix_Type BlockMatrix_Type;
27 typedef typename Problem_Type::BlockMatrixPtr_Type BlockMatrixPtr_Type;
29 typedef typename Problem_Type::MultiVector_Type MultiVector_Type;
30 typedef typename Problem_Type::MultiVectorPtr_Type MultiVectorPtr_Type;
31 typedef typename Problem_Type::MultiVectorConstPtr_Type MultiVectorConstPtr_Type;
33 typedef typename Problem_Type::BlockMultiVectorPtr_Type BlockMultiVectorPtr_Type;
35 typedef typename Problem_Type::DomainConstPtr_Type DomainConstPtr_Type;
36 typedef typename Problem_Type::CommConstPtr_Type CommConstPtr_Type;
38 typedef NonLinearProblem<SC,LO,GO,NO> NonLinearProblem_Type;
39 typedef typename NonLinearProblem_Type::BlockMultiVectorPtrArray_Type BlockMultiVectorPtrArray_Type;
41 NonLinTPM(
const DomainConstPtr_Type &domainVelocity, std::string FETypeVelocity,
const DomainConstPtr_Type &domainPressure, std::string FETypePressure, ParameterListPtr_Type parameterList );
47 virtual void assemble(std::string type =
"")
const;
49 virtual void reAssemble( BlockMultiVectorPtr_Type previousSolution )
const;
51 virtual void reAssemble( MatrixPtr_Type& massmatrix, std::string type )
const;
53 virtual void reAssembleExtrapolation(BlockMultiVectorPtrArray_Type previousSolutions);
55 virtual void calculateNonLinResidualVec(std::string type,
double time=0.)
const;
57 virtual void getValuesOfInterest( vec_dbl_Type& values ){};
59 virtual void computeValuesOfInterestAndExport() {};
67 Teuchos::RCP< Thyra::LinearOpBase<SC> > create_W_op()
const;
69 Teuchos::RCP<Thyra::PreconditionerBase<SC> > create_W_prec()
const;
73 virtual void evalModelImpl(
74 const ::Thyra::ModelEvaluatorBase::InArgs<SC> &inArgs,
75 const ::Thyra::ModelEvaluatorBase::OutArgs<SC> &outArgs
78 mutable MultiVectorPtr_Type u_repNewton_;
79 mutable MultiVectorPtr_Type p_repNewton_;
80 mutable MultiVectorPtr_Type u_repTime_;
81 mutable MultiVectorPtr_Type p_repTime_;