Class OdesPoincare

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

public class OdesPoincare
extends OdesDiagnostics
Poincare section Diagnostics for Odes

Version:
24 October 1997
Author:
Michael Cross

Variable Index

 o crossed
true if Poincare plane has been crossed
 o firstDataPoint
true if first data point
 o ghostLength
number of iterations for ghost
 o ghostTime
time for ghost
 o marker
input marker size
 o markerScale
marker size
 o markerType
type of marker (see marker.txt)
 o ncurve1
index of first data curve
 o nplot
updated number of points in plot
 o nplot1
updated number of points in plot of second curve
 o sec
value for Poincare section
 o secVar
variable for Poincare section
 o titleArray
 o tp
last time
 o xp
copy of x
 o zHold
last x[xecVar] for Poincare section calculation

Constructor Index

 o OdesPoincare(Odes)

Method Index

 o iterate()
Iterates ODEs and updates graph
 o poincare(double[], double[], double, double, double, int)
 o process(double[], double[], int)
process data
 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 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 nplot1
 int nplot1
updated number of points in plot of second curve

 o xp
 double xp[]
copy of x

 o crossed
 boolean crossed
true if Poincare plane has been crossed

 o firstDataPoint
 boolean firstDataPoint
true if first data point

 o secVar
 int secVar
variable for Poincare section

 o sec
 double sec
value for Poincare section

 o zHold
 double zHold
last x[xecVar] for Poincare section calculation

 o tp
 double tp
last time

 o marker
 double marker
input marker size

 o markerScale
 double markerScale
marker size

 o markerType
 int markerType
type of marker (see marker.txt)

 o titleArray
 String titleArray[]

Constructors

 o OdesPoincare
 public OdesPoincare(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 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
 o poincare
 double poincare(double x1_in[],
                 double x2_in[],
                 double t1,
                 double t2,
                 double sec,
                 int secVar)