22 switch (waterVaporModel)
45 switch (waterVaporModel)
#define INS_ASSERT_USER_ERROR(_EXP, _MSG)
Assert function with message.
Combo representing an enumeration.
Utility class for logging to console and file.
Standard Atmosphere water vapor model.
constexpr double calcWaterVaporPartialPressureStAtm(double temp, double humidity_rel)
Calculates the standard atmosphere partial pressure of water vapor.
const char * to_string(gui::widgets::PositionWithFrame::ReferenceFrame refFrame)
Converts the enum to a string.
WaterVaporModel
Available Water vapor Models.
@ COUNT
Amount of items in the enum.
@ ISA
ICAO Standard Atmosphere.
@ None
Water vapor model turned off.
bool ComboWaterVaporModel(const char *label, WaterVaporModel &waterVaporModel)
Shows a ComboBox to select the water vapor model.
double calcWaterVaporPartialPressure(double temp, double humidity_rel, WaterVaporModel waterVaporModel)
Calculates the partial pressure of water vapor.