Class OdesTimeSeries

java.lang.Object
   |
   +----OdesDiagnostics
           |
           +----OdesTimeSeries

public class OdesTimeSeries
extends OdesDiagnostics
TimeSeris Diagnostics for Odes

Version:
24 October 1997
Author:
Michael Cross

Variable Index

 o curve2
true if two curves are to be plotted
 o dx
perturbation
 o ghostLength
number of iterations for ghost
 o ghostTime
time for ghost
 o ncurve1
index of first data curve
 o ncurve2
index of second data curve
 o nplot
updated number of points in plot
 o nplot1
updated number of points in plot of second curve
 o t1
time for second curve
 o titleArray
 o x1
x for second curve
 o xp
copy of x

Constructor Index

 o OdesTimeSeries(Odes)

Method Index

 o iterate()
Iterates ODEs and updates graph
 o process(double[], double[], int)
process data
 o respondToClick(double, double)
Action to perform on mouse click.
 o restart()
Restarts
 o setDefaults()
Sets default values of parameters depending on plot type
 o setDelay(int)
Sets delay for movie iteration
 o updateParameters()
Updates parameters from the text controls in parent class

Variables

 o curve2
 boolean curve2
true if two curves are to be plotted

 o ghostTime
 double ghostTime
time for ghost

 o ghostLength
 int ghostLength
number of iterations for ghost

 o nplot
 int nplot
updated number of points in plot

 o ncurve1
 int ncurve1
index of first data curve

 o ncurve2
 int ncurve2
index of second data curve

 o nplot1
 int nplot1
updated number of points in plot of second curve

 o xp
 double xp[]
copy of x

 o x1
 double x1[]
x for second curve

 o dx
 double dx[]
perturbation

 o t1
 double t1
time for second curve

 o titleArray
 String titleArray[]

Constructors

 o OdesTimeSeries
 public OdesTimeSeries(Odes inParent)
Parameters:
inParent - parent class
See Also:
Map1D

Methods

 o updateParameters
 public void updateParameters()
Updates parameters from the text controls in parent class

Overrides:
updateParameters in class OdesDiagnostics
 o restart
 public boolean restart()
Restarts

Overrides:
restart in class OdesDiagnostics
 o iterate
 public boolean iterate()
Iterates ODEs and updates graph

Returns:
true if iteration successful
Overrides:
iterate in class OdesDiagnostics
 o setDefaults
 public void setDefaults()
Sets default values of parameters depending on plot type

Overrides:
setDefaults in class OdesDiagnostics
 o 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
 o setDelay
 public void setDelay(int inDelay)
Sets delay for movie iteration

Overrides:
setDelay in class OdesDiagnostics
 o 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