pub struct StirrupDesign {
pub bw: f64,
pub d: f64,
pub fc: f64,
pub fy: f64,
pub av: f64,
pub legs: u32,
pub spacing: f64,
}Expand description
Stirrup (shear reinforcement) design for reinforced concrete beams (ACI 318).
Fields§
§bw: f64Beam width bw (mm).
d: f64Effective depth d (mm).
fc: f64Concrete f’c (MPa).
fy: f64Steel yield strength fy (MPa).
av: f64Stirrup bar area per leg Av (mm²/leg).
legs: u32Number of legs per stirrup.
spacing: f64Stirrup spacing s (mm).
Implementations§
Source§impl StirrupDesign
impl StirrupDesign
Sourcepub fn new(
bw: f64,
d: f64,
fc: f64,
fy: f64,
av: f64,
legs: u32,
spacing: f64,
) -> Self
pub fn new( bw: f64, d: f64, fc: f64, fy: f64, av: f64, legs: u32, spacing: f64, ) -> Self
Create a stirrup design.
Sourcepub fn max_spacing(&self) -> f64
pub fn max_spacing(&self) -> f64
Maximum stirrup spacing per ACI 318 (d/2 or 600 mm, whichever smaller).
Sourcepub fn min_av_per_s(&self) -> f64
pub fn min_av_per_s(&self) -> f64
Minimum stirrup area per ACI 318 (mm²/mm): Av_min/s = max(0.062*sqrt(fc)bw/fy, 0.35bw/fy).
Sourcepub fn is_adequate(&self, vu: f64) -> bool
pub fn is_adequate(&self, vu: f64) -> bool
Check if stirrup spacing is adequate for Vu.
Trait Implementations§
Source§impl Clone for StirrupDesign
impl Clone for StirrupDesign
Source§fn clone(&self) -> StirrupDesign
fn clone(&self) -> StirrupDesign
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for StirrupDesign
impl RefUnwindSafe for StirrupDesign
impl Send for StirrupDesign
impl Sync for StirrupDesign
impl Unpin for StirrupDesign
impl UnsafeUnpin for StirrupDesign
impl UnwindSafe for StirrupDesign
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more