ucar.visad.quantities
Class Pressure

java.lang.Object
  extended by ucar.visad.quantities.Quantity
      extended by ucar.visad.quantities.ScalarQuantity
          extended by ucar.visad.quantities.Pressure
Direct Known Subclasses:
AirPressure, SaturationVaporPressure

public class Pressure
extends ScalarQuantity

Provides support for the quantity of pressure.

Version:
$Id: Pressure.java,v 1.10 2005/05/13 18:35:42 jeffmc Exp $
Author:
Steven R. Emmerson

Constructor Summary
protected Pressure(RealType realType, CoordinateSystem defaultCS)
          Constructs from a RealType and a CoordinateSystem.
protected Pressure(String name)
          Constructs from a name.
protected Pressure(String name, Unit unit)
          Constructs from a name and a unit.
 
Method Summary
static RealTupleType getRealTupleType()
          Obtains the RealTupleType associated with this class.
static RealType getRealType()
          Obtains the RealType associated with this class.
 
Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realType
 
Methods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pressure

protected Pressure(String name)
            throws VisADException
Constructs from a name.

Parameters:
name - The name for the instance.
Throws:
VisADException - Couldn't create necessary VisAD object.

Pressure

protected Pressure(String name,
                   Unit unit)
            throws VisADException
Constructs from a name and a unit.

Parameters:
name - The name of the quantity.
unit - The default unit of the quantity.
Throws:
VisADException - Couldn't create necessary VisAD object.

Pressure

protected Pressure(RealType realType,
                   CoordinateSystem defaultCS)
            throws VisADException
Constructs from a RealType and a CoordinateSystem.

Parameters:
realType - The RealType of the quantity.
defaultCS - The default domain CoordinateSystem.
Throws:
VisADException - Couldn't create necessary VisAD object.
Method Detail

getRealType

public static RealType getRealType()
                            throws VisADException
Obtains the RealType associated with this class.

Returns:
The RealType associated with this class.
Throws:
VisADException - Couldn't perform necessary VisAD operation.

getRealTupleType

public static RealTupleType getRealTupleType()
                                      throws VisADException
Obtains the RealTupleType associated with this class.

Returns:
The RealTupleType associated with this class.
Throws:
VisADException - Couldn't perform necessary VisAD operation.