0.2.0
|
Water vapor calculation. More...
Go to the source code of this file.
Enumerations | |
enum class | NAV::WaterVaporModel : int { None , ISA , GPT2 , GPT3 , COUNT } |
Available Water vapor Models. More... | |
Functions | |
double | NAV::calcWaterVaporPartialPressure (double temp, double humidity_rel, WaterVaporModel waterVaporModel) |
Calculates the partial pressure of water vapor. | |
bool | NAV::ComboWaterVaporModel (const char *label, WaterVaporModel &waterVaporModel) |
Shows a ComboBox to select the water vapor model. | |
const char * | NAV::to_string (WaterVaporModel waterVaporModel) |
Converts the enum to a string. | |
Water vapor calculation.
|
strong |
double NAV::calcWaterVaporPartialPressure | ( | double | temp, |
double | humidity_rel, | ||
WaterVaporModel | waterVaporModel ) |
Calculates the partial pressure of water vapor.
[in] | temp | The absolute temperature in [K] |
[in] | humidity_rel | The relative humidity |
[in] | waterVaporModel | Water vapor model to use |
bool NAV::ComboWaterVaporModel | ( | const char * | label, |
WaterVaporModel & | waterVaporModel ) |
Shows a ComboBox to select the water vapor model.
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in] | waterVaporModel | Reference to the water vapor model to select |
const char * NAV::to_string | ( | WaterVaporModel | waterVaporModel | ) |
Converts the enum to a string.
[in] | waterVaporModel | Enum value to convert into text |