30#ifndef RYTHMOS_SIMPLE_INTEGRATION_CONTROL_STRATEGY_DECL_HPP
31#define RYTHMOS_SIMPLE_INTEGRATION_CONTROL_STRATEGY_DECL_HPP
34#include "Rythmos_IntegrationControlStrategyBase.hpp"
35#include "Rythmos_StepperBase.hpp"
36#include "Rythmos_StepControlInfo.hpp"
37#include "Teuchos_ParameterListAcceptorDefaultBase.hpp"
51 virtual public Teuchos::ParameterListAcceptorDefaultBase
78 RCP<IntegrationControlStrategyBase<Scalar> >
83 const TimeRange<Scalar> &integrationTimeDomain
87 StepControlInfo<Scalar>
89 const StepperBase<Scalar> &stepper,
90 const StepControlInfo<Scalar> &stepCtrlInfoLast,
91 const int timeStepIter
98 bool takeVariableSteps_;
103 TimeRange<Scalar> integrationTimeDomain_;
105 static const std::string takeVariableSteps_name_;
106 static const bool takeVariableSteps_default_;
108 static const std::string max_dt_name_;
109 static const double max_dt_default_;
111 static const std::string numTimeSteps_name_;
112 static const int numTimeSteps_default_;
114 static const std::string fixed_dt_name_;
115 static const double fixed_dt_default_;
124template<
class Scalar>
125RCP<SimpleIntegrationControlStrategy<Scalar> >
126simpleIntegrationControlStrategy();
133template<
class Scalar>
134RCP<SimpleIntegrationControlStrategy<Scalar> >
135simpleIntegrationControlStrategy(
const RCP<ParameterList> ¶mList );
Base class for strategy objects that control integration by selecting step sizes for a stepper.
Base class for strategy objects that control integration by selecting step sizes for a stepper.
RCP< const ParameterList > getValidParameters() const
StepControlInfo< Scalar > getNextStepControlInfo(const StepperBase< Scalar > &stepper, const StepControlInfo< Scalar > &stepCtrlInfoLast, const int timeStepIter)
void setParameterList(RCP< ParameterList > const ¶mList)
SimpleIntegrationControlStrategy()
Constructors/Initializers.
void resetIntegrationControlStrategy(const TimeRange< Scalar > &integrationTimeDomain)
RCP< IntegrationControlStrategyBase< Scalar > > cloneIntegrationControlStrategy() const
Overridden from IntegrationControlStrategyBase.