9 #ifndef Tempus_AuxiliaryIntegralModelEvaluator_decl_hpp
10 #define Tempus_AuxiliaryIntegralModelEvaluator_decl_hpp
12 #include "Thyra_StateFuncModelEvaluatorBase.hpp"
14 #include "Tempus_SolutionHistory.hpp"
26 template <
typename Scalar>
28 public Thyra::StateFuncModelEvaluatorBase<Scalar> {
30 typedef Thyra::VectorBase<Scalar>
Vector;
35 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> > & model,
39 Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
getModel()
const
49 Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
get_p_space(
int p)
const;
51 Teuchos::RCP<const Teuchos::Array<std::string> >
get_p_names(
int p)
const;
53 Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
get_x_space()
const;
55 Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
get_f_space()
const;
57 Teuchos::RCP<Thyra::LinearOpBase<Scalar> >
create_W_op()
const;
59 Teuchos::RCP<const Thyra::LinearOpWithSolveFactoryBase<Scalar> >
62 Thyra::ModelEvaluatorBase::InArgs<Scalar>
createInArgs()
const;
73 const Thyra::ModelEvaluatorBase::InArgs<Scalar> &inArgs,
74 const Thyra::ModelEvaluatorBase::OutArgs<Scalar> &outArgs)
const;
80 Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
model_;
81 Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
space_;
82 Teuchos::RCP<const Tempus::SolutionHistory<Scalar> >
sh_;
AuxiliaryIntegralModelEvaluator(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model, const int g_index)
Constructor.
Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
Thyra::ModelEvaluatorBase::InArgs< Scalar > prototypeInArgs_
Teuchos::RCP< const Thyra::LinearOpWithSolveFactoryBase< Scalar > > get_W_factory() const
Thyra::VectorBase< Scalar > Vector
Thyra::ModelEvaluatorBase::OutArgs< Scalar > createOutArgsImpl() const
ModelEvaluator for integrating auxiliary equations.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_f_space() const
void setForwardSolutionHistory(const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &sh)
Set solution history from forward evaluation.
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getModel() const
Get the underlying model 'f'.
Teuchos::RCP< Tempus::SolutionState< Scalar > > forward_state_
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > space_
Teuchos::RCP< const Teuchos::Array< std::string > > get_p_names(int p) const
void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
Thyra::ModelEvaluatorBase::OutArgs< Scalar > prototypeOutArgs_
Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > sh_
Thyra::MultiVectorBase< Scalar > MultiVector
Thyra::ModelEvaluatorBase::InArgs< Scalar > getNominalValues() const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int p) const
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > model_
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > create_W_op() const