Skip to main content

WallSlit

Struct WallSlit 

Source
pub struct WallSlit {
    pub column_face: [bool; 2],
    pub beam_face: [bool; 2],
}
Expand description

耐震スリット。壁版の 4 辺それぞれについて、周辺部材との縁を切ったかを持つ。

スリットは辺ごとに入れるものなので、辺ごとに持つ。三方スリットは柱際 2 辺と 上下いずれか 1 辺、完全スリットは 4 辺すべてが切れた状態として表す。

垂れ壁・腰壁とは別の概念である。 垂れ壁は上の梁からぶら下がる短い壁で、 下端に壁そのものが無い(WallPlateShape::Attached で表す)。一方、下辺に スリットを入れた壁は構面いっぱいの全高の壁であり、下の梁と接してはいるが縁が 切れている。形が違うので、どちらか一方では表せない。

規則は 2 つある。剛性は切れていない辺の部材にだけ算入し(袖壁は柱際、 腰壁・垂れ壁は梁際)、自重は切れていない辺へ伝える。下辺が切れて上辺が 一体なら、自重は全量が上の梁へ向かう。

4 辺すべてが一体でなければ耐震壁として成立しない (squid_n_element::wall::misc_wall::wall_is_seismic)。切れた辺があると、負担した 面内せん断を周辺の柱梁へ伝えられないためである。

境界が 4 節点の囲まれた壁版でのみ意味を持つ。取り付く壁版は柱・梁と接する 4 辺を持たないため参照しない。

Fields§

§column_face: [bool; 2]

柱際(左右の鉛直辺)。添字は WallPlate::column_face_nodes が返す 2 節点に対応する。

§beam_face: [bool; 2]

梁際(0: 下辺、1: 上辺)。

Implementations§

Source§

impl WallSlit

Source

pub fn any(&self) -> bool

いずれかの辺が切れているか。耐震壁の成立判定に用いる。

Source

pub fn both_beam_faces(&self) -> bool

上下の梁際がともに切れているか。

この壁は自重の伝達先を持たない(柱際は壁の重量を受けない)。入力として ありえないので、解析前チェックがエラーで止める。

Trait Implementations§

Source§

impl Clone for WallSlit

Source§

fn clone(&self) -> WallSlit

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 Copy for WallSlit

Source§

impl Debug for WallSlit

Source§

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

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

impl Default for WallSlit

Source§

fn default() -> WallSlit

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

impl<'de> Deserialize<'de> for WallSlit

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 Eq for WallSlit

Source§

impl PartialEq for WallSlit

Source§

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

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 WallSlit

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.