Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
C
D
E
F
G
H
I
M
O
P
R
S
T
U
W
X
Y
A
adaptivestep()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to perform one adaptive step increment.
addMonitor(SolveMonitor, double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to add a progress monitor with will result in a call to .upDateMonitor(DataPoint p) and the specified interval.
addToX(double)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method add to the current value of the X.
addToY(int, double)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to add to a single y element.
C
clone()
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to return a clone of the current DataDataDerivative including a copy of the y array.
clone()
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to return a clone of the current DataPoint including a copy of the y array.
D
DataDerivative
- Class in
uk.ac.ed.ph.integrator
Class to hold a single DataDeravitive consisting of an x coordinate and a array of y coordinates for use in integrator methods.
DataDerivative()
- Constructor for class uk.ac.ed.ph.integrator.
DataDerivative
Default constrcuor, set x=0 and y[] array to null
DataDerivative(double, double[])
- Constructor for class uk.ac.ed.ph.integrator.
DataDerivative
Constructor to form a DataDerivative from a x coordinate and y array
DataDerivative(int)
- Constructor for class uk.ac.ed.ph.integrator.
DataDerivative
Constructor to form a DataDerivative with specified size of y array, and all values are set to zero
DataPoint
- Class in
uk.ac.ed.ph.integrator
Class to hold a single DataPoint consisting of an x coordinate and a array of y coordinates for use in integrator methods.
DataPoint()
- Constructor for class uk.ac.ed.ph.integrator.
DataPoint
Default constrcuor, set x=0 and y[] array to null
DataPoint(double, double[])
- Constructor for class uk.ac.ed.ph.integrator.
DataPoint
Constructor to form a DataPoint from a x coordinate and y array
DataPoint(int)
- Constructor for class uk.ac.ed.ph.integrator.
DataPoint
Constrcuor to form a DataPoint with specified size of y array, and all values are set to zero
DiffEquations
- Class in
uk.ac.ed.ph.integrator
Abstract class to defibe the differential eauations for the Integrator class.
DiffEquations()
- Constructor for class uk.ac.ed.ph.integrator.
DiffEquations
Default conststructor, needs to be overloaded by a usable extending class.
E
eqn
- Variable in class uk.ac.ed.ph.integrator.
Integrator
error(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
The default error between two DataPoints, currently set as the normalsied square error
Euler
- Class in
uk.ac.ed.ph.integrator
Class to implement simple Euler integration.
Euler(DiffEquations)
- Constructor for class uk.ac.ed.ph.integrator.
Euler
Constructor to create the Euler class and attach a set of equations to se solved
eulerStep(DataDerivative, double)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to for a new DataPoint by propagating the current point a specified distance (step), with the differentials in delta using the simple Euler scheme
evaluate(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
DiffEquations
Method to evaluate the dy[i]/dx and return the values in a new y-array of the returned DataPoint.
evaluate(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
HarmonicEquations
Evaluation method called by the integration class
evaluate(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
OrbitEquations
evaluate method called by the integration class
F
fixedstep()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to perform one fixed step increment.
fmt
- Static variable in class uk.ac.ed.ph.integrator.
DataDerivative
formatPoint()
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to format a point as a String for file output with x value and each y[] element seperated by a space.
G
getAccuracy()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to get the accuracy criteria
getMaxStep()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to get the maximum step size
getMinStep()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to get the minumum step size
getSaveInterval()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to get the save interval
getStep()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to get the current step size
getStepNumber()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to get the number of steps taken.
getX()
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to get the x value
getY()
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to get the y array
getY(int)
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to get a specific element of the y array.
H
HarmonicEquations
- Class in
uk.ac.ed.ph.integrator
Example set of DiffEqutions to implement Force Damped SMH of a single particle about a fixed point.
HarmonicEquations(double, double)
- Constructor for class uk.ac.ed.ph.integrator.
HarmonicEquations
Constuctor for Damped SMH with no forcing.
HarmonicEquations(double, double, double, double)
- Constructor for class uk.ac.ed.ph.integrator.
HarmonicEquations
Constuctor for Forced Damped SMH
I
ImprovedEuler
- Class in
uk.ac.ed.ph.integrator
Class to implement two point Improved Euler integration that used two derivitives at start and end od step interval.
ImprovedEuler(DiffEquations)
- Constructor for class uk.ac.ed.ph.integrator.
ImprovedEuler
Constructor to create the ImprovedEuler two point integrator class and attach a set of equations to se solved
Integrator
- Class in
uk.ac.ed.ph.integrator
Class to implement general integration by using with either fixed step size of factor of two adaptive size.
Integrator(DiffEquations)
- Constructor for class uk.ac.ed.ph.integrator.
Integrator
Constructor to create the general class and attach a set of equations to se solved
M
maximumError(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to calcuate the absolute maximum error between elemenst of the y paramter array
O
OrbitEquations
- Class in
uk.ac.ed.ph.integrator
Example set of Diffequations to implement orbits equations about a fixed mass.
OrbitEquations(double, double, double)
- Constructor for class uk.ac.ed.ph.integrator.
OrbitEquations
Constructor for OrbitEqutions for a mass as specified location
P
PrintMonitor
- Class in
uk.ac.ed.ph.integrator
Class to monitor integrator progress to a formated output stream or File.
PrintMonitor()
- Constructor for class uk.ac.ed.ph.integrator.
PrintMonitor
Default constuctor to print DataPoints to the default
System.out
PrintMonitor(File)
- Constructor for class uk.ac.ed.ph.integrator.
PrintMonitor
Constuctor for a PrintMonitor to outut to a spefied File.
PrintMonitor(String)
- Constructor for class uk.ac.ed.ph.integrator.
PrintMonitor
Constuctor for a PrintMonitor to outut to a speified file name.
R
removeMonitor()
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to remove the Monitor
RungeKutta
- Class in
uk.ac.ed.ph.integrator
Class to implement RungeKutta integration by using Four point RK with either fixed step size of factor of two adaptive size.
RungeKutta(DiffEquations)
- Constructor for class uk.ac.ed.ph.integrator.
RungeKutta
Constructor to create the RungaKutta class and attach a set of equations to se solved
S
setAccuracy(double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the accuracy for adaptive step size.
setAdaptiveTestInternal(int)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the adaptive test internal in steps
setDefaultError(int)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to set the default error
setFormatString(String)
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to set the format string from the default of "%g".
setMaxStep(double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the maximun step size when using adaptive step.
setMinStep(double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the minumun step size when using adaptive step
setMonitorInterval(double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Methed of set (or reset) the call inetrval of a pre-attached SolveMonitor.
setMonitorTimeInterval(int)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the monitor time interval
setSaveInterval(int)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the save interval being the number of steps between the storing the calcualted points.
setStartConditions(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the starting conditions, or perhaps new starting conditons.
setStep(double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the step size.
setVerbose(boolean)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to set the/unset the verbose flag.
setX(double)
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to set the x coordinate.
setY(double[])
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Void method to set the y coordinate array
setY(int, double)
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Method to set a single y element.
size()
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Int method to get the size of the y array.
solve(double, boolean)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to cause class to do the solving from it current position.
SolveMonitor
- Class in
uk.ac.ed.ph.integrator
Abstart Class to monitor Integrator class by defaults does nothing.
SolveMonitor()
- Constructor for class uk.ac.ed.ph.integrator.
SolveMonitor
Default constructor, does nothing
squareError(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Calcualte the normalsied square error between the current DataPoint as the specified DataPoint
stepForward(DataPoint, double)
- Method in class uk.ac.ed.ph.integrator.
Euler
Internal to perform a single Euler step
stepForward(DataPoint, double)
- Method in class uk.ac.ed.ph.integrator.
ImprovedEuler
Internal method to perform a two point Improved Euler step.
stepForward(DataPoint, double)
- Method in class uk.ac.ed.ph.integrator.
Integrator
Method to perform one forward step, overwritten by the extending classes.
stepForward(DataPoint, double)
- Method in class uk.ac.ed.ph.integrator.
RungeKutta
Method to perform a Four Point RK with
T
toString()
- Method in class uk.ac.ed.ph.integrator.
DataDerivative
Default method for give formattered String
U
uk.ac.ed.ph.integrator
- package uk.ac.ed.ph.integrator
updateMonitor(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
PrintMonitor
Method to print to a file line
updateMonitor(DataPoint)
- Method in class uk.ac.ed.ph.integrator.
SolveMonitor
Void method to monitor the Integrator process which get automatically called by the Integrator class as specified interval.
W
weightedStep(DataDerivative[], double[], double)
- Method in class uk.ac.ed.ph.integrator.
DataPoint
Method to a new DataPoint be propagating the current DataPoint by a weighted step.
X
x
- Variable in class uk.ac.ed.ph.integrator.
DataDerivative
Y
y
- Variable in class uk.ac.ed.ph.integrator.
DataDerivative
A
C
D
E
F
G
H
I
M
O
P
R
S
T
U
W
X
Y
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes