pub enum Atmosphere {
Standard {
station_altitude_m: f64,
temperature_c: f64,
pressure_hpa: f64,
humidity_percent: f64,
},
Uniform {
density_kg_m3: f64,
speed_of_sound_mps: f64,
},
}Expand description
Atmospheric inputs supported by the upstream derivative kernel.
Variants§
Standard
Station measurements; the upstream model applies its local altitude lapse. Humidity affects station density; this derivative path uses dry-air sound speed.
Fields
Uniform
Constant density and sound speed, independent of position. Upstream’s direct-mode sentinel requires 0 <= density < 2 and sound speed > 200.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Atmosphere
impl RefUnwindSafe for Atmosphere
impl Send for Atmosphere
impl Sync for Atmosphere
impl Unpin for Atmosphere
impl UnsafeUnpin for Atmosphere
impl UnwindSafe for Atmosphere
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.