A C D E F G H I L M N P R S T U V W

A

acosh(double) - Static method in class FMath
Inverse Hyperbolic cosine function
addPoints(double, double, double, double, double) - Method in class GraphCanvas
Add a state vector (t,x,y,z,m) to the data array
arrayMax(double[]) - Static method in class FMath
Find the index of the maximum value in the inputArray
arrayMin(double[]) - Static method in class FMath
Returns the index of the mimimum value in an array of doubles
asinh(double) - Static method in class FMath
Inverse Hyperbolic cosine

C

Cannibal - class Cannibal.
The invoking class for the Cannibal Applet
The following are PARAM tags - and their default values: rapo - Apogee Radius - 25 rperi - Perigee Radius - 15 incl - Inclination - 45 satrad - Satellite Scale Radius - 0.5 updatePeriod - Modifier to change print timestep, high values yeild smoother graphs and slower runs - 750
Cannibal() - Constructor for class Cannibal
 
coordXform(double, double, double, double, double, double, double, double, double) - Static method in class Panel3D
Get the positions of x,y,z defined in an inertial in a new frame centered at u,v,w of the intertial frame with the following roations:
angle psi about the z axis
angle theta about the transformed x axis
angle phi about the transformed y axis
cosh(double) - Static method in class FMath
Hyperbolic cosine function

D

data3DToScreen(double, double, double) - Method in class Panel3D
Get a point in the screens coordinates from a 3D point in world coordinates
dataToScreen(double, double) - Method in class Panel3D
Scale a 2D point to the plotting plane
derivs(double, double[]) - Method in class GalRunner
 
derivs(double, double[]) - Method in class lmc
 
dfToggle - Static variable in class Cannibal
Checkbox to toggle dynamic friction effects on/off
diskToggle - Static variable in class Cannibal
Checkbox to toggle disk effect on/off
dotprod(double[], double[]) - Static method in class FMath
Get the dot product of 2 vectors

E

ellf(double, double) - Static method in class FMath
Legendre elliptic integral of the first kind as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html
ellpi(double, double, double) - Static method in class FMath
Legendre elliptic integral of the third kind as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html

F

FMath - class FMath.
FMath is a abstract class with various functions I felt we're either missing or not implemented as I wanted them to be in the JDK Math class
FMath() - Constructor for class FMath
 
focusGained(FocusEvent) - Method in class Variable
FocusListenter method to alert this object that input focus has been acquired
focusLost(FocusEvent) - Method in class Variable
FocusListenter method to alert this object that input focus has been lost Note that this method makes a call specific to the Cosmo applet and will therefore need to be altered before it can be used in other applets.

G

galPanel3D - Static variable in class Cannibal
The Panel3D for viewing the entire system in 3d
galRunner - Static variable in class Cannibal
The tracking thread for the satellite and stars
GalRunner - class GalRunner.
 
GalRunner() - Constructor for class GalRunner
 
gaussElim(double[][]) - Static method in class FMath
Perform Gauss Elimination on an n x n+1 matrix
getMaxValue() - Method in class Variable
Get the maximum possible value for this variable
getMinValue() - Method in class Variable
Get the minimum possible value for this variable
getValue() - Method in class Variable
Returns the numeric value of this variable as a double
graph - Static variable in class Cannibal
The GraphCanvas to plot out radius and mass percentage
GraphCanvas - class GraphCanvas.
 

H

HEIGHT - Static variable in class Cannibal
The height of the applet

I

inclInput - Static variable in class Cannibal
Input variable for inclination radius
initSat(double, double, double) - Method in class GalRunner
 
inputField - Variable in class Variable
The input interface for this variable
inputPanel - Static variable in class Cannibal
The panel to contain the input controls
InputSlider - class InputSlider.
A class to get input via a scrollbar.
InputSlider(String, int, double, double, int) - Constructor for class InputSlider
 
itemStateChanged(ItemEvent) - Method in class Cannibal
Used to enable and disable the timestep slider for cases of nstars=0 or !=0 May cause issues with some browsers.
itemStateChanged(ItemEvent) - Method in class Panel3D
Receive a change in item state - calls a repaint

L

leastSquares(double[], double[], int) - Static method in class FMath
Performs least squares of order ORDER on independent x and dependent y
lmc - class lmc.
 
lmc() - Constructor for class lmc
 

M

main(String[]) - Static method in class FMath
Use main to test new algorithms
main(String[]) - Static method in class lmc
 
massDataToScreen(double, double) - Method in class GraphCanvas
Scale mass data to the screen
matrixmult(double[][], double[][]) - Static method in class FMath
Multiply two matrices Format for all matrices is matrix[row][column] Mult results in a matrix of size [a.length][b[0].length] a[0][0] a[0][1] a[0][n] b[0][0] b[0][1] b[0][n] a[1][0] a[1][1] a[1][n] x b[1][0] b[1][1] b[1][n] a[n][0] a[n][1] a[n][n] b[n][0] b[n][1] b[n][n]
maxValue - Variable in class Variable
Maximum value (this.value <= maximum value)
minValue - Variable in class Variable
Minimum value (this.value >= minimum value)
mlToggle - Static variable in class Cannibal
Checkbox to toggle mass loss effects on/off
mouseDragged(MouseEvent) - Method in class Panel3D
receive mouseDragged event
mouseMoved(MouseEvent) - Method in class Panel3D
receive mouseMoved event

