9#ifndef Tempus_ModelEvaluatorPairIMEX_hpp
10#define Tempus_ModelEvaluatorPairIMEX_hpp
12#include "Tempus_config.hpp"
25template <
typename Scalar>
36 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
39 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
42 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
45 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
54 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
56 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
62 virtual Teuchos::RCP<Thyra::LinearOpBase<Scalar> >
create_W_op()
const = 0;
64 Teuchos::RCP<const Thyra::LinearOpWithSolveFactoryBase<Scalar> >
67 virtual Thyra::ModelEvaluatorBase::InArgs<Scalar>
70 virtual Thyra::ModelEvaluatorBase::InArgs<Scalar>
createInArgs()
const = 0;
72 virtual Thyra::ModelEvaluatorBase::OutArgs<Scalar>
76 const Thyra::ModelEvaluatorBase::InArgs<Scalar> & in,
77 const Thyra::ModelEvaluatorBase::OutArgs<Scalar> & out)
const = 0;
81 virtual void setForSolve(Teuchos::RCP<TimeDerivative<Scalar> > timeDer,
82 Thyra::ModelEvaluatorBase::InArgs<Scalar> inArgs,
83 Thyra::ModelEvaluatorBase::OutArgs<Scalar> outArgs,
ModelEvaluator pair for implicit and explicit (IMEX) evaluations.
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.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_g_space(int i) const =0
Get the g space.
virtual Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const =0
virtual void setImplicitModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &)=0
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getImplicitModel() const =0
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getExplicitModel() const =0
virtual void initialize()=0
Initialize after setting member data.
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const =0
virtual void setExplicitModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &)=0
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int i) const =0
Get the p space.
virtual Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() 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.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const =0
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const =0
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const =0
A ModelEvaluator which wraps the application ModelEvaluator.
EVALUATION_TYPE
EVALUATION_TYPE indicates the evaluation to apply to the implicit ODE.
@ SOLVE_FOR_X
Solve for x and determine xDot from x.