9 #ifndef Tempus_StepperExplicitRK_decl_hpp
10 #define Tempus_StepperExplicitRK_decl_hpp
12 #include "Tempus_config.hpp"
13 #include "Tempus_StepperExplicit.hpp"
90 template<
class Scalar>
106 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
107 Teuchos::RCP<Teuchos::ParameterList> pList);
111 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
112 std::string stepperType =
"RK Explicit 4 Stage");
116 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
117 std::string stepperType, Teuchos::RCP<Teuchos::ParameterList> pList);
124 virtual void setTableau(std::string stepperType);
127 Teuchos::RCP<Teuchos::ParameterList> pList = Teuchos::null);
144 {
return this->
stepperPL_->template get<std::string>(
"Stepper Type"); }
176 virtual void describe(Teuchos::FancyOStream & out,
177 const Teuchos::EVerbosityLevel verbLevel)
const;
184 std::vector<Teuchos::RCP<Thyra::VectorBase<Scalar> > >
stageXDot_;
185 Teuchos::RCP<Thyra::VectorBase<Scalar> >
stageX_;
190 Teuchos::RCP<Thyra::VectorBase<Scalar> >
ee_;
191 Teuchos::RCP<Thyra::VectorBase<Scalar> >
abs_u0;
192 Teuchos::RCP<Thyra::VectorBase<Scalar> >
abs_u;
193 Teuchos::RCP<Thyra::VectorBase<Scalar> >
sc;
199 #endif // Tempus_StepperExplicitRK_decl_hpp
Explicit Runge-Kutta time stepper.
virtual Scalar getOrderMax() const
Teuchos::RCP< Teuchos::ParameterList > getDefaultParameters() const
Teuchos::RCP< StepperExplicitRKObserver< Scalar > > stepperExplicitRKObserver_
virtual Scalar getInitTimeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory) const
virtual OrderODE getOrderODE() const
Teuchos::RCP< const RKButcherTableau< Scalar > > ERK_ButcherTableau_
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
virtual std::string description() const
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > stageXDot_
virtual Scalar getOrderMin() const
virtual Scalar getOrder() const
Teuchos::RCP< Thyra::VectorBase< Scalar > > ee_
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
virtual void setInitialConditions(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Set the initial conditions and make them consistent.
virtual bool isExplicit() const
virtual bool isOneStepMethod() const
Teuchos::RCP< Teuchos::ParameterList > stepperPL_
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
virtual void setObserver(Teuchos::RCP< StepperObserver< Scalar > > obs=Teuchos::null)
Set Observer.
Teuchos::RCP< Thyra::VectorBase< Scalar > > sc
StepperObserver class for Stepper class.
Teuchos::RCP< SolutionHistory< Scalar > > solutionHistory(Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null)
Nonmember constructor.
Teuchos::RCP< Thyra::VectorBase< Scalar > > stageX_
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual bool isExplicitImplicit() const
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
virtual bool isMultiStepMethod() const
Stepper integrates first-order ODEs.
virtual void takeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Take the specified timestep, dt, and return true if successful.
StepperExplicitRK()
Default constructor.
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &pl)
virtual void initialize()
Initialize during construction and after changing input parameters.
virtual void setTableau(std::string stepperType)
virtual bool isImplicit() const
virtual Teuchos::RCP< Tempus::StepperState< Scalar > > getDefaultStepperState()
Get a default (initial) StepperState.
Thyra Base interface for implicit time steppers.
Teuchos::RCP< Thyra::VectorBase< Scalar > > abs_u0
virtual std::string getStepperType() const
Teuchos::RCP< Thyra::VectorBase< Scalar > > abs_u