9 #ifndef Tempus_ModelEvaluatorPairIMEX_hpp
10 #define Tempus_ModelEvaluatorPairIMEX_hpp
24 template <
typename Scalar>
35 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
38 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
41 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
44 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
50 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> > & ) = 0;
52 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> > & ) = 0;
53 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
55 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
61 virtual Teuchos::RCP<Thyra::LinearOpBase<Scalar> >
create_W_op()
const = 0;
63 Teuchos::RCP<const Thyra::LinearOpWithSolveFactoryBase<Scalar> >
66 virtual Thyra::ModelEvaluatorBase::InArgs<Scalar>
69 virtual Thyra::ModelEvaluatorBase::InArgs<Scalar>
createInArgs()
const = 0;
71 virtual Thyra::ModelEvaluatorBase::OutArgs<Scalar>
75 const Thyra::ModelEvaluatorBase::InArgs<Scalar> & in,
76 const Thyra::ModelEvaluatorBase::OutArgs<Scalar> & out)
const = 0;
81 Thyra::ModelEvaluatorBase::InArgs<Scalar> inArgs,
82 Thyra::ModelEvaluatorBase::OutArgs<Scalar> outArgs,
88 #endif // Tempus_ModelEvaluatorPairIMEX_hpp
EVALUATION_TYPE
EVALUATION_TYPE indicates the evaluation to apply to the implicit ODE.
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const =0
virtual void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &in, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &out) const =0
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const =0
Get the x-solution space.
ModelEvaluator pair for implicit and explicit (IMEX) evaluations.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_g_space(int i) const =0
Get the g space.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int i) const =0
Get the p space.
virtual Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const =0
virtual void setExplicitModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &)=0
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getExplicitModel() const =0
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const =0
virtual void initialize()=0
Initialize after setting member data.
A ModelEvaluator which wraps the application ModelEvaluator.
virtual void setImplicitModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &)=0
virtual Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() const =0
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const =0
This interface defines the time derivative connection between an implicit Stepper and WrapperModelEva...
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getImplicitModel() const =0
Solve for x and determine xDot from x.
virtual void setForSolve(Teuchos::RCP< TimeDerivative< Scalar > > timeDer, Thyra::ModelEvaluatorBase::InArgs< Scalar > inArgs, Thyra::ModelEvaluatorBase::OutArgs< Scalar > outArgs, EVALUATION_TYPE evaluationType=SOLVE_FOR_X)=0
Set parameters for application implicit ModelEvaluator solve.
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const =0