10 #ifndef Tempus_ModelEvaluatorPairPartIMEX_StaggeredFSA_decl_hpp
11 #define Tempus_ModelEvaluatorPairPartIMEX_StaggeredFSA_decl_hpp
13 #include "Tempus_config.hpp"
15 #include "Tempus_WrapperModelEvaluatorPairPartIMEX_Basic.hpp"
16 #include "Tempus_StaggeredForwardSensitivityModelEvaluator.hpp"
18 #include "Thyra_ProductMultiVectorBase.hpp"
19 #include "Thyra_DefaultMultiVectorProductVectorSpace.hpp"
20 #include "Thyra_DefaultMultiVectorProductVector.hpp"
32 template <
typename Scalar>
41 const bool is_pseudotransient,
96 const bool force_W_update);
149 #endif // Tempus_ModelEvaluatorPairPartIMEX_Basic_decl_hpp
Teuchos::RCP< const Tempus::SolutionState< Scalar > > implicit_x_state_
Teuchos::RCP< const Tempus::SolutionState< Scalar > > explicit_y_state_
virtual Thyra::ModelEvaluatorBase::InArgs< Scalar > createInArgs() const
Teuchos::RCP< Thyra::MultiVectorBase< Scalar > > my_dfdp_mv_
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appImplicitModel_
virtual void evalModelImpl(const Thyra::ModelEvaluatorBase::InArgs< Scalar > &inArgs, const Thyra::ModelEvaluatorBase::OutArgs< Scalar > &outArgs) const
Teuchos::RCP< Thyra::LinearOpBase< Scalar > > my_dfdp_op_
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
Teuchos::RCP< Tempus::SolutionState< Scalar > > nc_forward_state_
Thyra::ProductMultiVectorBase< Scalar > PMVB
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.
Teuchos::RCP< const DMVPVS > explicit_dydp_prod_space_
virtual Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_p_space(int i) const
Get the p space.
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.
Thyra::DefaultMultiVectorProductVectorSpace< Scalar > DMVPVS
ModelEvaluator pair for implicit and explicit (IMEX) evaulations.
Teuchos::RCP< FSAME > fsaExplicitModel_
StaggeredForwardSensitivityModelEvaluator< Scalar > FSAME
WrapperModelEvaluatorPairPartIMEX_StaggeredFSA(const Teuchos::RCP< const WrapperModelEvaluatorPairPartIMEX_Basic< Scalar > > &forwardModel, const bool is_pseudotransient, const Teuchos::RCP< const Teuchos::ParameterList > &pList=Teuchos::null)
Constructor.
WrapperModelEvaluatorPairPartIMEX_Basic< Scalar > Base
virtual void setForwardSolutionHistory(const Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > &sh)
Set solution history from forward state evaluation (for interpolation)
virtual void setForwardSolutionState(const Teuchos::RCP< const Tempus::SolutionState< Scalar > > &s)
Set solution state from forward state evaluation (for frozen state)
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual Teuchos::RCP< Thyra::VectorBase< Scalar > > getIMEXVector(const Teuchos::RCP< Thyra::VectorBase< Scalar > > &full) const
Extract IMEX vector from a full solution vector.
Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > appExplicitModel_
Teuchos::RCP< const Tempus::SolutionHistory< Scalar > > sh_
void buildIMEXStates() const
Build implicit x and end explicit y states from forward_state_.
Teuchos::RCP< const Tempus::SolutionState< Scalar > > forward_state_
Teuchos::RCP< const WrapperModelEvaluatorPairPartIMEX_Basic< Scalar > > forwardModel_
virtual void initialize()
Initialize after setting member data.
Transform a ModelEvaluator's sensitivity equations to its residual.
Teuchos::RCP< const DMVPVS > imex_dxdp_prod_space_
bool use_dfdp_as_tangent_
Thyra::DefaultMultiVectorProductVector< Scalar > DMVPV
A ModelEvaluator decorator for sensitivity analysis.
virtual ~WrapperModelEvaluatorPairPartIMEX_StaggeredFSA()
Destructor.
Solution state for integrators and steppers.
Specialization of IMEX-Part ME for "combined" FSA method.
Teuchos::RCP< FSAME > fsaImplicitModel_