Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsCalculation.cs =================================================================== diff -u -re039612b6aedef09462b8f260b2f377483d4ea65 -ra9de6c776f0a8367193b3ac142d784979bb3766a --- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsCalculation.cs (.../GrassCoverErosionInwardsCalculation.cs) (revision e039612b6aedef09462b8f260b2f377483d4ea65) +++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Data/GrassCoverErosionInwardsCalculation.cs (.../GrassCoverErosionInwardsCalculation.cs) (revision a9de6c776f0a8367193b3ac142d784979bb3766a) @@ -87,23 +87,22 @@ private void AddDemoInput() { - // BreakWater - InputParameters.BreakWater.Type = BreakWaterType.Dam; - InputParameters.BreakWater.Height = (RoundedDouble) 10; - InputParameters.UseBreakWater = true; - - // Orientation - InputParameters.Orientation = (RoundedDouble) 5.5; - - // Dike and Foreshore - InputParameters.DikeGeometry.Add(new RoughnessPoint(new Point2D(1.1, 2.2), 0.6)); - InputParameters.DikeGeometry.Add(new RoughnessPoint(new Point2D(3.3, 4.4), 0.7)); - InputParameters.ForeshoreGeometry.Add(new Point2D(3.3, 4.4)); - InputParameters.ForeshoreGeometry.Add(new Point2D(5.5, 6.6)); - InputParameters.UseForeshore = true; - - // Dike height - InputParameters.DikeHeight = (RoundedDouble) 10; + InputParameters.DikeProfile = new DikeProfile(new Point2D(0, 0)) + { + Orientation = (RoundedDouble) 5.5, + BreakWater = new BreakWater(BreakWaterType.Dam, 10.0), + DikeGeometry = + { + new RoughnessPoint(new Point2D(1.1, 2.2), 0.6), + new RoughnessPoint(new Point2D(3.3, 4.4), 0.7) + }, + ForeshoreGeometry = + { + new Point2D(3.3, 4.4), + new Point2D(5.5, 6.6) + }, + CrestLevel = (RoundedDouble) 10 + }; } } } \ No newline at end of file