![]() |
VR-Forces 5.0.1 Developer's Guide
|
Singleton for the humidity table,.
Public Member Functions | |
| void | init () |
| double | humidityAtSeaLevel () |
| double | humidityAtAltitude (int altitude) |
| double | humidityAtAltitude (double seaLevelHumidity, int altitude) |
Static Public Member Functions | |
| static DtHumidityTableUtils * | instance () |
Protected Member Functions | |
| void | loadHumidityTableFile () |
Private Member Functions | |
| DtHumidityTableUtils () | |
Private Attributes | |
| HumidityTableEntryMap | myHumidityTable |
Static Private Attributes | |
| static DtHumidityTableUtils * | myInstance |
|
private |
|
static |
| void makVrf::DtHumidityTableUtils::init | ( | ) |
Init the humidity table utils.
| double makVrf::DtHumidityTableUtils::humidityAtSeaLevel | ( | ) |
Returns humidity at sea level (altitude = 0) in ppmv (parts per million by volume). If the humidity table file does not have an entry for altitude == 0, a new humidity entry will be calculated for this altitude.
Referenced by DtWeatherStateRepositoryRWData::DtWeatherStateRepositoryRWData().
Returns humidity (in ppmv) at the given altitude. Altitude in meters. This version is using the default humidity at sea level from the humidity table file.
Returns humidity (in ppmv) at the given altitude. Altitude in meters. This version is using a different humidity at sea level from the default value in the humidity table file. The humidity values from the file will be temporarily shifted to adapt to the new humidity at sea level value.
|
protected |
Load the humidity table file: ...csv.
|
staticprivate |
|
private |