10 #ifndef Tempus_StepperStaggeredForwardSensitivity_decl_hpp
11 #define Tempus_StepperStaggeredForwardSensitivity_decl_hpp
13 #include "Tempus_config.hpp"
14 #include "Tempus_Stepper.hpp"
35 template <
class Scalar>
93 setModel(appModel, appModel, appModel);
128 return Scalar(1.0e+99);
161 stepperPL_->
set<std::string>(
"Initial Condition Consistency", s);
165 return stepperPL_->
get<std::string>(
"Initial Condition Consistency",
171 stepperPL_->
set<
bool>(
"Initial Condition Consistency Check", c);
175 return stepperPL_->
get<
bool>(
"Initial Condition Consistency Check",
false);
198 return "StepperStaggeredForwardSensitivity";
236 #endif // Tempus_StepperStaggeredForwardSensitivity_decl_hpp
virtual Scalar getOrder() const
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
virtual void setUseFSAL(bool a)
Teuchos::RCP< SolutionHistory< Scalar > > sensSolutionHistory_
virtual Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > getSolver() const
Get solver.
virtual Scalar getInitTimeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &) const
Teuchos::RCP< Teuchos::ParameterList > sensPL_
T & get(const std::string &name, T def_value)
virtual bool getUseFSAL() const
Teuchos::RCP< Stepper< Scalar > > stateStepper_
virtual void setInitialConditions(const Teuchos::RCP< SolutionHistory< Scalar > > &)
Set the initial conditions and make them consistent.
virtual Scalar getOrderMax() const
A stepper implementing staggered forward sensitivity analysis.
ParameterList & set(std::string const &name, T &&value, std::string const &docString="", RCP< const ParameterEntryValidator > const &validator=null)
virtual void takeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Take the specified timestep, dt, and return true if successful.
StepperStaggeredForwardSensitivity()
Default constructor.
Teuchos::RCP< const Thyra::VectorSpaceBase< Scalar > > get_x_space() const
virtual std::string description() const
Teuchos::RCP< SensitivityModelEvaluatorBase< Scalar > > combined_fsa_model_
virtual Teuchos::RCP< Tempus::StepperState< Scalar > > getDefaultStepperState()
Get a default (initial) StepperState.
Thyra Base interface for time steppers.
virtual void setModel(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &appModel)
Teuchos::RCP< Teuchos::ParameterList > getDefaultParameters() const
virtual bool isOneStepMethod() const
virtual OrderODE getOrderODE() const
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
virtual bool getICConsistencyCheck() const
virtual void setICConsistency(std::string s)
Teuchos::RCP< SensitivityModelEvaluatorBase< Scalar > > fsa_model_
virtual Teuchos::RCP< const Teuchos::ParameterList > getParameterList() const
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual bool isMultiStepMethod() const
Teuchos::RCP< Stepper< Scalar > > sensitivityStepper_
virtual Scalar getOrderMin() const
Teuchos::RCP< Teuchos::ParameterList > stepperPL_
Stepper integrates first-order ODEs.
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
virtual bool isExplicitImplicit() const
virtual void setICConsistencyCheck(bool c)
virtual std::string getICConsistency() const
Teuchos::RCP< SolutionHistory< Scalar > > stateSolutionHistory_
SensitivityStepMode getStepMode() const
What mode the current time integration step is in.
virtual bool isImplicit() const
virtual bool isExplicit() const
void setParams(const Teuchos::RCP< Teuchos::ParameterList > &pl, const Teuchos::RCP< Teuchos::ParameterList > &spl)
virtual void setInitialGuess(Teuchos::RCP< const Thyra::VectorBase< Scalar > >)
Pass initial guess to Newton solver.
virtual bool isValidSetup(Teuchos::FancyOStream &out) const
SensitivityStepMode stepMode_
virtual void setSolver(Teuchos::RCP< Thyra::NonlinearSolverBase< Scalar > > solver=Teuchos::null)
Set solver.
virtual Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > getModel() const
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &pl)
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const