Class OdesDiagnostics
java.lang.Object
|
+----OdesDiagnostics
- public class OdesDiagnostics
- extends Object
Diagnostics for Odes
Base class for subclassing
- Version:
- 24 October 1997
- Author:
- Michael Cross
-
a
- function parameter
-
allowDrag
-
-
b
- function parameter
-
c
- function parameter
-
d
- function parameter
-
delay
- delay in graph update
-
dt
- time step (after reduction by delay)
-
dtp
- input time step
-
err
- error estimates from solver
-
errp
- error estimates from solver
-
iterations
- number of iterations
-
ncurve
- number of curves
-
ncurve1
- index of first data curve
-
ncurve2
- index of second data curve
-
nParameters
- Number of equation parameters
-
ntrans
- number of iterations to eliminate transient
-
nVariables
- number of variables (icluding time)
-
parameters
- equation parameters {a,b,c,d}
-
parent
- parent class
-
Pi
- math constants
-
Pi2
-
-
plot_x
- variable to be plotted on x-axis
-
plot_y
- variable to be plotted on y-axis
-
runTrans
- true if transient is to be run on call to restart()
-
setAxesRange
- true if user has chosen range with mouse
-
t
- time in evolution
-
trans
- transient time
-
wrapX
-
-
wrapXValue
-
-
wrapY
-
-
wrapYValue
-
-
wrapZ
-
-
wrapZValue
-
-
x
- iterated variable (icluding time)
-
x0
- starting value of x
-
xmax
- Range of plot
-
xmin
- Range of plot
-
xTitle
-
-
ymax
- Range of plot
-
ymin
- Range of plot
-
yTitle
-
-
OdesDiagnostics(Odes)
-
-
eliminateTransient()
-
-
iterate()
- Iterates Map equations and updates graph
-
resetRange()
- Resets x-range to 0 < x < 1
-
respondToClick(double, double)
- Action to perform on mouse click.
-
respondToDrag(double, double, double, double)
- Action to perform on mouse drag.
-
restart()
- Restarts
-
setDefaults()
- Sets default values of parameters depending on plot type
-
setDelay(int)
- Sets delay for movie iteration
-
setWrap(int, double)
-
-
updateParameters()
- Updates parameters from the text controls in parent class
nVariables
int nVariables
- number of variables (icluding time)
Pi
static final double Pi
- math constants
Pi2
static final double Pi2
setAxesRange
boolean setAxesRange
- true if user has chosen range with mouse
runTrans
boolean runTrans
- true if transient is to be run on call to restart()
wrapZ
public boolean wrapZ
wrapZValue
public double wrapZValue
wrapY
public boolean wrapY
wrapYValue
public double wrapYValue
wrapX
public boolean wrapX
wrapXValue
public double wrapXValue
allowDrag
public boolean allowDrag
plot_x
int plot_x
- variable to be plotted on x-axis
plot_y
int plot_y
- variable to be plotted on y-axis
ntrans
int ntrans
- number of iterations to eliminate transient
ncurve
int ncurve
- number of curves
ncurve1
int ncurve1
- index of first data curve
ncurve2
int ncurve2
- index of second data curve
iterations
int iterations
- number of iterations
delay
int delay
- delay in graph update
dt
double dt
- time step (after reduction by delay)
dtp
double dtp
- input time step
t
double t
- time in evolution
err
double err
- error estimates from solver
errp
double errp
- error estimates from solver
x
double x[]
- iterated variable (icluding time)
x0
double x0[]
- starting value of x
parameters
double parameters[]
- equation parameters {a,b,c,d}
nParameters
public int nParameters
- Number of equation parameters
a
double a
- function parameter
b
double b
- function parameter
c
double c
- function parameter
d
double d
- function parameter
trans
double trans
- transient time
xmin
double xmin
- Range of plot
xmax
double xmax
- Range of plot
ymin
double ymin
- Range of plot
ymax
double ymax
- Range of plot
xTitle
String xTitle
yTitle
String yTitle
parent
Odes parent
- parent class
OdesDiagnostics
public OdesDiagnostics(Odes inParent)
- Parameters:
- inParent - parent class
- See Also:
- Map1D
updateParameters
public void updateParameters()
- Updates parameters from the text controls in parent class
restart
public boolean restart()
- Restarts
iterate
public boolean iterate()
- Iterates Map equations and updates graph
- Returns:
- true if iteration successful
setDefaults
public void setDefaults()
- Sets default values of parameters depending on plot type
resetRange
public void resetRange()
- Resets x-range to 0 < x < 1
respondToDrag
public void respondToDrag(double x1,
double x2,
double y1,
double y2)
- Action to perform on mouse drag. Default is to set range of axes
and restart
respondToClick
public void respondToClick(double x,
double y)
- Action to perform on mouse click. Default is display coordinates
of point
setDelay
public void setDelay(int inDelay)
- Sets delay for movie iteration
setWrap
public void setWrap(int i,
double wrap)
eliminateTransient
boolean eliminateTransient()