public class MeanWindCell
extends visad.ActionImpl
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MEAN_WIND
The name of the mean wind property.
|
| Constructor and Description |
|---|
MeanWindCell()
Constructs from nothing.
|
MeanWindCell(visad.DataReference windProfileRef,
visad.DataReference densityProfileRef,
visad.DataReference meanWindRef)
Constructs from DataReference-s to a wind profile, a density profile,
and a mean wind.
|
MeanWindCell(visad.Field windProfile,
visad.Field densityProfile)
Constructs from a wind profile and a density profile.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener.
|
void |
addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Adds a PropertyChangeListener for a named property.
|
void |
doAction()
Compute a new mean-wind value.
|
boolean |
equals(java.lang.Object obj)
Indicates if this instance is identical to another object.
|
visad.DataReference |
getMeanWindRef()
Returns the data reference for the mean wind.
|
static visad.Tuple |
getMissing()
Returns the missing mean-wind value.
|
static visad.TupleType |
getType()
Returns the type of the mean wind.
|
visad.Tuple |
getWind()
Returns the mean wind.
|
int |
hashCode()
Returns the hash code of this instance.
|
void |
removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener.
|
void |
removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
Removes a PropertyChangeListener for a named property.
|
void |
setDensityProfile(visad.Field densityProfile)
Sets the air-density profile.
|
void |
setWindProfile(visad.Field windProfile)
Sets the wind profile.
|
addReference, checkTicks, disableAction, enableAction, findReference, getCurrentActionThread, getLinks, getName, getTaskCount, printPool, removeAllReferences, removeReference, run, setEnabled, setName, setThreadPoolMaximum, stop, stopThreadPool, thingChanged, waitForTaskspublic static final java.lang.String MEAN_WIND
public MeanWindCell()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure;java.rmi.RemoteException - Java RMI failure.public MeanWindCell(visad.Field windProfile,
visad.Field densityProfile)
throws visad.VisADException,
java.rmi.RemoteException
windProfile - The wind profile.densityProfile - The density profile.visad.VisADException - VisAD failure;java.rmi.RemoteException - Java RMI failure.public MeanWindCell(visad.DataReference windProfileRef,
visad.DataReference densityProfileRef,
visad.DataReference meanWindRef)
throws visad.VisADException,
java.rmi.RemoteException
windProfileRef - The reference to the wind profile.densityProfileRef - The reference to the density profile.meanWindRef - The reference to the mean wind.visad.VisADException - VisAD failure;java.rmi.RemoteException - Java RMI failure.public static visad.TupleType getType()
public static visad.Tuple getMissing()
public void doAction()
throws visad.VisADException,
java.rmi.RemoteException
doAction in class visad.ActionImplvisad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The PropertyChangeListener to be added.public void addPropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
name - The name of the property.listener - The PropertyChangeListener to be added.public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
listener - The PropertyChangeListener to be removed.public void removePropertyChangeListener(java.lang.String name,
java.beans.PropertyChangeListener listener)
name - The name of the property.listener - The PropertyChangeListener to be removed.public void setWindProfile(visad.Field windProfile)
throws visad.VisADException,
java.rmi.RemoteException
windProfile - The horizontal wind profile.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public void setDensityProfile(visad.Field densityProfile)
throws visad.TypeException,
visad.VisADException,
java.rmi.RemoteException
densityProfile - The air-density profile.visad.TypeException - Argument has wrong VisAD MathType.visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.Tuple getWind()
throws visad.VisADException,
java.rmi.RemoteException
visad.VisADException - VisAD failure.java.rmi.RemoteException - Java RMI failure.public visad.DataReference getMeanWindRef()
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectobj - The other object.true if and only if this instance
is identical to the other object.public int hashCode()
hashCode in class java.lang.Object