Esempio n. 1
0
        public void CalculateForces(double X)
        {
            ISingleLoadCaseBeam bm = BeamCaseFactory.GetForceCase(load, this);

            if (ReportX == false)
            {
                LogModeActive = false;
            }
            else
            {
                LogModeActive = true;
            }
            Mx = bm.Moment(X);
            Vx = bm.Shear(X);
            //Switch on or off reporting mode to avoid unnecessary data
            if (ReportMax == false)
            {
                LogModeActive = false;
            }
            else
            {
                LogModeActive = true;
            }
            Mmax = bm.MomentMax();
            Mmin = bm.MomentMin();
            Vmax = bm.ShearMax();

            LogModeActive = true;

            hasCalculatedForces = true;
        }
Esempio n. 2
0
        private void CalculateDeflections()
        {
            ISingleLoadCaseDeflectionBeam bm = BeamCaseFactory.GetDeflectionCase(load, this);

            delta_Max = bm.MaximumDeflection();
            hasCalculatedDeflections = true;
        }