Index: Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs =================================================================== diff -u -rf22d98bf46f98e0ee4b435bf84652c1ac35aa28b -r5cc8a49cc445a67f425ced8216c772b9170ea517 --- Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision f22d98bf46f98e0ee4b435bf84652c1ac35aa28b) +++ Application/Ringtoets/test/Application.Ringtoets.Storage.TestUtil/RingtoetsProjectTestHelper.cs (.../RingtoetsProjectTestHelper.cs) (revision 5cc8a49cc445a67f425ced8216c772b9170ea517) @@ -88,7 +88,7 @@ WaveImpactAsphaltCoverFailureMechanism waveImpactAsphaltCoverFailureMechanism = assessmentSection.WaveImpactAsphaltCover; AddForeshoreProfiles(waveImpactAsphaltCoverFailureMechanism.ForeshoreProfiles); - ConfigureWaveImpactAsphaltCoverFailureMechanism(waveImpactAsphaltCoverFailureMechanism); + ConfigureWaveImpactAsphaltCoverFailureMechanism(waveImpactAsphaltCoverFailureMechanism, assessmentSection); AddSections(waveImpactAsphaltCoverFailureMechanism); SetSectionResults(waveImpactAsphaltCoverFailureMechanism.SectionResults); @@ -692,7 +692,7 @@ }); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup { - Name = "GCEO A" + Name = "GCEO B" }); failureMechanism.WaveConditionsCalculationGroup.Children.Add( new GrassCoverErosionOutwardsWaveConditionsCalculation @@ -742,7 +742,7 @@ ForeshoreProfile foreshoreProfile = failureMechanism.ForeshoreProfiles[0]; failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup { - Name = "GEKB A", + Name = "SSC A", Children = { new StabilityStoneCoverWaveConditionsCalculation @@ -779,7 +779,7 @@ }); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup { - Name = "SSC A" + Name = "SSC B" }); failureMechanism.WaveConditionsCalculationGroup.Children.Add( new StabilityStoneCoverWaveConditionsCalculation @@ -830,16 +830,67 @@ #region WaveImpactAsphaltCover FailureMechanism - private static void ConfigureWaveImpactAsphaltCoverFailureMechanism(WaveImpactAsphaltCoverFailureMechanism failureMechanism) + private static void ConfigureWaveImpactAsphaltCoverFailureMechanism(WaveImpactAsphaltCoverFailureMechanism failureMechanism, IAssessmentSection assessmentSection) { + ForeshoreProfile foreshoreProfile = failureMechanism.ForeshoreProfiles[0]; failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup { - Name = "GCEO A", + Name = "WIAC A", + Children = + { + new WaveImpactAsphaltCoverWaveConditionsCalculation + { + Name = "Calculation 1", + Comments = "Comments for Calculation 1", + InputParameters = + { + ForeshoreProfile = foreshoreProfile, + HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations[0], + BreakWater = + { + Height = (RoundedDouble) (foreshoreProfile.BreakWater.Height + 0.3), + Type = BreakWaterType.Wall + }, + Orientation = foreshoreProfile.Orientation, + UseForeshore = true, + UseBreakWater = true, + UpperBoundaryRevetment = (RoundedDouble) 22.3, + LowerBoundaryRevetment = (RoundedDouble) (-3.2), + UpperBoundaryWaterLevels = (RoundedDouble) 15.3, + LowerBoundaryWaterLevels = (RoundedDouble) (-2.4), + StepSize = WaveConditionsInputStepSize.Two + } + } + } }); failureMechanism.WaveConditionsCalculationGroup.Children.Add(new CalculationGroup { - Name = "GCEO A" + Name = "WIAC B" }); + failureMechanism.WaveConditionsCalculationGroup.Children.Add( + new WaveImpactAsphaltCoverWaveConditionsCalculation + { + Name = "Calculation 2", + Comments = "Comments for Calculation 2", + InputParameters = + { + ForeshoreProfile = null, + HydraulicBoundaryLocation = assessmentSection.HydraulicBoundaryDatabase.Locations[0], + BreakWater = + { + Height = (RoundedDouble)(foreshoreProfile.BreakWater.Height + 0.1), + Type = BreakWaterType.Dam + }, + Orientation = foreshoreProfile.Orientation, + UseForeshore = false, + UseBreakWater = false, + UpperBoundaryRevetment = (RoundedDouble)12.3, + LowerBoundaryRevetment = (RoundedDouble)(-3.5), + UpperBoundaryWaterLevels = (RoundedDouble)13.3, + LowerBoundaryWaterLevels = (RoundedDouble)(-1.9), + StepSize = WaveConditionsInputStepSize.One + } + }); } private static void SetSectionResults(IEnumerable sectionResults)