0.2.0
Loading...
Searching...
No Matches
WaterVapor.hpp
Go to the documentation of this file.
1// This file is part of INSTINCT, the INS Toolkit for Integrated
2// Navigation Concepts and Training by the Institute of Navigation of
3// the University of Stuttgart, Germany.
4//
5// This Source Code Form is subject to the terms of the Mozilla Public
6// License, v. 2.0. If a copy of the MPL was not distributed with this
7// file, You can obtain one at https://mozilla.org/MPL/2.0/.
8
13
14#pragma once
15
16namespace NAV
17{
18
20enum class WaterVaporModel : int
21{
22 None,
23 ISA,
24 GPT2,
25 GPT3,
26 COUNT,
27};
28
32const char* to_string(WaterVaporModel waterVaporModel);
33
37bool ComboWaterVaporModel(const char* label, WaterVaporModel& waterVaporModel);
38
44[[nodiscard]] double calcWaterVaporPartialPressure(double temp, double humidity_rel, WaterVaporModel waterVaporModel);
45
46} // namespace NAV
@ None
None.
Definition GlobalActions.hpp:19
@ COUNT
Amount of items in the enum.
const char * to_string(gui::widgets::PositionWithFrame::ReferenceFrame refFrame)
Converts the enum to a string.
@ ISA
ICAO Standard Atmosphere.
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.
WaterVaporModel
Available Water vapor Models.
Definition WaterVapor.hpp:21