pub struct Draw {
pub dry_mass_scale: Vec<f64>,
pub cg_shift_m: Vec<f64>,
pub drag_scale: f64,
pub impulse_scale: Vec<f64>,
pub burn_time_scale: Vec<f64>,
pub ejection_delay_offset_s: Vec<f64>,
pub wind_speed_scale: f64,
pub wind_turn_rad: f64,
pub rail_elevation_offset_rad: f64,
pub rail_azimuth_offset_rad: f64,
pub deployment_lag_offset_s: Vec<f64>,
}Expand description
What one sample drew: the factor or offset for each dispersed input, and its nominal value
(1 or 0) for one left alone. The lists run over the design’s stages, the flown
configuration’s motors and the recovery devices, in order. MonteCarlo::inputs turns a
draw into the flight it flies.
Fields§
§dry_mass_scale: Vec<f64>Each stage’s mass factor.
cg_shift_m: Vec<f64>Each stage’s center-of-mass shift, m aft.
drag_scale: f64The drag factor.
impulse_scale: Vec<f64>Each motor’s impulse factor.
burn_time_scale: Vec<f64>Each motor’s burn-time factor.
ejection_delay_offset_s: Vec<f64>Each motor’s ejection-delay offset, s, before the cut at zero.
wind_speed_scale: f64The wind-speed factor, before the cut at zero.
wind_turn_rad: f64The wind’s turn, rad clockwise.
rail_elevation_offset_rad: f64The rail’s elevation offset, rad.
rail_azimuth_offset_rad: f64The rail’s heading offset, rad clockwise.
deployment_lag_offset_s: Vec<f64>Each recovery device’s lag offset, s, before the cut at zero.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Draw
impl<'de> Deserialize<'de> for Draw
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Draw
Auto Trait Implementations§
impl Freeze for Draw
impl RefUnwindSafe for Draw
impl Send for Draw
impl Sync for Draw
impl Unpin for Draw
impl UnsafeUnpin for Draw
impl UnwindSafe for Draw
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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 more