Package cnuphys.rk4
Interface IRkListener
- All Known Implementing Classes:
- DefaultListener
public interface IRkListener
- 
Method SummaryModifier and TypeMethodDescriptionvoidnextStep(double newT, double[] newY, double h) The integration has advanced one step
- 
Method Details- 
nextStepvoid nextStep(double newT, double[] newY, double h) The integration has advanced one step- Parameters:
- newT- the new value of the independent variable (e.g., time)
- newY- the new value of the dependent variable, e.g. often a vector with six elements, e.g.: x, y, z, dx/dt, dy/dt, dz/dt
- h- the stepsize used for this advance
 
 
-