public sResultRange DuplicatesResultRange()
        {
            sResultRange newre = new sResultRange();

            newre.forceMax_Positive         = this.forceMax_Positive.DuplicatesXYZ();
            newre.forceMax_Negative         = this.forceMax_Negative.DuplicatesXYZ();
            newre.momentMax_Positive        = this.momentMax_Positive.DuplicatesXYZ();
            newre.momentMax_Negative        = this.momentMax_Negative.DuplicatesXYZ();
            newre.deflectionMax_Abs_mm      = this.deflectionMax_Abs_mm.DuplicatesXYZ();
            newre.deflectionLocalMax_Abs_mm = this.deflectionLocalMax_Abs_mm.DuplicatesXYZ();

            return(newre);
        }
        public void UpdateMaxValues(sResultRange rer)
        {
            if (rer.forceMax_Negative.X < this.forceMax_Negative.X)
            {
                this.forceMax_Negative.X = rer.forceMax_Negative.X;
            }
            if (rer.forceMax_Negative.Y < this.forceMax_Negative.Y)
            {
                this.forceMax_Negative.Y = rer.forceMax_Negative.Y;
            }
            if (rer.forceMax_Negative.Z < this.forceMax_Negative.Z)
            {
                this.forceMax_Negative.Z = rer.forceMax_Negative.Z;
            }

            if (rer.forceMax_Positive.X > this.forceMax_Positive.X)
            {
                this.forceMax_Positive.X = rer.forceMax_Positive.X;
            }
            if (rer.forceMax_Positive.Y > this.forceMax_Positive.Y)
            {
                this.forceMax_Positive.Y = rer.forceMax_Positive.Y;
            }
            if (rer.forceMax_Positive.Z > this.forceMax_Positive.Z)
            {
                this.forceMax_Positive.Z = rer.forceMax_Positive.Z;
            }

            if (rer.momentMax_Negative.X < this.momentMax_Negative.X)
            {
                this.momentMax_Negative.X = rer.momentMax_Negative.X;
            }
            if (rer.momentMax_Negative.Y < this.momentMax_Negative.Y)
            {
                this.momentMax_Negative.Y = rer.momentMax_Negative.Y;
            }
            if (rer.momentMax_Negative.Z < this.momentMax_Negative.Z)
            {
                this.momentMax_Negative.Z = rer.momentMax_Negative.Z;
            }

            if (rer.momentMax_Positive.X > this.momentMax_Positive.X)
            {
                this.momentMax_Positive.X = rer.momentMax_Positive.X;
            }
            if (rer.momentMax_Positive.Y > this.momentMax_Positive.Y)
            {
                this.momentMax_Positive.Y = rer.momentMax_Positive.Y;
            }
            if (rer.momentMax_Positive.Z > this.momentMax_Positive.Z)
            {
                this.momentMax_Positive.Z = rer.momentMax_Positive.Z;
            }

            if (rer.deflectionMax_Abs_mm.X > this.deflectionMax_Abs_mm.X)
            {
                this.deflectionMax_Abs_mm.X = rer.deflectionMax_Abs_mm.X;
            }
            if (rer.deflectionMax_Abs_mm.Y > this.deflectionMax_Abs_mm.Y)
            {
                this.deflectionMax_Abs_mm.Y = rer.deflectionMax_Abs_mm.Y;
            }
            if (rer.deflectionMax_Abs_mm.Z > this.deflectionMax_Abs_mm.Z)
            {
                this.deflectionMax_Abs_mm.Z = rer.deflectionMax_Abs_mm.Z;
            }

            if (rer.deflectionLocalMax_Abs_mm.X > this.deflectionLocalMax_Abs_mm.X)
            {
                this.deflectionLocalMax_Abs_mm.X = rer.deflectionLocalMax_Abs_mm.X;
            }
            if (rer.deflectionLocalMax_Abs_mm.Y > this.deflectionLocalMax_Abs_mm.Y)
            {
                this.deflectionLocalMax_Abs_mm.Y = rer.deflectionLocalMax_Abs_mm.Y;
            }
            if (rer.deflectionLocalMax_Abs_mm.Z > this.deflectionLocalMax_Abs_mm.Z)
            {
                this.deflectionLocalMax_Abs_mm.Z = rer.deflectionLocalMax_Abs_mm.Z;
            }

            if (rer.stressCombinedAbs > this.stressCombinedAbs)
            {
                this.stressCombinedAbs = rer.stressCombinedAbs;
            }
        }