pub struct FastIntegrationParams {
pub horiz: f64,
pub vert: f64,
pub initial_state: [f64; 6],
pub t_span: (f64, f64),
pub atmo_params: (f64, f64, f64, f64),
pub atmo_sock: Option<AtmoSock>,
}Expand description
Fast trajectory integration parameters
Fields§
§horiz: f64§vert: f64§initial_state: [f64; 6]Launch state [x, y, z, vx, vy, vz] in the shot frame. y is measured from the level
BallisticInputs::muzzle_height is measured from: the ground when it is nonzero (start
y at muzzle_height), the bore when it is 0 (start y at 0). Boundary-layer wind shear
reads its height above the ground from that datum.
t_span: (f64, f64)§atmo_params: (f64, f64, f64, f64)Dual-mode atmosphere tuple. Standard mode is
(base_alt_m, base_temp_c, base_pressure_hPa, base_density_ratio) (slot 3 is a density
RATIO, not humidity; nonpositive means “not supplied” and falls back to 1.0, while a
supplied ratio must be below 2.0). Direct mode is
(air_density, speed_of_sound, 0.0, 0.0).
atmo_sock: Option<AtmoSock>MBA-1137: optional downrange-segmented atmosphere. When Some, the per-substep drag
density samples the base (station-referenced) T/P/H for the zone at the current downrange
distance before applying the altitude lapse. None (default) keeps the single-station
base and — combined with the MBA-1137 density-freeze fix — varies density with altitude only.
Auto Trait Implementations§
impl Freeze for FastIntegrationParams
impl RefUnwindSafe for FastIntegrationParams
impl Send for FastIntegrationParams
impl Sync for FastIntegrationParams
impl Unpin for FastIntegrationParams
impl UnsafeUnpin for FastIntegrationParams
impl UnwindSafe for FastIntegrationParams
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
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>
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
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
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.