#include <stepctrl.h>
Inheritance diagram for STEP_CTRL:
Public Methods | |
STEP_CTRL ( const string & name ) | |
Constructor. More... | |
void | SetStepSize ( double h ) |
Sets a stepsize. More... | |
double | GetStepSize () const |
Returns the current stepsize. More... | |
virtual double | PredictFirstStep ( const PtrODENumeric ODE, PtrDataRepr Data, int order ) = 0 |
Computes the first step. More... | |
virtual bool | PredictStep ( double & hPred, double h, const PtrODENumeric ODE, const INTERVAL_VECTOR & LocErr, const INTERVAL_VECTOR & Ytight, int order ) = 0 |
Computes a new stepsize. More... | |
double | CompMinStepSize ( double t, double T ) |
Computes the minimum stepsize allowed. More... | |
double | CompNextPoint ( double h, double t, double T ) |
Computes the next point. More... | |
double | IfLastStep ( double t, double h, double T ) |
Compute the last stepsize. More... | |
virtual void | Init ( const PtrODENumeric ODE ) = 0 |
Initializes a stepsize control object. | |
virtual | ~STEP_CTRL () |
Destructor. | |
Protected Methods | |
STEP_CTRL () |
|
Constructor. It sets a name for the stepsize control method.
|
|
Destructor.
|
|
|
|
Sets a stepsize. This function stores the absolute value of a stepsize.
|
|
Returns the current stepsize.
This function returns the stepsize that is set by the most recent call to SetStepSize(), or |
|
Computes the first step. This function computes a stepsize on the first integration step.
Reimplemented in CONST_STEP, and VAR_STEP_CTRL. |
|
Computes a new stepsize. This function computes a stepsize after the first integration step.
Reimplemented in CONST_STEP, and VAR_STEP_CTRL. |
|
Computes the minimum stepsize allowed.
|
|
Computes the next point.
|
|
Compute the last stepsize.
If |
|
Initializes a stepsize control object.
Reimplemented in CONST_STEP, and VAR_STEP_CTRL. |