Canguro.Analysis.LineDeformationCalculator.addConcentratedForceDeflection C# (CSharp) Method

addConcentratedForceDeflection() private method

private addConcentratedForceDeflection ( ConcentratedSpanLoad load, float x, float lineLength, float &angle, float a, float b, float RA, float P, float c1, float c3 ) : float
load Canguro.Model.Load.ConcentratedSpanLoad
x float
lineLength float
angle float
a float
b float
RA float
P float
c1 float
c3 float
return float
        private float addConcentratedForceDeflection(ConcentratedSpanLoad load, float x, float lineLength, ref float angle, float a, float b, float RA, float P, float c1, float c3)
        {
            float flecha = 0.0f;
            if (x < a)
            {
                flecha = RA * (float)Math.Pow(x, 3) / 6f + c1 * x;
                angle = RA * (float)Math.Pow(x, 2) / 2f + c1;
            }
            else
            {
                flecha = RA * (float)Math.Pow(x, 3) / 6f - P * (float)Math.Pow(x - a, 3) / 6f + c3 * x;
                angle = RA * (float)Math.Pow(x, 2) / 2f - P * (float)Math.Pow(x - a, 2) / 2f + c3;
            }

            return flecha;
        }

Same methods

LineDeformationCalculator::addConcentratedForceDeflection ( LineElement line, float lineLength, ConcentratedSpanLoad load, float controlPoints, float dirComponent, float scale, float EI ) : void