Skip to main content

TimberMaterial

Struct TimberMaterial 

Source
pub struct TimberMaterial {
    pub species_grade: String,
    pub moe: f64,
    pub mor: f64,
    pub e_longitudinal: f64,
    pub e_radial: f64,
    pub e_tangential: f64,
    pub density: f64,
}
Expand description

Structural timber material properties.

Fields§

§species_grade: String

Species grade designation.

§moe: f64

Modulus of elasticity (MPa).

§mor: f64

Modulus of rupture (MPa).

§e_longitudinal: f64

Longitudinal Young’s modulus (MPa).

§e_radial: f64

Radial Young’s modulus (MPa).

§e_tangential: f64

Tangential Young’s modulus (MPa).

§density: f64

Density (kg/m³).

Implementations§

Source§

impl TimberMaterial

Source

pub fn douglas_fir_ss() -> Self

Create a Douglas Fir Select Structural timber section.

Source

pub fn adjusted_fb(&self, cd: f64, cm: f64) -> f64

Adjusted bending design value Fb’ (MPa) with CD (load duration) and CM (moisture).

Source

pub fn adjusted_e(&self, cm: f64) -> f64

Adjusted modulus E’ (MPa) with CM (moisture) factor.

Source

pub fn shear_modulus_lr(&self) -> f64

Shear modulus G_LR ≈ E_longitudinal / 16 (approximate).

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> 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, 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.