Index: Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationService.cs
===================================================================
diff -u -r30a62fed78e3d6ff8e442eedcb0a12e0b72ca2fb -r5d5d353c6b6bdda426324c591029b096621abaa4
--- Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationService.cs (.../GrassCoverErosionInwardsCalculationService.cs) (revision 30a62fed78e3d6ff8e442eedcb0a12e0b72ca2fb)
+++ Ringtoets/GrassCoverErosionInwards/src/Ringtoets.GrassCoverErosionInwards.Service/GrassCoverErosionInwardsCalculationService.cs (.../GrassCoverErosionInwardsCalculationService.cs) (revision 5d5d353c6b6bdda426324c591029b096621abaa4)
@@ -89,7 +89,7 @@
}
///
- /// Performs a grass cover erosion inwards dike height calculation based on the supplied
+ /// Performs a grass cover erosion inwards calculation based on the supplied
/// and sets if the calculation was successful.
/// Error and status information is logged during the execution of the operation.
///
@@ -99,18 +99,18 @@
/// Calculation input parameters that apply to all instances.
/// The amount of contribution for this failure mechanism in the assessment section.
/// The directory of the HLCD file that should be used for performing the calculation.
- internal void CalculateDikeHeight(GrassCoverErosionInwardsCalculation calculation,
- IAssessmentSection assessmentSection,
- FailureMechanismSection failureMechanismSection,
- GeneralGrassCoverErosionInwardsInput generalInput,
- double failureMechanismContribution,
- string hlcdDirectory)
+ internal void Calculate(GrassCoverErosionInwardsCalculation calculation,
+ IAssessmentSection assessmentSection,
+ FailureMechanismSection failureMechanismSection,
+ GeneralGrassCoverErosionInwardsInput generalInput,
+ double failureMechanismContribution,
+ string hlcdDirectory)
{
var calculateDikeHeight = calculation.InputParameters.CalculateDikeHeight;
var totalSteps = calculateDikeHeight ? 2 : 1;
var calculationName = calculation.Name;
- NotifyProgress(Resources.GrassCoverErosionInwardsCalculationService_CalculateDikeHeight_Executing_overtopping_calculation, 1, totalSteps);
+ NotifyProgress(Resources.GrassCoverErosionInwardsCalculationService_Calculate_Executing_overtopping_calculation, 1, totalSteps);
CalculationServiceHelper.LogCalculationBeginTime(calculationName);
@@ -124,7 +124,7 @@
if (calculateDikeHeight)
{
- NotifyProgress(Resources.GrassCoverErosionInwardsCalculationService_CalculateDikeHeight_Executing_dikeheight_calculation, 2, totalSteps);
+ NotifyProgress(Resources.GrassCoverErosionInwardsCalculationService_Calculate_Executing_dikeheight_calculation, 2, totalSteps);
dikeHeightCalculator = HydraRingCalculatorFactory.Instance.CreateDikeHeightCalculator(hlcdDirectory, assessmentSection.Id);
var dikeHeightCalculationInput = CreateDikeHeightInput(calculation, assessmentSection, failureMechanismSection, generalInput);