Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs =================================================================== diff -u -rfff12e249602fb700b2854c14a3b7cdd0b73c023 -r54c270e65b7ea51ec9855500fbc7cd9f5869fceb --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision fff12e249602fb700b2854c14a3b7cdd0b73c023) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsInput.cs (.../GrassCoverErosionInwardsInput.cs) (revision 54c270e65b7ea51ec9855500fbc7cd9f5869fceb) @@ -37,14 +37,16 @@ { private IEnumerable geometry; private RoundedDouble orientation; + private readonly LognormalDistribution criticalFlowRate; /// /// Creates a new instance of . /// public GrassCoverErosionInwardsInput() { - BreakWater = new List(); orientation = new RoundedDouble(2); + DikeHeight = new RoundedDouble(2); + criticalFlowRate = new LognormalDistribution(2); } /// @@ -87,33 +89,44 @@ /// /// Gets or sets the dike's critical flow rate. /// - public LognormalDistribution CriticalFlowRate { get; set; } + public LognormalDistribution CriticalFlowRate + { + get + { + return criticalFlowRate; + } + set + { + criticalFlowRate.Mean = value.Mean; + criticalFlowRate.StandardDeviation = value.StandardDeviation; + } + } /// - /// Gets or sets if a foreshore is present. + /// Gets or sets if needs to be taken into account. /// - /// Value of must not be reset when is set to false. - public bool ForeshorePresent { get; set; } + /// Value of must not be reset when is set to false. + public bool UseForeshore { get; set; } /// /// Gets or sets the dike height. /// - public double DikeHeight { get; set; } + public RoundedDouble DikeHeight { get; set; } /// /// Gets the number of profile points of the dike geometry that form the foreshore geometry. /// public int ForeshoreDikeGeometryPoints { get; private set; } /// - /// Defines if needs to be taken into account. + /// Gets or sets if needs to be taken into account. /// - public bool BreakWaterPresent { get; set; } + public bool UseBreakWater { get; set; } /// /// Gets or sets the . /// - public IList BreakWater { get; set; } + public BreakWater BreakWater { get; set; } /// /// Gets or set the hydraulic boundary location from which to use the assessment level.