Expand description
Enhanced atmospheric calculations for ballistics.
This module provides Rust-accelerated implementations of atmospheric calculations with full ICAO Standard Atmosphere support for improved accuracy at all altitudes.
Structs§
- Atmo
Sock - Downrange-segmented atmosphere handler (MBA-1137), the density analogue of
crate::wind::WindSock.
Functions§
- calculate_
air_ density_ cimp - Enhanced air density calculation using CIPM formula with ICAO atmosphere.
- calculate_
air_ density_ cipm - Legacy function name for backwards compatibility
- calculate_
atmosphere - Enhanced atmospheric calculation with ICAO Standard Atmosphere.
- get_
direct_ atmosphere - Direct atmosphere calculation for simple cases.
- get_
local_ atmosphere - Enhanced local atmospheric calculation with variable lapse rates.
- get_
local_ atmosphere_ humid - Humidity-aware companion to
get_local_atmosphere: identical local density, but the speed of sound is the moist-air value (moist_speed_of_sound) evaluated at the LOCAL temperature and pressure. - moist_
speed_ of_ sound - Speed of sound using an ideal-gas moist-air mixture approximation, first order in the water-vapor mole fraction.
- resolve_
station_ conditions - Return the station temperature and pressure that
calculate_atmospherewill use after applying the default-at-altitude resolution rules. - resolve_
station_ pressure - Resolve the station-pressure override for an air-density calculation.
- resolve_
station_ temperature - Resolve the temperature override for an air-density calculation, mirroring
resolve_station_pressure.
Type Aliases§
- Atmo
Segment - A single downrange-referenced atmosphere zone:
(temp_c, pressure_hpa, humidity_percent, until_distance_m).