10 #ifndef Tempus_ModelEvaluatorPairIMEX_StaggeredFSA_hpp
11 #define Tempus_ModelEvaluatorPairIMEX_StaggeredFSA_hpp
13 #include "Tempus_config.hpp"
15 #include "Tempus_WrapperModelEvaluatorPairIMEX_Basic.hpp"
16 #include "Tempus_StaggeredForwardSensitivityModelEvaluator.hpp"
26 template <
typename Scalar>
35 const bool is_pseudotransient,
43 is_pseudotransient, pList));
46 is_pseudotransient, pList));
82 const bool force_W_update)
107 #endif // Tempus_ModelEvaluatorPairIMEX_StaggeredFSA_hpp
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appExplicitModel_
Teuchos::RCP< FSAME > fsaExplicitModel_
virtual ~WrapperModelEvaluatorPairIMEX_StaggeredFSA()
Destructor.
StaggeredForwardSensitivityModelEvaluator< Scalar > FSAME
ModelEvaluator pair for implicit and explicit (IMEX) evaulations.
Specialization of IMEX ME for "staggered" FSA method.
WrapperModelEvaluatorPairIMEX_StaggeredFSA()
Default constructor - not allowed.
void setup(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &explicitModel, const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &implicitModel)
Setup ME when using default constructor – for derived classes.
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appImplicitModel_
virtual void setForwardSolutionState(const Teuchos::RCP< const Tempus::SolutionState< Scalar > > &s)
Set solution state from forward state evaluation (for frozen state)
virtual void setForwardSolutionHistory(const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &sh)
Set solution history from forward state evaluation (for interpolation)
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
WrapperModelEvaluatorPairIMEX_StaggeredFSA(const Teuchos::RCP< const WrapperModelEvaluatorPairIMEX_Basic< Scalar > > &forwardModel, const bool is_pseudotransient, const Teuchos::RCP< const Teuchos::ParameterList > &pList=Teuchos::null)
Constructor.
Teuchos::RCP< FSAME > fsaImplicitModel_
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getForwardModel() const
Get the underlying forward model.
Teuchos::RCP< const WrapperModelEvaluatorPairIMEX_Basic< Scalar > > forwardModel_
WrapperModelEvaluatorPairIMEX_Basic< Scalar > Base
Transform a ModelEvaluator's sensitivity equations to its residual.
virtual void setSolver(const Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > &solver, const bool force_W_update)
Set the solver of the underlying model if you want to reuse it.
A ModelEvaluator decorator for sensitivity analysis.
Solution state for integrators and steppers.