|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opensourcephysics.numerics.AbstractODESolver
org.opensourcephysics.numerics.Butcher5
org.opensourcephysics.numerics.Adams5
public class Adams5
Title: Adams5 Description: A fifth order Predictor-Corrector (PECE) ODE solver.
| Field Summary |
|---|
| Fields inherited from class org.opensourcephysics.numerics.AbstractODESolver |
|---|
numEqn, ode, stepSize |
| Constructor Summary | |
|---|---|
Adams5(ODE ode)
Constructs the ODESolver for a system of ordinary differential equations. |
|
| Method Summary | |
|---|---|
void |
initialize(double stepSize)
Initializes the ODE solver and allocates the rate and state arrays. |
double |
step()
Steps (advances) the differential equations by the stepSize. |
| Methods inherited from class org.opensourcephysics.numerics.AbstractODESolver |
|---|
getStepSize, setStepSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Adams5(ODE ode)
ode - the system of differential equations.| Method Detail |
|---|
public void initialize(double stepSize)
initialize in interface ODESolverinitialize in class Butcher5stepSize - public double step()
step in interface ODESolverstep in class Butcher5
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||