예제 #1
0
        public override object Clone()
        {
            var clone = (ClosingStructuresInput)base.Clone();

            clone.thresholdHeightOpenWeir       = (NormalDistribution)ThresholdHeightOpenWeir.Clone();
            clone.modelFactorSuperCriticalFlow  = (NormalDistribution)ModelFactorSuperCriticalFlow.Clone();
            clone.drainCoefficient              = (LogNormalDistribution)DrainCoefficient.Clone();
            clone.areaFlowApertures             = (LogNormalDistribution)AreaFlowApertures.Clone();
            clone.levelCrestStructureNotClosing = (NormalDistribution)LevelCrestStructureNotClosing.Clone();
            clone.insideWaterLevel              = (NormalDistribution)InsideWaterLevel.Clone();

            return(clone);
        }
        public override object Clone()
        {
            var clone = (StabilityPointStructuresInput)base.Clone();

            clone.insideWaterLevelFailureConstruction = (NormalDistribution)InsideWaterLevelFailureConstruction.Clone();
            clone.insideWaterLevel                       = (NormalDistribution)InsideWaterLevel.Clone();
            clone.drainCoefficient                       = (LogNormalDistribution)DrainCoefficient.Clone();
            clone.levelCrestStructure                    = (NormalDistribution)LevelCrestStructure.Clone();
            clone.thresholdHeightOpenWeir                = (NormalDistribution)ThresholdHeightOpenWeir.Clone();
            clone.areaFlowApertures                      = (LogNormalDistribution)AreaFlowApertures.Clone();
            clone.constructiveStrengthLinearLoadModel    = (VariationCoefficientLogNormalDistribution)ConstructiveStrengthLinearLoadModel.Clone();
            clone.constructiveStrengthQuadraticLoadModel = (VariationCoefficientLogNormalDistribution)ConstructiveStrengthQuadraticLoadModel.Clone();
            clone.stabilityLinearLoadModel               = (VariationCoefficientLogNormalDistribution)StabilityLinearLoadModel.Clone();
            clone.stabilityQuadraticLoadModel            = (VariationCoefficientLogNormalDistribution)StabilityQuadraticLoadModel.Clone();
            clone.failureCollisionEnergy                 = (VariationCoefficientLogNormalDistribution)FailureCollisionEnergy.Clone();
            clone.shipMass     = (VariationCoefficientNormalDistribution)ShipMass.Clone();
            clone.shipVelocity = (VariationCoefficientNormalDistribution)ShipVelocity.Clone();
            clone.bankWidth    = (NormalDistribution)BankWidth.Clone();
            clone.flowVelocityStructureClosable = (VariationCoefficientNormalDistribution)FlowVelocityStructureClosable.Clone();

            return(clone);
        }