Class OdesReturnMap
java.lang.Object
|
+----OdesDiagnostics
|
+----OdesReturnMap
- public class OdesReturnMap
- extends OdesDiagnostics
1d return map (on Poincare section) diagnostics for Odes
- Version:
- 24 October 1997
- Author:
- Michael Cross
-
crossed
- true if Poincare plane has been crossed
-
firstDataPoint
- true if first data point
-
ghostLength
- number of iterations for ghost
-
ghostTime
- time for ghost
-
marker
- input marker size
-
markerScale
- marker size
-
markerType
- type of marker (see marker.txt)
-
ncurve1
- index of first data curve
-
nplot
- updated number of points in plot
-
nplot1
- updated number of points in plot of second curve
-
sec
- value for Poincare section
-
secVar
- variable for Poincare section
-
tp
- last time
-
xp
- copy of x
-
XTitleArray
-
-
YTitleArray
-
-
z1
- vasiables for return map
-
z2
- vasiables for return map
-
zHold
- last x[xecVar] for Poincare section calculation
-
OdesReturnMap(Odes)
-
-
iterate()
- Iterates ODEs and updates graph
-
poincare(double[], double[], double, double, double, int)
-
-
process(double[], double[], int)
- process data
-
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
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
nplot1
int nplot1
- updated number of points in plot of second curve
xp
double xp[]
- copy of x
crossed
boolean crossed
- true if Poincare plane has been crossed
firstDataPoint
boolean firstDataPoint
- true if first data point
secVar
int secVar
- variable for Poincare section
sec
double sec
- value for Poincare section
zHold
double zHold
- last x[xecVar] for Poincare section calculation
z1
double z1
- vasiables for return map
z2
double z2
- vasiables for return map
tp
double tp
- last time
marker
double marker
- input marker size
markerScale
double markerScale
- marker size
markerType
int markerType
- type of marker (see marker.txt)
XTitleArray
String XTitleArray[]
YTitleArray
String YTitleArray[]
OdesReturnMap
public OdesReturnMap(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
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
poincare
double poincare(double x1_in[],
double x2_in[],
double t1,
double t2,
double sec,
int secVar)