private bool Equals(StabilityPointStructure other)
 {
     return(StorageStructureArea.Equals(other.StorageStructureArea) &&
            AllowedLevelIncreaseStorage.Equals(other.AllowedLevelIncreaseStorage) &&
            WidthFlowApertures.Equals(other.WidthFlowApertures) &&
            InsideWaterLevel.Equals(other.InsideWaterLevel) &&
            ThresholdHeightOpenWeir.Equals(other.ThresholdHeightOpenWeir) &&
            CriticalOvertoppingDischarge.Equals(other.CriticalOvertoppingDischarge) &&
            FlowWidthAtBottomProtection.Equals(other.FlowWidthAtBottomProtection) &&
            ConstructiveStrengthLinearLoadModel.Equals(other.ConstructiveStrengthLinearLoadModel) &&
            ConstructiveStrengthQuadraticLoadModel.Equals(other.ConstructiveStrengthQuadraticLoadModel) &&
            BankWidth.Equals(other.BankWidth) &&
            InsideWaterLevelFailureConstruction.Equals(other.InsideWaterLevelFailureConstruction) &&
            EvaluationLevel.Equals(other.EvaluationLevel) &&
            LevelCrestStructure.Equals(other.LevelCrestStructure) &&
            VerticalDistance.Equals(other.VerticalDistance) &&
            FailureProbabilityRepairClosure.Equals(other.FailureProbabilityRepairClosure) &&
            FailureCollisionEnergy.Equals(other.FailureCollisionEnergy) &&
            ShipMass.Equals(other.ShipMass) &&
            ShipVelocity.Equals(other.ShipVelocity) &&
            LevellingCount.Equals(other.LevellingCount) &&
            ProbabilityCollisionSecondaryStructure.Equals(other.ProbabilityCollisionSecondaryStructure) &&
            FlowVelocityStructureClosable.Equals(other.FlowVelocityStructureClosable) &&
            StabilityLinearLoadModel.Equals(other.StabilityLinearLoadModel) &&
            StabilityQuadraticLoadModel.Equals(other.StabilityQuadraticLoadModel) &&
            AreaFlowApertures.Equals(other.AreaFlowApertures) &&
            InflowModelType.Equals(other.InflowModelType));
 }
        /// <summary>
        /// Copies the property values of the <paramref name="fromStructure"/> to the
        /// <see cref="StabilityPointStructure"/>.
        /// </summary>
        /// <param name="fromStructure">The <see cref="StabilityPointStructure"/> to get the property
        /// values from.</param>
        /// <exception cref="ArgumentNullException">Thrown when <paramref name="fromStructure"/>
        /// is <c>null</c>.</exception>
        public void CopyProperties(StabilityPointStructure fromStructure)
        {
            base.CopyProperties(fromStructure);

            StorageStructureArea.Mean = fromStructure.StorageStructureArea.Mean;
            StorageStructureArea.CoefficientOfVariation = fromStructure.StorageStructureArea.CoefficientOfVariation;

            AllowedLevelIncreaseStorage.Mean = fromStructure.AllowedLevelIncreaseStorage.Mean;
            AllowedLevelIncreaseStorage.StandardDeviation = fromStructure.AllowedLevelIncreaseStorage.StandardDeviation;

            WidthFlowApertures.Mean = fromStructure.WidthFlowApertures.Mean;
            WidthFlowApertures.StandardDeviation = fromStructure.WidthFlowApertures.StandardDeviation;

            InsideWaterLevel.Mean = fromStructure.InsideWaterLevel.Mean;
            InsideWaterLevel.StandardDeviation = fromStructure.InsideWaterLevel.StandardDeviation;

            ThresholdHeightOpenWeir.Mean = fromStructure.ThresholdHeightOpenWeir.Mean;
            ThresholdHeightOpenWeir.StandardDeviation = fromStructure.ThresholdHeightOpenWeir.StandardDeviation;

            CriticalOvertoppingDischarge.Mean = fromStructure.CriticalOvertoppingDischarge.Mean;
            CriticalOvertoppingDischarge.CoefficientOfVariation = fromStructure.CriticalOvertoppingDischarge.CoefficientOfVariation;

            FlowWidthAtBottomProtection.Mean = fromStructure.FlowWidthAtBottomProtection.Mean;
            FlowWidthAtBottomProtection.StandardDeviation = fromStructure.FlowWidthAtBottomProtection.StandardDeviation;

            ConstructiveStrengthLinearLoadModel.Mean = fromStructure.ConstructiveStrengthLinearLoadModel.Mean;
            ConstructiveStrengthLinearLoadModel.CoefficientOfVariation = fromStructure.ConstructiveStrengthLinearLoadModel.CoefficientOfVariation;

            ConstructiveStrengthQuadraticLoadModel.Mean = fromStructure.ConstructiveStrengthQuadraticLoadModel.Mean;
            ConstructiveStrengthQuadraticLoadModel.CoefficientOfVariation = fromStructure.ConstructiveStrengthQuadraticLoadModel.CoefficientOfVariation;

            BankWidth.Mean = fromStructure.BankWidth.Mean;
            BankWidth.StandardDeviation = fromStructure.BankWidth.StandardDeviation;

            InsideWaterLevelFailureConstruction.Mean = fromStructure.InsideWaterLevelFailureConstruction.Mean;
            InsideWaterLevelFailureConstruction.StandardDeviation = fromStructure.InsideWaterLevelFailureConstruction.StandardDeviation;

            EvaluationLevel = fromStructure.EvaluationLevel;

            LevelCrestStructure.Mean = fromStructure.LevelCrestStructure.Mean;
            LevelCrestStructure.StandardDeviation = fromStructure.LevelCrestStructure.StandardDeviation;

            VerticalDistance = fromStructure.VerticalDistance;
            FailureProbabilityRepairClosure = fromStructure.FailureProbabilityRepairClosure;

            FailureCollisionEnergy.Mean = fromStructure.FailureCollisionEnergy.Mean;
            FailureCollisionEnergy.CoefficientOfVariation = fromStructure.FailureCollisionEnergy.CoefficientOfVariation;

            ShipMass.Mean = fromStructure.ShipMass.Mean;
            ShipMass.CoefficientOfVariation = fromStructure.ShipMass.CoefficientOfVariation;

            ShipVelocity.Mean = fromStructure.ShipVelocity.Mean;
            ShipVelocity.CoefficientOfVariation = fromStructure.ShipVelocity.CoefficientOfVariation;

            LevellingCount = fromStructure.LevellingCount;
            ProbabilityCollisionSecondaryStructure = fromStructure.ProbabilityCollisionSecondaryStructure;

            FlowVelocityStructureClosable.Mean = fromStructure.FlowVelocityStructureClosable.Mean;

            StabilityLinearLoadModel.Mean = fromStructure.StabilityLinearLoadModel.Mean;
            StabilityLinearLoadModel.CoefficientOfVariation = fromStructure.StabilityLinearLoadModel.CoefficientOfVariation;

            StabilityQuadraticLoadModel.Mean = fromStructure.StabilityQuadraticLoadModel.Mean;
            StabilityQuadraticLoadModel.CoefficientOfVariation = fromStructure.StabilityQuadraticLoadModel.CoefficientOfVariation;

            AreaFlowApertures.Mean = fromStructure.AreaFlowApertures.Mean;
            AreaFlowApertures.StandardDeviation = fromStructure.AreaFlowApertures.StandardDeviation;

            InflowModelType = fromStructure.InflowModelType;
        }