Larus glider flight sensor system 3.9.2024
Software-In-The-Loop test and validation system
Loading...
Searching...
No Matches
atmosphere.cpp File Reference
#include "atmosphere.h"
#include "embedded_memory.h"

Go to the source code of this file.

Macros

#define POT_2(x)   ((x)*(x))
 
#define POT_3(x)   ((x)*(x)*(x))
 
#define POT_4(x)   ((x)*(x)*(x)*(x))
 
#define POT_5(x)   ((x)*(x)*(x)*(x)*(x))
 

Macro Definition Documentation

◆ POT_2

#define POT_2 (   x)    ((x)*(x))

Routines for exponentiation

Definition at line 26 of file atmosphere.cpp.

◆ POT_3

#define POT_3 (   x)    ((x)*(x)*(x))

Definition at line 27 of file atmosphere.cpp.

◆ POT_4

#define POT_4 (   x)    ((x)*(x)*(x)*(x))

Definition at line 28 of file atmosphere.cpp.

◆ POT_5

#define POT_5 (   x)    ((x)*(x)*(x)*(x)*(x))

Definition at line 29 of file atmosphere.cpp.

Variable Documentation

◆ a

float a[2] = { 239.15f, 299.15f }

◆ range1Begin

float range1Begin = 223.15f

Definition at line 14 of file atmosphere.cpp.

◆ range2Begin

float range2Begin = 273.16f

Definition at line 15 of file atmosphere.cpp.

◆ rangeEnd

float rangeEnd = 333.15f

Definition at line 16 of file atmosphere.cpp.

◆ s

float s[2][6]
Initial value:
=
{
{ 24.8925f, 2.6766f, 0.1327f, 0.0040f, 8.1294e-5f, 1.1624e-6f },
{ 3.3640e3f, 198.8920f, 5.1247f, 0.0741f, 6.364e-4f, 3.0197e-6f }
}

Definition at line 17 of file atmosphere.cpp.

Referenced by format_integer(), my_atof(), read_identifier(), to_ascii_1_decimal(), to_ascii_1_decimal(), to_ascii_2_decimals(), and to_ascii_2_decimals().