Skip to main content

FinSetAero

Struct FinSetAero 

Source
#[non_exhaustive]
pub struct FinSetAero {
Show 13 fields pub id: String, pub count: u32, pub base_angle_rad: f64, pub fin: FinAero, pub count_factor: f64, pub interference: f64, pub fore_station_m: f64, pub cant_rad: f64, pub body_radius_m: f64, pub roll_forcing_interference: f64, pub roll_damping_interference: f64, pub roll: FinRollTerms, pub pods: Option<PodFins>,
}
Expand description

A fin set’s precomputed terms.

Serialize-only, like AeroModel.

Fields (Non-exhaustive)§

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.
§id: String

The component’s id.

§count: u32

Number of fins.

§base_angle_rad: f64

Roll angle of the first fin, rad.

§fin: FinAero

One fin’s normal force through the speed regimes, and its geometry.

§count_factor: f64

Fin–fin factor f_N.

§interference: f64

Fin–body interference K_T(B).

§fore_station_m: f64

Station of the fins’ root leading edge, m aft of the nose tip.

§cant_rad: f64

Cant, rad: positive turns fin 0’s leading edge toward −y_B (hpr_design::FinSet).

§body_radius_m: f64

Radius of the body tube at the fins, m.

§roll_forcing_interference: f64

The body’s interference with the roll forcing, k_T(B) (roll_forcing_interference).

§roll_damping_interference: f64

The body’s interference with the roll damping, k_R(B) (roll_damping_interference).

§roll: FinRollTerms

One fin’s roll terms on this body (FinAero::roll_terms).

§pods: Option<PodFins>

For a fin set in a pod set, its copies: one per pod. None for the airframe’s.

Implementations§

Source§

impl FinSetAero

Source

pub fn cp_station_m(&self, mach: f64) -> Result<f64, AeroError>

The set’s center of pressure at mach, m aft of the nose tip.

§Errors

As FinAero::loading.

Trait Implementations§

Source§

impl Clone for FinSetAero

Source§

fn clone(&self) -> FinSetAero

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FinSetAero

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for FinSetAero

Source§

fn eq(&self, other: &FinSetAero) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for FinSetAero

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for FinSetAero

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.