|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.earth.AbstractAtmosphere
public abstract class AbstractAtmosphere
An abstract class that provides standard functionality for all atmosphere models that sub-class off of this one. Sub-classes must provide a method for calculating the atmosphere properties of density ratio, temperature ratio and pressure ratio. Also methods must be provided that simply return the values of temperature, pressure, density and speed of sound at sea level conditions.
Modified by: Joseph A. Huwaldt
| Field Summary | |
|---|---|
protected float |
alt
|
protected float |
delta
|
protected float |
sigma
|
protected float |
theta
|
| Constructor Summary | |
|---|---|
AbstractAtmosphere()
|
|
| Method Summary | |
|---|---|
abstract float |
a0()
Returns the standard sea level speed of sound for this atmosphere model. |
protected abstract void |
calculate()
Sub-classes must provide a method here that calculates the properties of a particular atmosphere model. |
float |
getAltitude()
Get geometric altitude currently being used for standard atmosphere calculations. |
float |
getDensity()
Get the static air density at altitude. |
float |
getDensityRatio()
Get the density at altitude divided by the sea-level standard density. |
float |
getPressure()
Get the static air pressure at altitude. |
float |
getPressureRatio()
Get the pressure at altitude divided by the sea-level standard pressure. |
float |
getSpeedOfSound()
Get the speed of sound at altitude. |
float |
getTemperature()
Get the static air temperature at altitude. |
float |
getTemperatureRatio()
Get the temperature at altitude divided by the sea-level standard temperature. |
abstract float |
maxAltitude()
Returns the maximum altitude supported by this atmosphere model. |
abstract float |
minAltitude()
Returns the minimum altitude supported by this atmosphere model. |
abstract float |
P0()
Returns the standard sea level pressure for this atmosphere model. |
abstract float |
RHO0()
Returns the standard sea level density for this atmosphere model. |
abstract void |
setAltitude(float altitude)
Sets the geometric altitude where the standard atmosphere is to be calculated. |
abstract float |
T0()
Returns the standard sea level temperature for this atmosphere model. |
java.lang.String |
toString()
Creates a String representation of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected float alt
protected float sigma
protected float delta
protected float theta
| Constructor Detail |
|---|
public AbstractAtmosphere()
| Method Detail |
|---|
public final float getAltitude()
public final float getDensityRatio()
public final float getPressureRatio()
public final float getTemperatureRatio()
public float getTemperature()
public float getPressure()
public float getDensity()
public float getSpeedOfSound()
public java.lang.String toString()
toString in class java.lang.Objectpublic abstract float T0()
public abstract float P0()
public abstract float RHO0()
public abstract float a0()
public abstract float minAltitude()
public abstract float maxAltitude()
public abstract void setAltitude(float altitude)
throws java.lang.IllegalArgumentException
altitude - Geometric altitude at which standard atmosphere is
to be calculated; value given in meters.
java.lang.IllegalArgumentExceptionprotected abstract void calculate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||