Tempus
Version of the Day
Time Integration
|
A ModelEvaluator decorator for sensitivity analysis. More...
#include <Tempus_SensitivityModelEvaluatorBase.hpp>
Public Member Functions | |
SensitivityModelEvaluatorBase () | |
Constructor. More... | |
virtual | ~SensitivityModelEvaluatorBase () |
Destructor. More... | |
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > | getForwardModel () const |
Get the underlying forward model. More... | |
virtual void | setForwardSolutionHistory (const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &) |
Set solution history from forward state evaluation (for interpolation) More... | |
virtual void | setForwardSolutionState (const Teuchos::RCP< const Tempus::SolutionState< Scalar > > &) |
Set solution state from forward state evaluation (for frozen state) More... | |
virtual void | setSolver (const Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > &, const bool) |
Set the solver of the underlying model if you want to reuse it. More... | |
A ModelEvaluator decorator for sensitivity analysis.
Used in sensitivity analysis model evaluators for interpolating from a previous solution and such. All additional methods have default, empty implementations, since different sensitivity model evaluators need slightly different capabilities.
Definition at line 26 of file Tempus_SensitivityModelEvaluatorBase.hpp.
|
inline |
Constructor.
Definition at line 31 of file Tempus_SensitivityModelEvaluatorBase.hpp.
|
inlinevirtual |
Destructor.
Definition at line 34 of file Tempus_SensitivityModelEvaluatorBase.hpp.
|
inlinevirtual |
Get the underlying forward model.
Reimplemented in Tempus::StaggeredForwardSensitivityModelEvaluator< Scalar >, Tempus::WrapperModelEvaluatorPairPartIMEX_CombinedFSA< Scalar >, Tempus::WrapperModelEvaluatorPairPartIMEX_StaggeredFSA< Scalar >, Tempus::CombinedForwardSensitivityModelEvaluator< Scalar >, Tempus::WrapperModelEvaluatorPairIMEX_CombinedFSA< Scalar >, and Tempus::WrapperModelEvaluatorPairIMEX_StaggeredFSA< Scalar >.
Definition at line 38 of file Tempus_SensitivityModelEvaluatorBase.hpp.
|
inlinevirtual |
Set solution history from forward state evaluation (for interpolation)
Reimplemented in Tempus::StaggeredForwardSensitivityModelEvaluator< Scalar >, Tempus::WrapperModelEvaluatorPairPartIMEX_StaggeredFSA< Scalar >, and Tempus::WrapperModelEvaluatorPairIMEX_StaggeredFSA< Scalar >.
Definition at line 41 of file Tempus_SensitivityModelEvaluatorBase.hpp.
|
inlinevirtual |
Set solution state from forward state evaluation (for frozen state)
Reimplemented in Tempus::StaggeredForwardSensitivityModelEvaluator< Scalar >, Tempus::WrapperModelEvaluatorPairPartIMEX_StaggeredFSA< Scalar >, and Tempus::WrapperModelEvaluatorPairIMEX_StaggeredFSA< Scalar >.
Definition at line 45 of file Tempus_SensitivityModelEvaluatorBase.hpp.
|
inlinevirtual |
Set the solver of the underlying model if you want to reuse it.
Reimplemented in Tempus::StaggeredForwardSensitivityModelEvaluator< Scalar >, Tempus::WrapperModelEvaluatorPairPartIMEX_StaggeredFSA< Scalar >, and Tempus::WrapperModelEvaluatorPairIMEX_StaggeredFSA< Scalar >.
Definition at line 49 of file Tempus_SensitivityModelEvaluatorBase.hpp.