30 #ifndef RYTHMOS_RAMPING_INTEGRATION_CONTROL_STRATEGY_DECL_HPP 31 #define RYTHMOS_RAMPING_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" 47 template<
class Scalar>
50 virtual public Teuchos::ParameterListAcceptorDefaultBase
80 RCP<IntegrationControlStrategyBase<Scalar> >
93 const int timeStepIter
100 const int timeStepIter,
108 int num_ramping_steps_;
111 Scalar ramping_factor_;
117 static const std::string num_ramping_steps_name_;
118 static const int num_ramping_steps_default_;
120 static const std::string initial_dt_name_;
121 static const double initial_dt_default_;
123 static const std::string max_dt_name_;
124 static const double max_dt_default_;
126 static const std::string ramping_factor_name_;
127 static const double ramping_factor_default_;
136 template<
class Scalar>
137 RCP<RampingIntegrationControlStrategy<Scalar> >
145 template<
class Scalar>
146 RCP<RampingIntegrationControlStrategy<Scalar> >
154 #endif // RYTHMOS_RAMPING_INTEGRATION_CONTROL_STRATEGY_DECL_HPP
void resetIntegrationControlStrategy(const TimeRange< Scalar > &integrationTimeDomain)
RCP< RampingIntegrationControlStrategy< Scalar > > rampingIntegrationControlStrategy()
RampingIntegrationControlStrategy()
Constructors/Initializers.
Base class for defining stepper functionality.
Simple strict to aggregate integration/stepper control information.
Base class for strategy objects that control integration by selecting step sizes for a stepper...
bool handlesFailedTimeSteps() const
Overridden from IntegrationControlStrategyBase.
bool resetForFailedTimeStep(const StepperBase< Scalar > &stepper, const StepControlInfo< Scalar > &stepCtrlInfoLast, const int timeStepIter, const StepControlInfo< Scalar > &stepCtrlInfo)
Controls inital ramping at a fixed or incrementing time step size.
void setParameterList(RCP< ParameterList > const ¶mList)
RCP< const ParameterList > getValidParameters() const
RCP< IntegrationControlStrategyBase< Scalar > > cloneIntegrationControlStrategy() const
StepControlInfo< Scalar > getNextStepControlInfo(const StepperBase< Scalar > &stepper, const StepControlInfo< Scalar > &stepCtrlInfoLast, const int timeStepIter)