0.2.0
Loading...
Searching...
No Matches
StandardAtmosphere.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
16
#include <gcem.hpp>
17
18
namespace
NAV
19
{
20
26
[[nodiscard]]
constexpr
double
calcWaterVaporPartialPressureStAtm
(
double
temp,
double
humidity_rel)
27
{
28
return
6.108 * gcem::exp((17.15 * temp - 4684.0) / (temp - 38.45)) * humidity_rel;
29
}
30
31
}
// namespace NAV
NAV::calcWaterVaporPartialPressureStAtm
constexpr double calcWaterVaporPartialPressureStAtm(double temp, double humidity_rel)
Calculates the standard atmosphere partial pressure of water vapor.
Definition
StandardAtmosphere.hpp:26
src
Navigation
Atmosphere
WaterVapor
Models
StandardAtmosphere.hpp
Generated by
1.10.0