Skip to main content

Module atmosphere

Module atmosphere 

Source
Expand description

Atmospheric simulation subsystem.

Models pressure layers, humidity fields, temperature profiles, 3-D wind vector grids, jet streams, fog density, visibility calculation, and barometric gradients.

Structs§

Atmosphere
The primary atmospheric simulation state.
AtmosphereConfig
Configuration for the atmospheric simulator.
AtmosphereSimulator
Higher-level simulator that manages an Atmosphere and exposes query helpers.
AtmosphericLayer
A single simulated atmospheric layer.
BarometricGradient
Barometric pressure gradient — the spatial derivative of pressure.
FogLayer
A fog layer — horizontally uniform, vertically parameterised.
HumidityMap
A 2-D humidity map over the simulation grid.
JetStream
A jet stream — a narrow band of fast upper-level wind.
PressureCell
A barometric pressure cell covering a horizontal region.
StationReport
A weather report at a named station.
TemperatureProfile
Vertical temperature profile — one value per simulation layer.
VisibilityResult
Result of a visibility computation.
WindField
3-D wind field stored as a grid of WindVector.
WindVector
A single wind sample.

Enums§

FogKind
PressureCellKind
VisibilityLimiter

Constants§

GRAVITY
Gravity m/s².
ISA_PRESSURE_PA
ISA sea-level pressure in Pascals.
ISA_TEMP_K
ISA sea-level temperature in Kelvin.
LAPSE_RATE
Lapse rate K/m (ISA troposphere).
R_DRY
Specific gas constant for dry air.
STRATO_TEMP_K
Stratosphere temperature (K) above tropopause.
TROPOPAUSE_ALT
Troposphere top altitude (m).

Functions§

isa_pressure_at_altitude
ISA pressure at altitude using barometric formula.