9 #ifndef Tempus_WrapCombinedFSAModelEvaluator_hpp
10 #define Tempus_WrapCombinedFSAModelEvaluator_hpp
13 #include "Tempus_WrapperModelEvaluatorPairPartIMEX_CombinedFSA.hpp"
22 template <
typename Scalar>
23 Teuchos::RCP< SensitivityModelEvaluatorBase<Scalar> >
25 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> > & model,
26 const Teuchos::RCP<const Teuchos::ParameterList>& pList = Teuchos::null)
29 using Teuchos::rcp_dynamic_cast;
31 RCP<SensitivityModelEvaluatorBase<Scalar> > wrapped_model;
34 RCP<const WrapperModelEvaluatorPairIMEX_Basic<Scalar> > modelPairIMEX =
36 RCP<const WrapperModelEvaluatorPairPartIMEX_Basic<Scalar> > modelPairPartIMEX =
38 if (modelPairIMEX != Teuchos::null) {
41 modelPairIMEX, pList));
43 else if (modelPairPartIMEX != Teuchos::null) {
46 modelPairPartIMEX, pList));
56 template <
typename Scalar>
57 Teuchos::RCP< SensitivityModelEvaluatorBase<Scalar> >
59 const Teuchos::RCP<Thyra::ModelEvaluator<Scalar> > & model,
60 const Teuchos::RCP<const Teuchos::ParameterList>& pList = Teuchos::null)
62 Teuchos::RCP<const Thyra::ModelEvaluator<Scalar> > cmodel = model;
Transform a ModelEvaluator's sensitivity equations to its residual.
ModelEvaluator pair for implicit and explicit (IMEX) evaulations.
Specialization of IMEX ME for "combined" FSA method.
Specialization of IMEX-Part ME for "combined" FSA method.
ModelEvaluator pair for implicit and explicit (IMEX) evaulations.
Teuchos::RCP< SensitivityModelEvaluatorBase< Scalar > > wrapCombinedFSAModelEvaluator(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &model, const Teuchos::RCP< const Teuchos::ParameterList > &pList=Teuchos::null)