Package ucar.visad.quantities
Class MassicVolume
java.lang.Object
ucar.visad.quantities.Quantity
ucar.visad.quantities.ScalarQuantity
ucar.visad.quantities.MassicVolume
Provides support for the quantity of massic volume (alias "specific
volume" or "volume per mass").
- Version:
- $Id: MassicVolume.java,v 1.4 2005/05/13 18:35:41 jeffmc Exp $
- Author:
- Steven R. Emmerson
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatacreateFromDensity(Data density) Creates an MassicVolume data object from a density data object.static RealTupleTypeObtains the RealTupleType associated with this class.static RealTypeObtains the RealType associated with this class.Methods inherited from class ucar.visad.quantities.ScalarQuantity
getRealType, getRealType, realTypeMethods inherited from class ucar.visad.quantities.Quantity
realTupleType, setRealTupleType
-
Method Details
-
getRealType
Obtains the RealType associated with this class.- Returns:
- The RealType associated with this class.
- Throws:
VisADException- Couldn't perform necessary VisAD operation.
-
getRealTupleType
Obtains the RealTupleType associated with this class.- Returns:
- The RealTupleType associated with this class.
- Throws:
VisADException- Couldn't perform necessary VisAD operation.
-
createFromDensity
public static Data createFromDensity(Data density) throws TypeException, VisADException, RemoteException Creates an MassicVolume data object from a density data object.- Parameters:
density- A Density data object.- Returns:
- The MassicVolume data object computed from the density. The type of the object will be that of the arguments after standard promotion.
- Throws:
TypeException- At least one argument has wrong type.VisADException- Couldn't create necessary VisAD object.RemoteException- Java RMI failure.- See Also:
-