Index: Demo/Ringtoets/src/Demo.Ringtoets/Commands/AddNewDemoAssessmentSectionCommand.cs =================================================================== diff -u -rfea3ed82dfb6dfcad535eef16efcbaa9c01564ed -r6f1e2e16c67292603f19489965183fa7176ff6af --- Demo/Ringtoets/src/Demo.Ringtoets/Commands/AddNewDemoAssessmentSectionCommand.cs (.../AddNewDemoAssessmentSectionCommand.cs) (revision fea3ed82dfb6dfcad535eef16efcbaa9c01564ed) +++ Demo/Ringtoets/src/Demo.Ringtoets/Commands/AddNewDemoAssessmentSectionCommand.cs (.../AddNewDemoAssessmentSectionCommand.cs) (revision 6f1e2e16c67292603f19489965183fa7176ff6af) @@ -105,7 +105,9 @@ } SetHydraulicBoundaryLocationDesignWaterLevelValues(demoAssessmentSection.HydraulicBoundaryDatabase.Locations); + SetHydraulicBoundaryLocationDesignWaterLevelCalculationConvergence(demoAssessmentSection.HydraulicBoundaryDatabase.Locations); SetHydraulicBoundaryLocationWaveHeightValues(demoAssessmentSection.HydraulicBoundaryDatabase.Locations); + SetHydraulicBoundaryLocationWaveHeightCalculationConvergence(demoAssessmentSection.HydraulicBoundaryDatabase.Locations); } private void InitializeDemoFailureMechanismSections(AssessmentSection demoAssessmentSection) @@ -219,6 +221,15 @@ locations.ElementAt(17).DesignWaterLevel = 6.0; } + private void SetHydraulicBoundaryLocationDesignWaterLevelCalculationConvergence(ICollection locations) + { + foreach (HydraulicBoundaryLocation hydraulicBoundaryLocation in locations) + { + hydraulicBoundaryLocation.DesignWaterLevelCalculationConvergence = CalculationConvergence.CalculatedConverged; + } + locations.ElementAt(15).DesignWaterLevelCalculationConvergence = CalculationConvergence.CalculatedConverged; + } + private void SetHydraulicBoundaryLocationWaveHeightValues(ICollection locations) { locations.ElementAt(0).WaveHeight = 4.13374; @@ -240,5 +251,13 @@ locations.ElementAt(16).WaveHeight = 8.01959; locations.ElementAt(17).WaveHeight = 4.11447; } + + private void SetHydraulicBoundaryLocationWaveHeightCalculationConvergence(ICollection locations) + { + foreach (HydraulicBoundaryLocation hydraulicBoundaryLocation in locations) + { + hydraulicBoundaryLocation.WaveHeightCalculationConvergence = CalculationConvergence.CalculatedConverged; + } + } } } \ No newline at end of file