Index: Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/Hydraulics/DikeHeightCalculationInput.cs =================================================================== diff -u -r03b153b8f94dc5ff3619bdd52c79394a0d7fde85 -r19674fbb52038a17df349319e2bd9fca258e8df6 --- Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/Hydraulics/DikeHeightCalculationInput.cs (.../DikeHeightCalculationInput.cs) (revision 03b153b8f94dc5ff3619bdd52c79394a0d7fde85) +++ Ringtoets/HydraRing/src/Ringtoets.HydraRing.Calculation/Data/Input/Hydraulics/DikeHeightCalculationInput.cs (.../DikeHeightCalculationInput.cs) (revision 19674fbb52038a17df349319e2bd9fca258e8df6) @@ -33,7 +33,6 @@ private readonly IEnumerable profilePoints; private readonly IEnumerable forelandPoints; private readonly HydraRingBreakWater breakWater; - private readonly double modelFactorCriticalOvertopping; private readonly double factorFbMean; private readonly double factorFbStandardDeviation; @@ -50,54 +49,54 @@ /// /// Creates a new instance of the class. /// - /// The id of the hydraulic station to use during the calculation. - /// The norm to use during the calculation. - /// The section to use during the calculation. - /// The model factor critical overtopping to use during the calculation. - /// The mean of the factor Fb to use during the calculation - /// The standard deviation of the factor Fb to use during the calculation. - /// The mean of the factor Fn to use during the calculation. - /// The standard deviation of the factor Fn to use during the calculation. - /// The factor overtopping to use during the calculation. - /// The mean of the critical overtopping to use during the calculation. - /// The standard deviation of the critical overtopping to use during the calculation. - /// The mean of the factor frunup to use during the calculation. - /// The standard deviation of the factor frunup to use during the calculation. - /// The mean of the exponent model factor shallow to use during the calculation. - /// The standard deviation of the exponent model factor shallow to use during the calculation. - /// The profile points to use during the calculation. - /// The foreland points to use during the calculation. - /// The break water to use during the calculation. + /// The id of the hydraulic station. + /// The norm. + /// The section. + /// The profile points. + /// The foreland points. + /// The break water. + /// The model factor critical overtopping. + /// The mean of the factor Fb + /// The standard deviation of the factor Fb. + /// The mean of the factor Fn. + /// The standard deviation of the factor Fn. + /// The factor overtopping. + /// The mean of the critical overtopping. + /// The standard deviation of the critical overtopping. + /// The mean of the factor frunup. + /// The standard deviation of the factor frunup. + /// The mean of the exponent model factor shallow. + /// The standard deviation of the exponent model factor shallow. public DikeHeightCalculationInput(long hydraulicBoundaryLocationId, double norm, - HydraRingSection hydraRingSection, double hydraRingModelFactorCriticalOvertopping, - double hydraRingFactorFbMean, double hydraRingFactorFbStandardDeviation, - double hydraRingFactorFnMean, double hydraRingFactorFnStandardDeviation, - double hydraRingmodelFactorOvertopping, double hydraRingCriticalOvertoppingMean, - double hydraRingCriticalOvertoppingStandardDeviation, double hydraRingModelFactorFrunupMean, - double hydraRingModelFactorFrunupStandardDeviation, double hydraRingExponentModelFactorShallowMean, - double hydraRingExponentModelFactorShallowStandardDeviation, - IEnumerable hydraRingProfilePoints, - IEnumerable hydraRingForelandPoints, - HydraRingBreakWater hydraRingBreakWater) + HydraRingSection section, + IEnumerable profilePoints, + IEnumerable forelandPoints, + HydraRingBreakWater breakWater, + double modelFactorCriticalOvertopping, + double factorFbMean, double factorFbStandardDeviation, + double factorFnMean, double factorFnStandardDeviation, + double modelFactorOvertopping, + double criticalOvertoppingMean, double criticalOvertoppingStandardDeviation, + double modelFactorFrunupMean, double modelFactorFrunupStandardDeviation, + double exponentModelFactorShallowMean, double exponentModelFactorShallowStandardDeviation) : base(hydraulicBoundaryLocationId, norm) { - section = hydraRingSection; - modelFactorCriticalOvertopping = hydraRingModelFactorCriticalOvertopping; - factorFbMean = hydraRingFactorFbMean; - factorFbStandardDeviation = hydraRingFactorFbStandardDeviation; - factorFnMean = hydraRingFactorFnMean; - factorFnStandardDeviation = hydraRingFactorFnStandardDeviation; - modelFactorOvertopping = hydraRingmodelFactorOvertopping; - modelFactorFrunupMean = hydraRingModelFactorFrunupMean; - modelFactorFrunupStandardDeviation = hydraRingModelFactorFrunupStandardDeviation; - exponentModelFactorShallowMean = hydraRingExponentModelFactorShallowMean; - exponentModelFactorShallowStandardDeviation = hydraRingExponentModelFactorShallowStandardDeviation; - - criticalOvertoppingMean = hydraRingCriticalOvertoppingMean; - criticalOvertoppingStandardDeviation = hydraRingCriticalOvertoppingStandardDeviation; - profilePoints = hydraRingProfilePoints; - forelandPoints = hydraRingForelandPoints; - breakWater = hydraRingBreakWater; + this.section = section; + this.modelFactorCriticalOvertopping = modelFactorCriticalOvertopping; + this.factorFbMean = factorFbMean; + this.factorFbStandardDeviation = factorFbStandardDeviation; + this.factorFnMean = factorFnMean; + this.factorFnStandardDeviation = factorFnStandardDeviation; + this.modelFactorOvertopping = modelFactorOvertopping; + this.modelFactorFrunupMean = modelFactorFrunupMean; + this.modelFactorFrunupStandardDeviation = modelFactorFrunupStandardDeviation; + this.exponentModelFactorShallowMean = exponentModelFactorShallowMean; + this.exponentModelFactorShallowStandardDeviation = exponentModelFactorShallowStandardDeviation; + this.criticalOvertoppingMean = criticalOvertoppingMean; + this.criticalOvertoppingStandardDeviation = criticalOvertoppingStandardDeviation; + this.profilePoints = profilePoints; + this.forelandPoints = forelandPoints; + this.breakWater = breakWater; } public override HydraRingFailureMechanismType FailureMechanismType @@ -152,7 +151,7 @@ { get { - return GetHydraRingVariables(); + return GetVariables(); } } @@ -169,41 +168,26 @@ } } - private IEnumerable GetHydraRingVariables() + private IEnumerable GetVariables() { - // Dike height yield return new HydraRingVariable(1, HydraRingDistributionType.Deterministic, 0.0, HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); - - // Model factor critical overtopping yield return new HydraRingVariable(8, HydraRingDistributionType.Deterministic, modelFactorCriticalOvertopping, HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); - - // Factor Fb yield return new HydraRingVariable(10, HydraRingDistributionType.Normal, double.NaN, HydraRingDeviationType.Standard, factorFbMean, factorFbStandardDeviation, double.NaN); - - // Factor Fn yield return new HydraRingVariable(11, HydraRingDistributionType.Normal, double.NaN, HydraRingDeviationType.Standard, factorFnMean, factorFnStandardDeviation, double.NaN); - - // Model factor overtopping yield return new HydraRingVariable(12, HydraRingDistributionType.Deterministic, modelFactorOvertopping, HydraRingDeviationType.Standard, double.NaN, double.NaN, double.NaN); - - // Critical overtopping yield return new HydraRingVariable(17, HydraRingDistributionType.LogNormal, double.NaN, HydraRingDeviationType.Standard, criticalOvertoppingMean, criticalOvertoppingStandardDeviation, double.NaN); - - // Model factor Frunup yield return new HydraRingVariable(120, HydraRingDistributionType.Normal, double.NaN, HydraRingDeviationType.Standard, modelFactorFrunupMean, modelFactorFrunupStandardDeviation, double.NaN); - - // Exponent model factor shallow yield return new HydraRingVariable(123, HydraRingDistributionType.Normal, double.NaN, HydraRingDeviationType.Standard, exponentModelFactorShallowMean, exponentModelFactorShallowStandardDeviation, double.NaN);