Definition at line 14 of file HumidityRatio.h.
◆ HumidityRatio()
| HumidityRatio::HumidityRatio |
( |
double |
atmosphericPressure, |
|
|
double |
dryBulbTemp, |
|
|
double |
relativeHumidity, |
|
|
double |
wetBulbTemp |
|
) |
| |
|
inline |
Constructor for the humidity ratio calculator
- Parameters
-
| atmosphericPressure | double, pressure of the atmosphere in atm |
| dryBulbTemp | double, temperature of the inputted air in °F |
| relativeHumidity | double, relative humidity as % |
| wetBulbTemp | double, wet bulb temperature in °F |
Definition at line 27 of file HumidityRatio.h.
◆ getAtmosphericPressure()
| double HumidityRatio::getAtmosphericPressure |
( |
| ) |
const |
|
inline |
Gets the pressure of the atmosphere
- Returns
- double, atmospheric pressure in atm
Definition at line 44 of file HumidityRatio.h.
◆ getDryBulbTemp()
| double HumidityRatio::getDryBulbTemp |
( |
| ) |
const |
|
inline |
Gets the dry bulb temperature
- Returns
- double, dry bulb temperature in °F
Definition at line 59 of file HumidityRatio.h.
◆ getHumidityRatioUsingRH()
| double HumidityRatio::getHumidityRatioUsingRH |
( |
| ) |
|
Gets the humidity ratio using the relative humidity (instead of wet bulb temperature)
- Returns
- double, humidity ratio - unitless
◆ getHumidityRatioUsingWBT()
| double HumidityRatio::getHumidityRatioUsingWBT |
( |
| ) |
|
Gets the humidity ratio using the wet bulb temperature (instead of relative humidity)
- Returns
- double, humidity ratio - unitless
◆ getRelativeHumidity()
| double HumidityRatio::getRelativeHumidity |
( |
| ) |
const |
|
inline |
Gets the relative humidity
- Returns
- double, relative humidity as %
Definition at line 74 of file HumidityRatio.h.
◆ getSaturationPressure()
| double HumidityRatio::getSaturationPressure |
( |
double |
temperature | ) |
|
Gets the saturation pressure
- Returns
- double, saturation pressure in atm
◆ getWetBulbTemp()
| double HumidityRatio::getWetBulbTemp |
( |
| ) |
const |
|
inline |
Gets the wet bulb temperature
- Returns
- double, wet bulb temperature in °F
Definition at line 89 of file HumidityRatio.h.
◆ setAtmosphericPressure()
| void HumidityRatio::setAtmosphericPressure |
( |
double |
atmosphericPressure | ) |
|
|
inline |
Sets the pressure of the atmosphere
- Parameters
-
| atmosphericPressure | double atmospheric pressure in atm |
Definition at line 52 of file HumidityRatio.h.
◆ setDryBulbTemp()
| void HumidityRatio::setDryBulbTemp |
( |
double |
dryBulbTemp | ) |
|
|
inline |
Sets the dry bulb temperature
- Parameters
-
| dryBulbTemp | double, dry bulb temperature |
Definition at line 67 of file HumidityRatio.h.
◆ setRelativeHumidity()
| void HumidityRatio::setRelativeHumidity |
( |
double |
relativeHumidity | ) |
|
|
inline |
Sets the relative humidity
- Parameters
-
| relativeHumidity | double, relative humidity as % |
Definition at line 82 of file HumidityRatio.h.
◆ setWetBulbTemp()
| void HumidityRatio::setWetBulbTemp |
( |
double |
wetBulbTemp | ) |
|
|
inline |
Sets the wet bulb temperature
- Parameters
-
| wetBulbTemp | double, wet bulb temperature in °F |
Definition at line 104 of file HumidityRatio.h.
◆ atmosphericPressure_
| double HumidityRatio::atmosphericPressure_ = 0.0 |
|
private |
◆ dryBulbTemp_
| double HumidityRatio::dryBulbTemp_ = 0.0 |
|
private |
◆ humidityRatioUsingRH_
| double HumidityRatio::humidityRatioUsingRH_ |
|
private |
◆ humidityRatioUsingWBT_
| double HumidityRatio::humidityRatioUsingWBT_ |
|
private |
◆ relativeHumidity_
| double HumidityRatio::relativeHumidity_ = 0.0 |
|
private |
◆ saturationPressure_
| double HumidityRatio::saturationPressure_ |
|
private |
◆ wetBulbTemp_
| double HumidityRatio::wetBulbTemp_ = 0.0 |
|
private |
The documentation for this class was generated from the following file: