![]() |
VR-Forces 4.10 Class Documentation
|
Singleton for the humidity table,. More...
Public Member Functions | |
| void | init () |
| Init the humidity table utils. More... | |
| double | humidityAtSeaLevel () |
| Returns humidity at sea level (altitude = 0) in ppmv (parts per million by volume). More... | |
| double | humidityAtAltitude (int altitude) |
| Returns humidity (in ppmv) at the given altitude. More... | |
| double | humidityAtAltitude (double seaLevelHumidity, int altitude) |
| Returns humidity (in ppmv) at the given altitude. More... | |
Static Public Member Functions | |
| static DtHumidityTableUtils * | instance () |
Protected Member Functions | |
| void | loadHumidityTableFile () |
| Load the humidity table file: ...csv. More... | |
Private Member Functions | |
| DtHumidityTableUtils () | |
Private Attributes | |
| HumidityTableEntryMap | myHumidityTable |
Static Private Attributes | |
| static DtHumidityTableUtils * | myInstance |
Singleton for the humidity table,.
|
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
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 |