Package gov.nih.mipav.model.algorithms
Class ODEEP
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.ODEEP
-
public abstract class ODEEP extends java.lang.Object
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ODEEP()Creates a new ODEEP object.ODEEP(int neqn, DoubleDouble[] y, DoubleDouble t, DoubleDouble tout, DoubleDouble relerr, DoubleDouble abserr, int[] iflag)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description private voidallocateArrays()private voidclearArrays()private voidde()voiddriver()private DoubleDoubledsign(DoubleDouble a, DoubleDouble b)abstract voidf(DoubleDouble t, DoubleDouble[] y, DoubleDouble[] yp)private voidfTestMode(DoubleDouble x, DoubleDouble[] yy, DoubleDouble[] yp)DoubleDoublegetAbserr()java.lang.StringgetErrorMessage()intgetIflag()DoubleDoublegetRelerr()DoubleDoublegetT()DoubleDouble[]getY()private voidintrp()voidstep(DoubleDouble[] eps, boolean[] crash)
-
-
-
Field Detail
-
neqn
private int neqn
-
y
private DoubleDouble[] y
-
t
private DoubleDouble t
-
tout
private DoubleDouble tout
-
relerr
private DoubleDouble relerr
-
abserr
private DoubleDouble abserr
-
iflag
private int[] iflag
-
alpha
private DoubleDouble[] alpha
-
beta
private DoubleDouble[] beta
-
sig
private DoubleDouble[] sig
-
v
private DoubleDouble[] v
-
w
private DoubleDouble[] w
-
g
private DoubleDouble[] g
-
phase
private DoubleDouble phase
-
psi
private DoubleDouble[] psi
-
x
private DoubleDouble x
-
h
private DoubleDouble h
-
hold
private DoubleDouble hold
-
istart
private DoubleDouble istart
-
told
private DoubleDouble told
-
delsn
private DoubleDouble delsn
-
yy
private DoubleDouble[] yy
-
wt
private DoubleDouble[] wt
-
p
private DoubleDouble[] p
-
yp
private DoubleDouble[] yp
-
ypout
private DoubleDouble[] ypout
-
phi
private DoubleDouble[][] phi
-
ns
private int ns
-
iwork1
private int iwork1
-
k
private int k
-
kold
private int kold
-
isnold
private int isnold
-
start
private boolean start
-
phase1
private boolean phase1
-
nornd
private boolean nornd
-
twou
private DoubleDouble twou
-
fouru
private DoubleDouble fouru
-
maxnum
private int maxnum
-
testMode
private boolean testMode
-
testCase
private int testCase
-
ENRIGHT_AND_PRYCE_A1
private final int ENRIGHT_AND_PRYCE_A1
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_A2
private final int ENRIGHT_AND_PRYCE_A2
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_A3
private final int ENRIGHT_AND_PRYCE_A3
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_A4
private final int ENRIGHT_AND_PRYCE_A4
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_A5
private final int ENRIGHT_AND_PRYCE_A5
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_B1
private final int ENRIGHT_AND_PRYCE_B1
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_B2
private final int ENRIGHT_AND_PRYCE_B2
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_B3
private final int ENRIGHT_AND_PRYCE_B3
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_B4
private final int ENRIGHT_AND_PRYCE_B4
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_B5
private final int ENRIGHT_AND_PRYCE_B5
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_C1
private final int ENRIGHT_AND_PRYCE_C1
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_C2
private final int ENRIGHT_AND_PRYCE_C2
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_C3
private final int ENRIGHT_AND_PRYCE_C3
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_C4
private final int ENRIGHT_AND_PRYCE_C4
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_C5
private final int ENRIGHT_AND_PRYCE_C5
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_D1
private final int ENRIGHT_AND_PRYCE_D1
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_D2
private final int ENRIGHT_AND_PRYCE_D2
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_D3
private final int ENRIGHT_AND_PRYCE_D3
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_D4
private final int ENRIGHT_AND_PRYCE_D4
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_D5
private final int ENRIGHT_AND_PRYCE_D5
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_E1
private final int ENRIGHT_AND_PRYCE_E1
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_E2
private final int ENRIGHT_AND_PRYCE_E2
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_E3
private final int ENRIGHT_AND_PRYCE_E3
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_E4
private final int ENRIGHT_AND_PRYCE_E4
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_E5
private final int ENRIGHT_AND_PRYCE_E5
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_F1
private final int ENRIGHT_AND_PRYCE_F1
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_F2
private final int ENRIGHT_AND_PRYCE_F2
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_F3
private final int ENRIGHT_AND_PRYCE_F3
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_F4
private final int ENRIGHT_AND_PRYCE_F4
- See Also:
- Constant Field Values
-
ENRIGHT_AND_PRYCE_F5
private final int ENRIGHT_AND_PRYCE_F5
- See Also:
- Constant Field Values
-
LOTKA_VOLTERRA_PREDATOR_PREY
private final int LOTKA_VOLTERRA_PREDATOR_PREY
- See Also:
- Constant Field Values
-
LORENZ_SYSTEM
private final int LORENZ_SYSTEM
- See Also:
- Constant Field Values
-
VAN_DER_POL
private final int VAN_DER_POL
- See Also:
- Constant Field Values
-
LINEARIZED_DAMPED_PENDULUM
private final int LINEARIZED_DAMPED_PENDULUM
- See Also:
- Constant Field Values
-
NONLINEAR_DAMPED_PENDULUM
private final int NONLINEAR_DAMPED_PENDULUM
- See Also:
- Constant Field Values
-
DUFFINGS
private final int DUFFINGS
- See Also:
- Constant Field Values
-
DUFFINGS_WITH_DAMPING_AND_FORCING
private final int DUFFINGS_WITH_DAMPING_AND_FORCING
- See Also:
- Constant Field Values
-
SHAMPINES_BALL_OF_FLAME
private final int SHAMPINES_BALL_OF_FLAME
- See Also:
- Constant Field Values
-
POLKINGS_FIRST_ORDER
private final int POLKINGS_FIRST_ORDER
- See Also:
- Constant Field Values
-
KNEE_PROBLEM
private final int KNEE_PROBLEM
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ODEEP
public ODEEP()
Creates a new ODEEP object. Test with: new ODEEPtest(); class ODEtest extends ODEEP { public ODEtest() { super(); } public void f(DoubleDouble x, DoubleDouble yy[], DoubleDouble yp[]) { } }
-
ODEEP
public ODEEP(int neqn, DoubleDouble[] y, DoubleDouble t, DoubleDouble tout, DoubleDouble relerr, DoubleDouble abserr, int[] iflag)
-
-
Method Detail
-
allocateArrays
private void allocateArrays()
-
clearArrays
private void clearArrays()
-
fTestMode
private void fTestMode(DoubleDouble x, DoubleDouble[] yy, DoubleDouble[] yp)
-
dsign
private DoubleDouble dsign(DoubleDouble a, DoubleDouble b)
-
getY
public DoubleDouble[] getY()
-
getT
public DoubleDouble getT()
-
getIflag
public int getIflag()
-
getRelerr
public DoubleDouble getRelerr()
-
getErrorMessage
public java.lang.String getErrorMessage()
-
getAbserr
public DoubleDouble getAbserr()
-
driver
public void driver()
-
de
private void de()
-
step
public void step(DoubleDouble[] eps, boolean[] crash)
-
f
public abstract void f(DoubleDouble t, DoubleDouble[] y, DoubleDouble[] yp)
-
intrp
private void intrp()
-
-