#include <simgear/compiler.h>
#include <simgear/math/interpolater.hxx>
#include <cmath>
#include <utility>
Go to the source code of this file.
|
#define | SCD(name, val) |
| Model the atmosphere in a way consistent with the laws of physics.
|
|
|
const double | atmodel::g (9.80665) |
|
const double | atmodel::mm (.0289644) |
|
const double | atmodel::Rgas (8.31432) |
|
const double | atmodel::inch (0.0254) |
|
const double | atmodel::foot (12 *inch) |
|
const double | atmodel::inHg (101325.0/760 *1000 *inch) |
|
const double | atmodel::mbar (100.) |
|
const double | atmodel::freezing (273.15) |
|
const double | atmodel::nm (1852) |
|
const double | atmodel::sm (5280 *foot) |
|
const double | atmodel::ISA::P0 (101325.0) |
|
const double | atmodel::ISA::T0 (15.+freezing) |
|
const double | atmodel::ISA::lam0 (.0065) |
|
std::pair< double, double > | PT_vs_hpt (const double hh, const double _p0=atmodel::ISA::P0, const double _t0=atmodel::ISA::T0) |
|
double | P_layer (const double height, const double href, const double Pref, const double Tref, const double lapse) |
|
double | T_layer (const double height, const double href, const double Pref, const double Tref, const double lapse) |
|
◆ SCD
#define SCD |
( |
| name, |
|
|
| val ) |
Value:
Model the atmosphere in a way consistent with the laws of physics.
Each instance of this class models a particular air mass. You may freely move up, down, or sideways in the air mass. In contrast, if you want to compare different air masses, you should use a separate instance for each one.
See also ./environment.hxx
Definition at line 46 of file atmosphere.hxx.
◆ P_layer()
double P_layer |
( |
const double | height, |
|
|
const double | href, |
|
|
const double | Pref, |
|
|
const double | Tref, |
|
|
const double | lapse ) |
◆ PT_vs_hpt()
◆ T_layer()
double T_layer |
( |
const double | height, |
|
|
const double | href, |
|
|
const double | Pref, |
|
|
const double | Tref, |
|
|
const double | lapse ) |
◆ ISA_def