9 #ifndef Tempus_WrapperModelEvaluator_hpp
10 #define Tempus_WrapperModelEvaluator_hpp
13 #include "Thyra_StateFuncModelEvaluatorBase.hpp"
33 template <
typename Scalar>
41 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
45 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
49 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
55 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> > & me) = 0;
58 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
62 virtual void setInArgs(Thyra::ModelEvaluatorBase::InArgs<Scalar> inArgs) = 0;
65 virtual Thyra::ModelEvaluatorBase::InArgs<Scalar>
getInArgs() = 0;
68 virtual void setOutArgs(Thyra::ModelEvaluatorBase::OutArgs<Scalar> outArgs)=0;
71 virtual Thyra::ModelEvaluatorBase::OutArgs<Scalar>
getOutArgs() = 0;
75 Thyra::ModelEvaluatorBase::InArgs<Scalar> inArgs,
76 Thyra::ModelEvaluatorBase::OutArgs<Scalar> outArgs,
82 #endif // Tempus_WrapperModelEvaluator_hpp
virtual void setOutArgs(Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs)=0
Set OutArgs the wrapper ModelEvalutor.
Evaluate residual for the implicit ODE.
EVALUATION_TYPE
EVALUATION_TYPE indicates the evaluation to apply to the implicit ODE.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_g_space(int i) const =0
Get the g space.
virtual void setInArgs(Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs)=0
Set InArgs the wrapper ModelEvalutor.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int i) const =0
Get the p space.
virtual void setForSolve(Teuchos::RCP< TimeDerivative< Scalar > > td, Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs, Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs, EVALUATION_TYPE evaluationType=SOLVE_FOR_X)=0
Set parameters for application implicit ModelEvaluator solve.
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getAppModel() const =0
Get the underlying application ModelEvaluator.
virtual void setAppModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &me)=0
Set the underlying application ModelEvaluator.
A ModelEvaluator which wraps the application ModelEvaluator.
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > getInArgs()=0
Get InArgs the wrapper ModelEvalutor.
Solve for xDot keeping x constant (for ICs).
This interface defines the time derivative connection between an implicit Stepper and WrapperModelEva...
virtual Thyra::ModelEvaluatorBase::OutArgs< Scalar > getOutArgs()=0
Get OutArgs the wrapper ModelEvalutor.
Solve for x and determine xDot from x.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const =0
Get the x-solution space.