Skip to main content

LoadCfg

Struct LoadCfg 

Source
pub struct LoadCfg {
    pub steel_weight_factor: f64,
    pub extra_line_weight: Vec<(ElemId, f64)>,
    pub finish_area_weight: Vec<(ElemId, f64)>,
    pub dampers: Vec<DamperSpec>,
    pub k_brace_rule: KBraceWeightRule,
    pub live_load_reduction: bool,
}
Expand description

自重算定の付加設定(固定荷重の鉄骨重量割増率・ 仕上げ荷重・耐火被覆・ダンパー自重・K型ブレース配分に対応する簡易版)。

Fields§

§steel_weight_factor: f64

鉄骨重量割増率 α(デフォルト 1.0)。コンクリート材(fc あり)には適用しない。 0 以下が入力された場合は 1.0 として扱う(本実装の規則)。

§extra_line_weight: Vec<(ElemId, f64)>

部材ごとの付加線重量 [N/mm](耐火被覆 γc·Ac 等の直接入力)。

§finish_area_weight: Vec<(ElemId, f64)>

部材ごとの仕上げ面重量 w_f [N/mm²]。断面寸法から仕上げ周長 (梁: b+2D の三面、柱: 2(b+D) の四周)を求めて線重量 w_f·φ に換算し 自重へ加算する(固定荷重の仕上げ荷重)。

§dampers: Vec<DamperSpec>

ダンパー装置の自重諸元。対象部材の断面自重(ρ·A·L·g)は使わず、 この諸元による装置+支持部重量で置き換える。

§k_brace_rule: KBraceWeightRule

K 型ブレース(ElementKind::Brace)の重量配分規則。

§live_load_reduction: bool

支える床の数に応じた柱軸力算定時の積載荷重低減(令85条2項)を考慮するか。 デフォルトは「低減を考慮しない」。

Implementations§

Source§

impl LoadCfg

Source

pub fn effective_steel_factor(&self) -> f64

有効な鉄骨重量割増率(0 以下の入力は 1.0 とみなす)。

Trait Implementations§

Source§

impl Clone for LoadCfg

Source§

fn clone(&self) -> LoadCfg

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 LoadCfg

Source§

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

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

impl Default for LoadCfg

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for LoadCfg

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for LoadCfg

Source§

fn eq(&self, other: &LoadCfg) -> 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 LoadCfg

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 LoadCfg

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> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

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.