Skip to main content

Module field

Module field 

Source
Expand description

The WindField trait and the concrete field types.

Structs§

ConstantField
Uniform wind everywhere.
ProfileField
Piecewise-linear vertical profile: speed interpolates linearly in altitude, direction along the shortest circular arc. Below the first level and above the last, the nearest level holds.
ProfileLevel
One level of a vertical profile.
Wind
World-frame air velocity, m/s: +X is downrange (tailwind), +Y is up, +Z is the horizontal cross axis to the right of +X (a right-handed frame, ballistics-engine’s McCoy frame). Vertical wind is zero for the horizontal field types in this crate.

Traits§

WindField
A deterministic, stateless wind field: same time and position always give the same wind, so integrator substeps, snapshots and seeded reproduction are exact.