9 #ifndef Tempus_StepperLeapfrog_decl_hpp
10 #define Tempus_StepperLeapfrog_decl_hpp
12 #include "Tempus_config.hpp"
13 #include "Tempus_StepperExplicit.hpp"
75 template<
class Scalar>
91 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
92 Teuchos::RCP<Teuchos::ParameterList> pList = Teuchos::null);
111 {
return this->
stepperPL_->template get<std::string>(
"Stepper Type"); }
120 {
return Scalar(1.0e+99);}
144 virtual void describe(Teuchos::FancyOStream & out,
145 const Teuchos::EVerbosityLevel verbLevel)
const;
156 #endif // Tempus_StepperLeapfrog_decl_hpp
virtual void setInitialConditions(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Set the initial conditions and make them consistent.
virtual bool isOneStepMethod() const
virtual bool isImplicit() const
virtual std::string getStepperType() const
Teuchos::RCP< Teuchos::ParameterList > getDefaultParameters() const
void setParameterList(const Teuchos::RCP< Teuchos::ParameterList > &pl)
virtual bool isExplicit() const
virtual Scalar getInitTimeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &) const
virtual Scalar getOrderMax() const
virtual void setObserver(Teuchos::RCP< StepperObserver< Scalar > > obs=Teuchos::null)
Set Observer.
Teuchos::RCP< const Teuchos::ParameterList > getValidParameters() const
virtual void takeStep(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Take the specified timestep, dt, and return true if successful.
virtual Scalar getOrderMin() const
Teuchos::RCP< Teuchos::ParameterList > getNonconstParameterList()
Stepper integrates second-order ODEs.
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
Teuchos::RCP< Teuchos::ParameterList > stepperPL_
Teuchos::RCP< Teuchos::ParameterList > unsetParameterList()
StepperObserver class for Stepper class.
virtual Teuchos::RCP< Tempus::StepperState< Scalar > > getDefaultStepperState()
Get a default (initial) StepperState.
Teuchos::RCP< SolutionHistory< Scalar > > solutionHistory(Teuchos::RCP< Teuchos::ParameterList > pList=Teuchos::null)
Nonmember constructor.
SolutionHistory is basically a container of SolutionStates. SolutionHistory maintains a collection of...
virtual std::string description() const
StepperLeapfrog()
Default constructor.
virtual bool isMultiStepMethod() const
Teuchos::RCP< StepperLeapfrogObserver< Scalar > > stepperLFObserver_
virtual bool isExplicitImplicit() const
virtual OrderODE getOrderODE() const
virtual Scalar getOrder() const
Thyra Base interface for implicit time steppers.
virtual void initialize()
Initialize during construction and after changing input parameters.