|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IStepper
| Method Summary | |
|---|---|
void |
advance(double t,
double[] y,
double[] dydt,
double h,
IDerivative deriv,
double[] yout)
Advance the solution by one step of the independent variable. |
| Method Detail |
|---|
void advance(double t,
double[] y,
double[] dydt,
double h,
IDerivative deriv,
double[] yout)
t - the value of the independent variable (usually t) (input).y - the values of the state vector (usually [x,y,z,vx,vy,vz]) at t (input).dydt - will be filled with the values of the derivatives at t (input).h - the current step size (input)deriv - the function (interface) that can compute the derivatives.
That is where the problem specificity resides (input).yout - where the state vector at the next step will be stored (iutput)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||