Class OdesTimeSeries
java.lang.Object
|
+----OdesDiagnostics
|
+----OdesTimeSeries
- public class OdesTimeSeries
- extends OdesDiagnostics
TimeSeris Diagnostics for Odes
- Version:
- 24 October 1997
- Author:
- Michael Cross
-
curve2
- true if two curves are to be plotted
-
dx
- perturbation
-
ghostLength
- number of iterations for ghost
-
ghostTime
- time for ghost
-
ncurve1
- index of first data curve
-
ncurve2
- index of second data curve
-
nplot
- updated number of points in plot
-
nplot1
- updated number of points in plot of second curve
-
t1
- time for second curve
-
titleArray
-
-
x1
- x for second curve
-
xp
- copy of x
-
OdesTimeSeries(Odes)
-
-
iterate()
- Iterates ODEs and updates graph
-
process(double[], double[], int)
- process data
-
respondToClick(double, double)
- Action to perform on mouse click.
-
restart()
- Restarts
-
setDefaults()
- Sets default values of parameters depending on plot type
-
setDelay(int)
- Sets delay for movie iteration
-
updateParameters()
- Updates parameters from the text controls in parent class
curve2
boolean curve2
- true if two curves are to be plotted
ghostTime
double ghostTime
- time for ghost
ghostLength
int ghostLength
- number of iterations for ghost
nplot
int nplot
- updated number of points in plot
ncurve1
int ncurve1
- index of first data curve
ncurve2
int ncurve2
- index of second data curve
nplot1
int nplot1
- updated number of points in plot of second curve
xp
double xp[]
- copy of x
x1
double x1[]
- x for second curve
dx
double dx[]
- perturbation
t1
double t1
- time for second curve
titleArray
String titleArray[]
OdesTimeSeries
public OdesTimeSeries(Odes inParent)
- Parameters:
- inParent - parent class
- See Also:
- Map1D
updateParameters
public void updateParameters()
- Updates parameters from the text controls in parent class
- Overrides:
- updateParameters in class OdesDiagnostics
restart
public boolean restart()
- Restarts
- Overrides:
- restart in class OdesDiagnostics
iterate
public boolean iterate()
- Iterates ODEs and updates graph
- Returns:
- true if iteration successful
- Overrides:
- iterate in class OdesDiagnostics
setDefaults
public void setDefaults()
- Sets default values of parameters depending on plot type
- Overrides:
- setDefaults in class OdesDiagnostics
respondToClick
public void respondToClick(double xcoord,
double ycoord)
- Action to perform on mouse click. Default is display coordinates
of point
- Overrides:
- respondToClick in class OdesDiagnostics
setDelay
public void setDelay(int inDelay)
- Sets delay for movie iteration
- Overrides:
- setDelay in class OdesDiagnostics
process
int process(double x[],
double data[],
int nplot)
- process data
- Parameters:
- x - variable
- data - for plotting
- nplot - number of points indata
- Returns:
- nplot new number of points in data