Class Case

java.lang.Object
  |
  +--Case

public class Case
extends java.lang.Object

This class provides an object for holding a single 'case' or 'plot' of data. Each case will consist of three variables:
H = Hubble Constant
OmegaM = Mass Factor
OmegaL = Acceleration Factor


Field Summary
 double[] aplot
          Arrays in which the results of the size integration will be stored.
 java.awt.Color color
          The color in which this case will be plotted
 Variable h0
          Variable for the Hubble Constant
 java.awt.TextField inputField
          An input field for labelling the case
 Variable omegaL
          Variable for the Acceleration Factor
 Variable omegaM
          Variable for the Mass Factor
 double[] tplot
          Arrays in which the results of the size integration will be stored.
 int traceIndex
          The index of tplot which is shown while tracing
 
Constructor Summary
Case()
          Creates a new case: all values initialized to 0.0
Case(java.lang.String label)
          Creates a new case with the specified label
 
Method Summary
 double getH0()
          Return the value of H0 - the Hubble Constant
 java.lang.String getLabel()
          Returns the label for this case
 double getOmegaL()
          Return the value of ol - the Acceleration Parameter
 double getOmegaM()
          Return the value of om - the Mass Parameter
 void setColor(java.awt.Color c)
          Set the color in which the plot for this case will be drawn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

h0

public Variable h0
Variable for the Hubble Constant

omegaM

public Variable omegaM
Variable for the Mass Factor

omegaL

public Variable omegaL
Variable for the Acceleration Factor

inputField

public java.awt.TextField inputField
An input field for labelling the case

color

public java.awt.Color color
The color in which this case will be plotted

tplot

public double[] tplot
Arrays in which the results of the size integration will be stored. The calculation takes to long to do dynamically.

aplot

public double[] aplot
Arrays in which the results of the size integration will be stored. The calculation takes to long to do dynamically.

traceIndex

public int traceIndex
The index of tplot which is shown while tracing
Constructor Detail

Case

public Case()
Creates a new case: all values initialized to 0.0

Case

public Case(java.lang.String label)
Creates a new case with the specified label
Method Detail

getLabel

public java.lang.String getLabel()
Returns the label for this case

getH0

public double getH0()
Return the value of H0 - the Hubble Constant

getOmegaM

public double getOmegaM()
Return the value of om - the Mass Parameter

getOmegaL

public double getOmegaL()
Return the value of ol - the Acceleration Parameter

setColor

public void setColor(java.awt.Color c)
Set the color in which the plot for this case will be drawn