pub fn pw_ratio(shear: &ShearBar, b: f64) -> f64
せん断補強筋比 pw = (legs・π/4・dia²) / (b・pitch)。pitch<=0 のときは 0。