#include <LOCA_StepSize_Adaptive.H>
Inheritance diagram for LOCA::StepSize::Adaptive:
Public Member Functions  
Adaptive (NOX::Parameter::List ¶ms)  
Constructor.  
virtual  ~Adaptive () 
Destructor.  
virtual NOX::Abstract::Group::ReturnType  reset (NOX::Parameter::List ¶ms) 
Reset parameters.  
virtual NOX::Abstract::Group::ReturnType  compute (LOCA::Continuation::ExtendedGroup &curGroup, const LOCA::Continuation::ExtendedVector &predictor, const NOX::Solver::Generic &solver, const LOCA::Abstract::Iterator::StepStatus &stepStatus, const LOCA::Stepper &stepper, double &stepSize) 
Compute the step size as described above.  
virtual NOX::Abstract::Group::ReturnType  compute (LOCA::MultiContinuation::ExtendedGroup &curGroup, const LOCA::MultiContinuation::ExtendedVector &predictor, const NOX::Solver::Generic &solver, const LOCA::Abstract::Iterator::StepStatus &stepStatus, const LOCA::NewStepper &stepper, double &stepSize) 
Compute the step size as described above.  
Protected Attributes  
double  agrValue 
Stores the aggressiveness factor . 
This class implements an adaptive step size control strategy derived from the strategy implemented in the LOCA::StepSize::Constant class. If the previous step was unsucessful, the step size is cut in half as in the constant strategy, but if the step was sucessful this strategy increases the step size based on the number of nonlinear solver iterations required in the previous step. In particular, the new step size is given by
where is an aggressiveness factor, is the number of nonlinear solver iterations in the previous step, and is the maximum number of nonlinear solver iterations.
The parameters used by this class supplied in the constructor or reset method are the same as used by the Constant class in addition to:

Compute the step size as described above. Returns NOX::Abstract::Group::Failed if the computed step size is smaller than the minimum step size Reimplemented from LOCA::StepSize::Constant. 

Compute the step size as described above. Returns NOX::Abstract::Group::Failed if the computed step size is smaller than the minimum step size Reimplemented from LOCA::StepSize::Constant. 