#[non_exhaustive]pub enum StoneyNose {
PowerQuarter,
PowerHalf,
PowerThreeQuarters,
ParabolaHalf,
ParabolaThreeQuarters,
Parabola,
Ellipsoid,
LvHaack,
VonKarman,
}Expand description
A nose shape Stoney measured at fineness 3 (NASA TR R-100, 1961, Figure 12, printed p. 16), whose pressure-drag curve hpr carries as digitized points.
Niskanen 2009 p. 108 names these nine; hpr’s shapes between them are interpolated in their
parameter (PressureDragCurve::new).
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.
PowerQuarter
Power series x^¼.
PowerHalf
Power series x^½.
PowerThreeQuarters
Power series x^¾.
ParabolaHalf
Half (K′ = ½) parabola.
ParabolaThreeQuarters
Three-quarter (K′ = ¾) parabola.
Parabola
Full (K′ = 1) parabola.
Ellipsoid
Ellipsoid (hpr’s elliptical nose).
LvHaack
L-V Haack (C = ⅓).
VonKarman
Von Kármán (LD-Haack, C = 0).
Implementations§
Source§impl StoneyNose
impl StoneyNose
Sourcepub fn points(self) -> &'static [(f64, f64)]
pub fn points(self) -> &'static [(f64, f64)]
The digitized points (M, C_D,N), in increasing Mach number: the nose’s pressure drag on
its base area at fineness 3.
Sourcepub fn source(self) -> &'static str
pub fn source(self) -> &'static str
Where the points were read: Figure 12’s panel and the curve.
Sourcepub fn first_mach(self) -> f64
pub fn first_mach(self) -> f64
The first Mach number of the curve.
Trait Implementations§
Source§impl Clone for StoneyNose
impl Clone for StoneyNose
Source§fn clone(&self) -> StoneyNose
fn clone(&self) -> StoneyNose
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 StoneyNose
Source§impl Debug for StoneyNose
impl Debug for StoneyNose
impl Eq for StoneyNose
Source§impl PartialEq for StoneyNose
impl PartialEq for StoneyNose
Source§fn eq(&self, other: &StoneyNose) -> bool
fn eq(&self, other: &StoneyNose) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StoneyNose
impl Serialize for StoneyNose
impl StructuralPartialEq for StoneyNose
Auto Trait Implementations§
impl Freeze for StoneyNose
impl RefUnwindSafe for StoneyNose
impl Send for StoneyNose
impl Sync for StoneyNose
impl Unpin for StoneyNose
impl UnsafeUnpin for StoneyNose
impl UnwindSafe for StoneyNose
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