9 #ifndef Tempus_StepperExplicitRK_decl_hpp
10 #define Tempus_StepperExplicitRK_decl_hpp
12 #include "Tempus_config.hpp"
13 #include "Tempus_StepperExplicit.hpp"
15 #include "Tempus_StepperRKObserverComposite.hpp"
90 template<
class Scalar>
101 virtual Teuchos::RCP<const RKButcherTableau<Scalar> >
getTableau()
104 virtual Teuchos::RCP<StepperObserver<Scalar> >
getObserver()
const
145 virtual void describe(Teuchos::FancyOStream & out,
146 const Teuchos::EVerbosityLevel verbLevel)
const;
165 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
168 std::string ICConsistency,
169 bool ICConsistencyCheck,
177 std::vector<Teuchos::RCP<Thyra::VectorBase<Scalar> > >
stageXDot_;
178 Teuchos::RCP<Thyra::VectorBase<Scalar> >
stageX_;
184 Teuchos::RCP<Thyra::VectorBase<Scalar> >
ee_;
185 Teuchos::RCP<Thyra::VectorBase<Scalar> >
abs_u0;
186 Teuchos::RCP<Thyra::VectorBase<Scalar> >
abs_u;
187 Teuchos::RCP<Thyra::VectorBase<Scalar> >
sc;
193 #endif // Tempus_StepperExplicitRK_decl_hpp
Teuchos::RCP< RKButcherTableau< Scalar > > tableau_
Explicit Runge-Kutta time stepper.
virtual std::string getDescription() const =0
virtual void setupDefault()
Default setup for constructor.
virtual Scalar getOrderMax() const
virtual Teuchos::RCP< Thyra::VectorBase< Scalar > > getStageX()
virtual Scalar getInitTimeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory) const
virtual OrderODE getOrderODE() const
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
std::vector< Teuchos::RCP< Thyra::VectorBase< Scalar > > > stageXDot_
virtual bool getUseEmbeddedDefault() const
virtual Scalar getOrderMin() const
virtual Scalar getOrder() const
Teuchos::RCP< Thyra::VectorBase< Scalar > > ee_
virtual void setup(const Teuchos::RCP< const Thyra::ModelEvaluator< Scalar > > &appModel, const Teuchos::RCP< StepperRKObserverComposite< Scalar > > &obs, bool useFSAL, std::string ICConsistency, bool ICConsistencyCheck, bool useEmbedded)
Setup for constructor.
virtual void setInitialConditions(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Set the initial conditions and make them consistent.
virtual void setupTableau()=0
virtual bool isExplicit() const
virtual Teuchos::RCP< const RKButcherTableau< Scalar > > getTableau()
virtual bool isOneStepMethod() const
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
virtual Teuchos::RCP< StepperObserver< Scalar > > getObserver() const
Get Observer.
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
void getValidParametersBasicERK(Teuchos::RCP< Teuchos::ParameterList > pl) const
virtual bool isMultiStepMethod() const
Stepper integrates first-order ODEs.
virtual bool getUseEmbedded() const
virtual void takeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Take the specified timestep, dt, and return true if successful.
This observer is a composite observer,.
virtual void initialize()
Initialize during construction and after changing input parameters.
Teuchos::RCP< StepperRKObserverComposite< Scalar > > stepperObserver_
virtual bool isImplicit() const
virtual Teuchos::RCP< Tempus::StepperState< Scalar > > getDefaultStepperState()
Get a default (initial) StepperState.
virtual void setUseEmbedded(bool a)
Use embedded if avialable.
Thyra Base interface for implicit time steppers.
Teuchos::RCP< Thyra::VectorBase< Scalar > > abs_u0
Teuchos::RCP< Thyra::VectorBase< Scalar > > abs_u