9 #ifndef Tempus_StepperLeapfrog_decl_hpp
10 #define Tempus_StepperLeapfrog_decl_hpp
12 #include "Tempus_config.hpp"
13 #include "Tempus_StepperExplicit.hpp"
14 #include "Tempus_StepperObserverComposite.hpp"
76 template<
class Scalar>
90 const Teuchos::RCP<
const Thyra::ModelEvaluator<Scalar> >& appModel,
93 std::string ICConsistency,
94 bool ICConsistencyCheck);
101 virtual Teuchos::RCP<StepperObserver<Scalar> >
getObserver()
const
122 {
return Scalar(1.0e+99);}
140 virtual void describe(Teuchos::FancyOStream & out,
141 const Teuchos::EVerbosityLevel verbLevel)
const;
153 #endif // Tempus_StepperLeapfrog_decl_hpp
virtual void setInitialConditions(const Teuchos::RCP< SolutionHistory< Scalar > > &solutionHistory)
Set the initial conditions and make them consistent.
std::string getICConsistencyDefault() const
virtual bool isOneStepMethod() const
virtual bool isImplicit() const
virtual Teuchos::RCP< StepperObserver< Scalar > > getObserver() const
Get Observer.
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
Stepper integrates second-order ODEs.
virtual void describe(Teuchos::FancyOStream &out, const Teuchos::EVerbosityLevel verbLevel) const
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...
Teuchos::RCP< StepperObserverComposite< Scalar > > stepperObserver_
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.