N

nstars - Static variable in class Cannibal
The number of stars to be tracked
nstarsChoice - Static variable in class Cannibal
Choice menu for number of stars to be tracked

P

paint(Graphics) - Method in class GraphCanvas
update the graphics
paint(Graphics) - Method in class Panel3D
Repaint method, calls update
Panel3D - class Panel3D.
Panel3D uses a pseudo 3d projection (no perspective) to display 3d points on its 2D canvas
Panel3D(boolean) - Constructor for class Panel3D
Get a new Panel3D - either centered or not
pauseButton - Static variable in class Cannibal
Button to pause the simulation
PAUSEFLAG - Static variable in class Cannibal
When true, the simulation will pause and wait for PAUSEFLAG to be true again
phi - Variable in class Panel3D
The value of phi for the spherical coordinates (declination from the positive Z axis)
point_index - Variable in class GraphCanvas
Used to keep track of the index of our data

R

radDataToScreen(double, double) - Method in class GraphCanvas
Scale radius data to the screen
rapoInput - Static variable in class Cannibal
Input variable for apogee radius
rc(double, double) - Static method in class FMath
Carlson's degenerate elliptic integral (6.11) as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html
reset() - Method in class GraphCanvas
Resets the graph canvas, clears all graphics, and empties the data array
rf(double, double, double) - Static method in class FMath
Carlson's elliptic integral of the first kind (6.11) as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html
rj(double, double, double, double) - Static method in class FMath
Carlson's elliptic integral of the third kind (6.11) as defined at http://www.scf.fundp.ac.be/~jpvigner/homepage/sources/recipes/recipes.html
ro - Variable in class Panel3D
The value of ro for the spherical coordinates (radius) - Since perspective is unused this variable is unused
roundOff(double, int) - Static method in class FMath
Roundoff the inputDouble to the prescribed number of decimal places
rperiInput - Static variable in class Cannibal
Input variable for perigee radius
rss(double, double, double) - Static method in class FMath
Get the root sum square (vector magnitude) of the 3 input variables
run() - Method in class GalRunner
 
run() - Method in class Panel3D
The runnable method for this Panel3D, will simply update its graphics 10times per second until Cannibal's STOPFLAG is true

S

sat - Static variable in class Panel3D
Array for the state vector of the satellite - will point to Cannibal class' array
satmassChoice - Static variable in class Cannibal
Choice menu for sat mass
satPanel3D - Static variable in class Cannibal
The Panel3D for viewing the satellite up close and in 2D
satradInput - Static variable in class Cannibal
Input variable for satellite radius
setDataBounds(double, double, double, double) - Method in class Panel3D
Set the data bounds of this panel
setMaxValue(double) - Method in class Variable
Set the maximum possible value for this variable
setMinValue(double) - Method in class Variable
Set the minimum possible value for this variable
setupInputPanel() - Method in class Cannibal
Setup the layout of the input panel
setupListeners() - Method in class InputSlider
 
setValue() - Method in class Variable
Set the value of this variable to the value in its textfield.
setValue(double) - Method in class Variable
Set the value of this variable to the given double value
setValue(String) - Method in class Variable
Set the description of this variable for its label
sinh(double) - Static method in class FMath
Hyperbolic sine function
starderivs(double, double[]) - Method in class GalRunner
 
stars - Static variable in class Cannibal
Array to hold all of the stars
stars - Static variable in class Panel3D
Array to hold all of the stars - will point to Cannibal class' array
starsC - Static variable in class Cannibal
Array to hold all of the stars centered about the satellite to avoid synchronization issues.
starsC - Static variable in class Panel3D
Array to hold all of the stars centered about the satellite to avoid synchronization issues.
start() - Method in class Cannibal
Called by browser when applet is loaded into webpage
startButton - Static variable in class Cannibal
Button to start the simulation
stopButton - Static variable in class Cannibal
Button to stop the simulation
STOPFLAG - Static variable in class Cannibal
When true, the simulation stops

T

theta - Variable in class Panel3D
The value of theta for the spherical coordinates (right-ascension)
timeStepSlider - Static variable in class Cannibal
Input slider for integration (RK4) timestep

U

update(Graphics) - Method in class GraphCanvas
handles double buffering for paint
update(Graphics) - Method in class Panel3D
Renders graphics in a buffered image and draws it to the screen

V

value - Variable in class Variable
The numerical value of this variable
Variable - class Variable.
This class provides an interface for entering data via a textfield.
Variable() - Constructor for class Variable
Create a new variable with an initial value of 0.0
Variable(double) - Constructor for class Variable
Create a new variable with the specified value
Variable(String) - Constructor for class Variable
Create a new variable with the specified description
Variable(String, double) - Constructor for class Variable
Create a new variable with the specified description and value

W

w - Static variable in class Cannibal
Array for the state vector of the satellite
WIDTH - Static variable in class Cannibal
The width of the applet

A C D E F G H I L M N P R S T U V W