Tempus  Version of the Day
Time Integration
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Tempus_WrapperModelEvaluatorPairPartIMEX_CombinedFSA_decl.hpp
Go to the documentation of this file.
1 //@HEADER
2 // *****************************************************************************
3 // Tempus: Time Integration and Sensitivity Analysis Package
4 //
5 // Copyright 2017 NTESS and the Tempus contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 //@HEADER
9 
10 #ifndef Tempus_ModelEvaluatorPairPartIMEX_CombinedFSA_decl_hpp
11 #define Tempus_ModelEvaluatorPairPartIMEX_CombinedFSA_decl_hpp
12 
13 #include "Tempus_config.hpp"
15 #include "Tempus_WrapperModelEvaluatorPairPartIMEX_Basic.hpp"
16 #include "Tempus_CombinedForwardSensitivityModelEvaluator.hpp"
17 
18 #include "Thyra_ProductMultiVectorBase.hpp"
19 #include "Thyra_DefaultMultiVectorProductVectorSpace.hpp"
20 #include "Thyra_DefaultMultiVectorProductVector.hpp"
21 
22 namespace Tempus {
23 
32 template <typename Scalar>
34  : public SensitivityModelEvaluatorBase<Scalar>,
36  public:
39  const Teuchos::RCP<
41  const Teuchos::RCP<const Teuchos::ParameterList>& pList = Teuchos::null);
42 
45 
47  virtual void initialize();
48 
50 
51 
53  int i) const;
54 
56 
58 
61  const Teuchos::RCP<Thyra::VectorBase<Scalar> >& full) const;
62 
65  const Teuchos::RCP<const Thyra::VectorBase<Scalar> >& full) const;
66 
69  const Teuchos::RCP<Thyra::VectorBase<Scalar> >& full) const;
70 
73  const Teuchos::RCP<const Thyra::VectorBase<Scalar> >& full) const;
74 
76 
78 
79 
82  const;
83 
85 
87 
88 
90 
91  virtual void evalModelImpl(
93  const Thyra::ModelEvaluatorBase::OutArgs<Scalar>& outArgs) const;
94 
96 
98 
99  protected:
105 
112 
115 
119 
122 };
123 
124 } // namespace Tempus
125 
126 #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.
Transform a ModelEvaluator&#39;s sensitivity equations to its residual.
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.
Specialization of IMEX-Part ME for &quot;combined&quot; FSA method.
ModelEvaluator pair for implicit and explicit (IMEX) evaulations.
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int i) const
Get the p space.
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
virtual Teuchos::RCP< Thyra::VectorBase< Scalar > > getIMEXVector(const Teuchos::RCP< Thyra::VectorBase< Scalar > > &full) const
Extract IMEX vector from a full solution vector.