pub struct NrlmsiseInput {
pub year: i32,
pub doy: i32,
pub sec: f64,
pub alt: f64,
pub g_lat: f64,
pub g_long: f64,
pub lst: f64,
pub f107a: f64,
pub f107: f64,
pub ap: f64,
pub ap_array: Option<ApArray>,
}Expand description
Inputs to the neutral-atmosphere evaluation (mirrors the reference
nrlmsise_input).
Fields§
§year: i32Year (ignored by the model; kept for API stability).
doy: i32Day of year (1-366).
sec: f64Seconds in day (UT).
alt: f64Geodetic altitude (km).
g_lat: f64Geodetic latitude (deg).
g_long: f64Geodetic longitude (deg).
lst: f64Local apparent solar time (hours); for consistency use
sec/3600 + g_long/15.
f107a: f6481-day average of F10.7 flux (centered on doy).
f107: f64Daily F10.7 flux for the previous day.
ap: f64Daily magnetic Ap index.
ap_array: Option<ApArray>Optional Ap history; required when switch 9 is set to -1.
Trait Implementations§
Source§impl Clone for NrlmsiseInput
impl Clone for NrlmsiseInput
Source§fn clone(&self) -> NrlmsiseInput
fn clone(&self) -> NrlmsiseInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NrlmsiseInput
Auto Trait Implementations§
impl Freeze for NrlmsiseInput
impl RefUnwindSafe for NrlmsiseInput
impl Send for NrlmsiseInput
impl Sync for NrlmsiseInput
impl Unpin for NrlmsiseInput
impl UnsafeUnpin for NrlmsiseInput
impl UnwindSafe for NrlmsiseInput
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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
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.