9 #ifndef Tempus_ModelEvaluatorPairPartIMEX_CombinedFSA_decl_hpp
10 #define Tempus_ModelEvaluatorPairPartIMEX_CombinedFSA_decl_hpp
13 #include "Tempus_WrapperModelEvaluatorPairPartIMEX_Basic.hpp"
14 #include "Tempus_CombinedForwardSensitivityModelEvaluator.hpp"
16 #include "Thyra_ProductMultiVectorBase.hpp"
17 #include "Thyra_DefaultMultiVectorProductVectorSpace.hpp"
18 #include "Thyra_DefaultMultiVectorProductVector.hpp"
30 template <
typename Scalar>
40 const Teuchos::RCP<const Teuchos::ParameterList>& pList = Teuchos::null);
51 virtual Teuchos::RCP<const Thyra::VectorSpaceBase<Scalar> >
59 virtual Teuchos::RCP<Thyra::VectorBase<Scalar> >
61 const Teuchos::RCP<Thyra::VectorBase<Scalar> > & full)
const;
64 virtual Teuchos::RCP<const Thyra::VectorBase<Scalar> >
66 const Teuchos::RCP<
const Thyra::VectorBase<Scalar> > & full)
const;
69 virtual Teuchos::RCP<Thyra::VectorBase<Scalar> >
71 const Teuchos::RCP<Thyra::VectorBase<Scalar> > & full)
const;
74 virtual Teuchos::RCP<const Thyra::VectorBase<Scalar> >
76 const Teuchos::RCP<
const Thyra::VectorBase<Scalar> > & full)
const;
84 virtual Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> >
92 virtual Thyra::ModelEvaluatorBase::InArgs<Scalar>
97 const Thyra::ModelEvaluatorBase::InArgs<Scalar> & inArgs,
98 const Thyra::ModelEvaluatorBase::OutArgs<Scalar> & outArgs)
const;
107 typedef Thyra::DefaultMultiVectorProductVectorSpace<Scalar>
DMVPVS;
108 typedef Thyra::DefaultMultiVectorProductVector<Scalar>
DMVPV;
109 typedef Thyra::ProductMultiVectorBase<Scalar>
PMVB;
112 Teuchos::RCP<const WrapperModelEvaluatorPairPartIMEX_Basic<Scalar> >
forwardModel_;
125 mutable Teuchos::RCP<Thyra::MultiVectorBase<Scalar> >
my_dfdp_mv_;
132 #endif // Tempus_ModelEvaluatorPairPartIMEX_Basic_decl_hpp
WrapperModelEvaluatorPairPartIMEX_CombinedFSA(const Teuchos::RCP< const WrapperModelEvaluatorPairPartIMEX_Basic< Scalar > > &forwardModel, const Teuchos::RCP< const Teuchos::ParameterList > &pList=Teuchos::null)
Constructor.
virtual void initialize()
Initialize after setting member data.
Transform a ModelEvaluator's sensitivity equations to its residual.
Thyra::DefaultMultiVectorProductVector< Scalar > DMVPV
Teuchos::RCP< const DMVPVS > imex_x_dxdp_prod_space_
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
virtual Teuchos::RCP< Thyra::VectorBase< Scalar > > getExplicitOnlyVector(const Teuchos::RCP< Thyra::VectorBase< Scalar > > &full) const
Extract explicit-only vector from a full solution vector.
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getForwardModel() const
Get the underlying forward model.
Thyra::ProductMultiVectorBase< Scalar > PMVB
Specialization of IMEX-Part ME for "combined" FSA method.
WrapperModelEvaluatorPairPartIMEX_Basic< Scalar > Base
ModelEvaluator pair for implicit and explicit (IMEX) evaulations.
Thyra::DefaultMultiVectorProductVectorSpace< Scalar > DMVPVS
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int i) const
Get the p space.
CombinedForwardSensitivityModelEvaluator< Scalar > FSAME
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appImplicitModel_
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appExplicitModel_
Teuchos::RCP< const DMVPVS > explicit_dydp_prod_space_
Teuchos::RCP< const FSAME > fsaExplicitModel_
Teuchos::RCP< const FSAME > fsaImplicitModel_
bool use_dfdp_as_tangent_
Teuchos::RCP< const WrapperModelEvaluatorPairPartIMEX_Basic< Scalar > > forwardModel_
A ModelEvaluator decorator for sensitivity analysis.
virtual void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const
Teuchos::RCP< const DMVPVS > explicit_y_dydp_prod_space_
Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > my_dfdp_mv_
virtual ~WrapperModelEvaluatorPairPartIMEX_CombinedFSA()
Destructor.
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > my_dfdp_op_
virtual Teuchos::RCP< Thyra::VectorBase< Scalar > > getIMEXVector(const Teuchos::RCP< Thyra::VectorBase< Scalar > > &full) const
Extract IMEX vector from a full solution vector.