Skip to main content

EurocodeLoad

Struct EurocodeLoad 

Source
pub struct EurocodeLoad {
    pub gk: f64,
    pub qk1: f64,
    pub qk2: f64,
    pub wk: f64,
    pub sk: f64,
    pub ed: f64,
}
Expand description

Eurocode EN 1990 load combinations (fundamental combination, ULS).

Fields§

§gk: f64

Permanent action Gk (kN or kN/m²).

§qk1: f64

Variable leading action Qk1 (kN or kN/m²).

§qk2: f64

Variable accompanying action Qk2 (kN or kN/m²).

§wk: f64

Wind action Wk (kN or kN/m²).

§sk: f64

Snow action Sk (kN or kN/m²).

§ed: f64

Seismic action Ed (kN or kN/m²).

Implementations§

Source§

impl EurocodeLoad

Source

pub fn new(gk: f64, qk1: f64, qk2: f64, wk: f64, sk: f64, ed: f64) -> Self

Create a Eurocode load set.

Source

pub fn uls_combo_610(&self) -> f64

STR/GEO ULS fundamental combination (Eq. 6.10): γGGk + γQ1Qk1 + Σγ_Qiψ0iQki. γG = 1.35, γQ = 1.50, ψ0 = 0.7 for imposed, 0.6 for wind/snow.

Source

pub fn uls_combo_610a(&self) -> f64

ULS Eq. 6.10a (γGGk + 1.5ψ0*Qk1): generally less critical.

Source

pub fn uls_combo_610b(&self) -> f64

ULS Eq. 6.10b (ξγGGk + 1.5*Qk1): ξ = 0.85 reduction on permanent action.

Source

pub fn uls_seismic(&self) -> f64

ULS accidental combination with seismic: Gk + Ed + ψ2*Qk. ψ2 = 0.3 for residential.

Source

pub fn sls_characteristic(&self) -> f64

Characteristic SLS combination: Gk + Qk1 + ψ0*Qk2.

Source

pub fn sls_frequent(&self) -> f64

Frequent SLS combination: Gk + ψ1Qk1 + ψ2Qk2. ψ1=0.5, ψ2=0.3.

Source

pub fn sls_quasi_permanent(&self) -> f64

Quasi-permanent SLS combination: Gk + ψ2*Qk1. ψ2=0.3.

Source

pub fn governing_uls(&self) -> f64

Governing ULS combination.

Source

pub fn uls_wind_uplift(&self) -> f64

Add wind to ULS: Gk + Wk combination (uplift check).

Source

pub fn uls_snow(&self) -> f64

Snow load ULS: 1.35Gk + 1.5Sk.

Trait Implementations§

Source§

impl Clone for EurocodeLoad

Source§

fn clone(&self) -> EurocodeLoad

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for EurocodeLoad

Source§

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

Formats the value using the given formatter. Read more

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