public static Dictionary <string, object> WebOpeningMaximumWidth(double h_o, double d, double t_f, double t_w, double F_y, bool IsCompositeBeam = true, bool IsSingleSideReinforcement = false)
        {
            //Default values
            double a_o = 0;


            //Calculation logic:
            a_o = WebOpeningGeneral.GetMaximumOpeningWidth(h_o, d, t_f, t_w, F_y, IsCompositeBeam, IsSingleSideReinforcement);

            return(new Dictionary <string, object>
            {
                { "a_o", a_o }
            });
        }
Beispiel #2
0
        public void OpeningSteelReturnsMaxLength()
        {
            double d   = 15.9;
            double t_w = 0.275;
            double t_f = 0.44;

            h_0 = 9.0;

            double h_op = WebOpeningGeneral.GetMaximumOpeningWidth(h_0, d, t_f, t_w, F_y, true, false);

            double refValue        = 23.4;
            double actualTolerance = EvaluateActualTolerance(h_op, refValue);

            Assert.LessOrEqual(actualTolerance, tolerance);
        }