A C D F G I M P R S T X Y

A

abs() - Method in class Point
Instance method to calculate the absolute value of the Point, abstract and must be defined by any subclasses of Point.
abs(Point) - Static method in class Point
Static method to calculate and return a new Point equal to the absolute value of the Point p.
abs() - Method in class PointN
Instance method to take the absolute value of this PointN.
add(Point) - Method in class Point
Instance method to add a Point to the current Point, abstract and must be defined by any subclasses of Point.
add(Point, Point) - Static method in class Point
Static method to add two Points.
add(Point, Point, Point) - Static method in class Point
Static method to add three Points.
add(Point, Point, Point, Point) - Static method in class Point
Static method to add four Points.
add(Point) - Method in class PointN
Instance method to add a PointN to this PointN.

C

clone() - Method in class Point
Overrides the object.clone() method to enable Point cloning outside of Point package.
clone() - Method in class PointN
Overrides the Point.clone() method to enable a deep copy.
coordinate(int) - Method in class Point
Instance method to return the coordinate of the Point at index i, abstract and must be defined by any subclasses of Point.
coordinate(int) - Method in class PointN
Instance method to return the ith coordinate of this PointN.

D

Display - class Display.
This class is a sub class of JFrame and is responsible for the GUI and for displaying the space objects and there orbits.
Display(SpaceObject[], PointN) - Constructor for class Display
Constructs a Display which will act as my main GUI.
dimension() - Method in class Point
Instance method to return the dimension of the Point, abstract and must be defined by any subclasses of Point.
dimension() - Method in class PointN
Instance method to return d, the dimension of this PointN.

F

function(double, Point) - Method in class Integrator
Method to calculate the required function which defines the problem being integrated.
function(double, Point) - Method in class SolarIntegrator
represents the mathematical behaviour of my simplified solar system.

G

getC() - Method in class SpaceObject
Method for accessing the current coordinates of this space object.
getDisplay() - Method in class SpaceObject
Method for accessing the boolean variable display.
getDistance(SpaceObject, double, double, double) - Method in class SolarIntegrator
calculates the distance of a SpaceObject s from a certain position in 3D.
getI() - Method in class SpaceObject
Method for accessing the initial conditions of this space object.
getIV() - Method in class Integrator
Method used to return the current value of the independent variable.
getLocation() - Method in class Integrator
Method used to return the current state of the system.
getM() - Method in class SpaceObject
Method for accessing the mass of this space object.
getTime() - Method in class SpaceObject
Method to get the number of calculated time steps so far.
getUpdatedMass() - Method in class MomentumChanger
Method for getting the updated mass of Cruithne.
getUpdatedVelocities() - Method in class MomentumChanger
Method for getting the updated velocities of Cruithne.

I

Integrator - class Integrator.
Integrator is an abstract class which can be subclassed to create any kind of numerical integrator.
Integrator(double, double, Point, int) - Constructor for class Integrator
Constructor to instantiate Integrator - never called directly.
init() - Method in class StartMe
Method for initializing the whole applet.
integrate() - Method in class Integrator
Abstract method which performs the numerical integration, implemented by any subclass of Integrator.
integrate() - Method in class RK4
Method which performs RK4 numerical integration, requires that function has been implemented in a subclass.
integrate() - Method in class SolarIntegrator
Method for numerical integration.

M

MomentumChanger - class MomentumChanger.
This class is a sub class of JFrame and is responsible for a small GUI which allows the user to change Cruithnes momentum.
MomentumChanger(PointN, double) - Constructor for class MomentumChanger
Constructs a MomentumChager which will allow to change Cruithnes mometum via user input
main(String[]) - Static method in class Test
 
max() - Method in class Point
Method to return the maximum of the Point, abstract and must be defined by any subclasses of Point.
max() - Method in class PointN
Instance method to return the maximum value of this PointN.
min() - Method in class Point
Method to return the minimum of the Point, abstract and must be defined by any subclasses of Point.
min() - Method in class PointN
Instance method to return the minimum value of this PointN.
multiply(double) - Method in class Point
Instance method to multiply the current Point by a double, abstract and must be defined by any subclasses of Point.
multiply(Point, double) - Static method in class Point
Static method to multiply a Point by a double.
multiply(double) - Method in class PointN
Instance method to multiply this PointN by a double.
myDisplay - Variable in class StartMe
My GUI.

P

Point - class Point.
Point is an abstract class which can be used to store any dimensional system.
Point() - Constructor for class Point
 
PointN - class PointN.
PointN is a subclass of Point extending Point to the general case of N dimensions.
PointN(double[]) - Constructor for class PointN
 
plusOneTime() - Method in class SpaceObject
Method for increasing the stored time steps by one time step.

R

RK4 - class RK4.
RK4 is an abstract subclass of Integrator.
RK4(double, double, Point, int) - Constructor for class RK4
Constructor to instantiate RK4 - never called directly.
round(int) - Method in class Point
Instance method to round the Point's accuracy to n decimal places, abstract and must be defined by any subclasses of Point.
round(int) - Method in class PointN
Instance method to round this PointN to 10^(n) accuracy.
run() - Method in class Integrator
Method used to start a new thread performing the integration.

S

SolarIntegrator - class SolarIntegrator.
SolarIntegrator is a subclass of the abstract RK4 class.
SolarIntegrator(SpaceObject[], double, double, PointN, int) - Constructor for class SolarIntegrator
Constructs a SolarIntegrator for performing numerical integration.
SpaceObject - class SpaceObject.
This class represents a space object i.e. a planet, moon or asteroid.
SpaceObject(PointN, double) - Constructor for class SpaceObject
Constructs a SolarObject which will hold inital and current information about this object.
StartMe - class StartMe.
This class contains the init() method which will initialize the whole applet.
StartMe() - Constructor for class StartMe
 
setC(PointN) - Method in class SpaceObject
Method for updating the current coordinates of this space object.
setCoordinate(int, double) - Method in class PointN
Instance method to set the ith coordinate of this PointN.
setDisplay(boolean) - Method in class SpaceObject
Method for setting the boolean variable display.
setEnd(double) - Method in class Integrator
Method used to reset the final value of the independent variable used in the numerical integration.
setM(double) - Method in class SpaceObject
Method for updating the mass of this space object.
setSteps(int) - Method in class Integrator
Method used to reset the number of steps used in the numerical integration.
steps - Variable in class Integrator
The number of steps being used for the integration.

T

Test - class Test.
 
Test() - Constructor for class Test
 
terminate() - Method in class MomentumChanger
Method for closing the update window.
toString() - Method in class Integrator
Abstract method to return the problem being integrated in human readable form.
toString() - Method in class Point
Instance method to return the contents of the Point in human readable form, abstract and must be defined by any subclasses of Point.
toString() - Method in class PointN
Returns the PointN in readable form.
toString() - Method in class SolarIntegrator
This method is NOT USED!!!
truncate(int) - Method in class Point
Instance method to truncate the Point's accuracy to n decimal places, abstract and must be defined by any subclasses of Point.
truncate(int) - Method in class PointN
Instance method to truncate this PointN to 10^(n) accuracy.

X

x - Variable in class Integrator
Current value of the independent variable that the integration is begin performed with respect to.
x0 - Variable in class Integrator
Initial value of the independent variable that the integration is begin performed with respect to.
x1 - Variable in class Integrator
Final value of the independent variable that the integration is begin performed with respect to.

Y

y - Variable in class Integrator
Current state of the system being integrated.
y0 - Variable in class Integrator
Initial state of the system being integrated.

A C D F G I M P R S T X Y