#[non_exhaustive]pub enum BodyLift {
Jorgensen {},
Galejs {
k: f64,
},
}Expand description
How a body’s crossflow lift is sized: its C_N = factor · (A_plan/A_ref) sin² α. In JSON,
{"kind": "jorgensen"} or {"kind": "galejs", "k": 1.1}.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Jorgensen
Jorgensen’s η C_dn (crossflow_factor), from the body’s fineness and the crossflow
Mach number: hpr’s model since body lift was sized (M1.8e6).
Galejs
Galejs’s constant K at every Mach number: hpr’s model before, with k =
BODY_LIFT_K (1.1). Galejs gives 1.0 to 1.5.
Implementations§
Source§impl BodyLift
impl BodyLift
Trait Implementations§
impl Copy for BodyLift
Source§impl<'de> Deserialize<'de> for BodyLift
impl<'de> Deserialize<'de> for BodyLift
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 BodyLift
Auto Trait Implementations§
impl Freeze for BodyLift
impl RefUnwindSafe for BodyLift
impl Send for BodyLift
impl Sync for BodyLift
impl Unpin for BodyLift
impl UnsafeUnpin for BodyLift
impl UnwindSafe for BodyLift
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