106 typedef typename Teuchos::ScalarTraits<Scalar>::magnitudeType ScalarMag;
112 const Scalar& stepSize,
const StepSizeType& stepSizeType);
115 void nextStepSize(
const StepperBase<Scalar>& stepper, Scalar* stepSize,
116 StepSizeType* stepSizeType,
int* order);
120 const StepperBase<Scalar>& stepper
121 ,
const RCP<
const Thyra::VectorBase<Scalar> >& soln
122 ,
const RCP<
const Thyra::VectorBase<Scalar> >& ee
127 bool acceptStep(
const StepperBase<Scalar>& stepper, Scalar* LETValue);
133 AttemptedStepStatusFlag
rejectStep(
const StepperBase<Scalar>& stepper);
158 Teuchos::FancyOStream &out,
159 const Teuchos::EVerbosityLevel verbLevel
179 void initialize(
const StepperBase<Scalar>& stepper);
186 void defaultInitializeAllData_();
188 StepControlStrategyState stepControlState_;
190 RCP<Teuchos::ParameterList> parameterList_;
192 Scalar initialStepSize_;
193 Scalar requestedStepSize_;
194 Scalar currentStepSize_;
195 Scalar nextStepSize_;
196 Scalar stepSizeFactor_;
197 StepSizeType stepSizeType_;
201 Scalar maxStepSizeIncreaseFactor_;
202 Scalar minStepSizeDecreaseFactor_;
203 int numStepFailures_;
204 int maxStepFailures_;
206 Scalar errorRelativeTolerance_;
207 Scalar errorAbsoluteTolerance_;
210 RCP<const Thyra::VectorBase<Scalar> > x_;
211 RCP<const Thyra::VectorBase<Scalar> > dx_;
212 RCP<Thyra::VectorBase<Scalar> > errWtVec_;
215 static const std::string initialStepSizeName_;
216 static const double initialStepSizeDefault_;
218 static const std::string minStepSizeName_;
219 static const double minStepSizeDefault_;
221 static const std::string maxStepSizeName_;
222 static const double maxStepSizeDefault_;
224 static const std::string maxStepSizeIncreaseFactorName_;
225 static const double maxStepSizeIncreaseFactorDefault_;
227 static const std::string minStepSizeDecreaseFactorName_;
228 static const double minStepSizeDecreaseFactorDefault_;
230 static const std::string maxStepFailuresName_;
231 static const int maxStepFailuresDefault_;
233 static const std::string errorRelativeToleranceName_;
234 static const double errorRelativeToleranceDefault_;
236 static const std::string errorAbsoluteToleranceName_;
237 static const double errorAbsoluteToleranceDefault_;
242 void setStepControlState_(StepControlStrategyState state);