コード例 #1
0
        public override LoadBeam GetPartialDistributedCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
            case "1":
                Load = new LoadDistributedUniform(d.w, LoadDistributedSpecialCase.CantileverMainSpan);
                break;

            case "2":
                Load = new LoadDistributedUniform(d.w, LoadDistributedSpecialCase.CantileverOverhang);
                break;
            }
            return(Load);
        }
コード例 #2
0
        public virtual LoadBeam GetUniformDistributedCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
            case "1":
                Load = new LoadDistributedUniform(d.w);
                break;

            case "2":
                Load = new LoadDistributedUniformWithEndMoments(d.w, d.M1, d.M2);
                break;
            }
            return(Load);
        }
コード例 #3
0
        public virtual LoadBeam GetVaryingCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
            case "1":
                Load = new LoadDistributedUniform(d.w, LoadDistributedSpecialCase.Triangle);
                break;

            case "2":
                Load = new LoadDistributedUniform(d.w, LoadDistributedSpecialCase.DoubleTriangle);
                break;
            }
            return(Load);
        }
コード例 #4
0
        public override LoadBeam GetVaryingCase(string subCase)
        {
            LoadBeam Load = null;

            switch (subCase)
            {
            case "2":
                Load = new LoadDistributedUniform(d.w, LoadDistributedSpecialCase.InvertedTriangle);
                break;

            default:
                Load = new LoadDistributedUniform(d.w, LoadDistributedSpecialCase.Triangle);
                break;
            }
            return(Load);
        }