public final class CinBean extends ClockedBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OUTPUT_PROPERTY_NAME
The name of the output property.
|
Constructor and Description |
---|
CinBean(BeanNetwork network)
Constructs from the network in which this bean will be a component.
|
Modifier and Type | Method and Description |
---|---|
visad.Real |
getCin()
Returns the value of the output Convective INhibition (CIN) property.
|
void |
setBuoyancyProfile(visad.Field buoyProfile)
Sets the input, buoyancy profile.
|
void |
setInitialPressure(visad.Real initPres)
Sets the initial, starting pressure.
|
void |
setLfcPressure(visad.Real lfcPres)
Sets the pressure at the Level of Free Convection (LFC).
|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener
public static final java.lang.String OUTPUT_PROPERTY_NAME
public CinBean(BeanNetwork network)
network
- The bean network.public void setBuoyancyProfile(visad.Field buoyProfile) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
PropertyChangeEvent
is fired for the output property if
it differs from the previous value.buoyProfile
- The input buoyancy-profile.visad.TypeException
- if the domain quantity of the profile isn't
pressure or the range quantity of the
profile isn't massic volume.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public void setInitialPressure(visad.Real initPres) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
initPres
- The initial, starting pressure.java.lang.NullPointerException
- if the argument is null
.visad.TypeException
- if the pressure has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public void setLfcPressure(visad.Real lfcPres) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
lfcPres
- The pressure at the LFC.java.lang.NullPointerException
- if the argument is null
.visad.TypeException
- if the pressure has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.public visad.Real getCin()