Index: Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneErosionBoundaryCalculationService.cs =================================================================== diff -u -r9b2125ce148137d1b6103557707d81f4771be6bf -rbec4cdb458b713aed1a5a449d3807867764d1706 --- Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneErosionBoundaryCalculationService.cs (.../DuneErosionBoundaryCalculationService.cs) (revision 9b2125ce148137d1b6103557707d81f4771be6bf) +++ Ringtoets/DuneErosion/src/Ringtoets.DuneErosion.Service/DuneErosionBoundaryCalculationService.cs (.../DuneErosionBoundaryCalculationService.cs) (revision bec4cdb458b713aed1a5a449d3807867764d1706) @@ -90,20 +90,17 @@ } /// - /// Performs a dune erosion calculation based on the supplied - /// and sets the if the calculation is successful. + /// Performs a dune erosion calculation based on the supplied + /// and sets its output if the calculation is successful. /// Error and status information is logged during the execution of the operation. /// - /// The that holds information required - /// to perform the calculation. /// The to perform. /// The norm to use during the calculation. /// The path which points to the hydraulic /// boundary database file. /// The preprocessor directory. /// Preprocessing is disabled when equals . - /// Thrown when or - /// is null. + /// Thrown when is null. /// Thrown when: /// /// The contains invalid characters. @@ -120,23 +117,19 @@ /// /// Thrown when an error occurs while performing /// the calculation. - public void Calculate(DuneLocation duneLocation, - DuneLocationCalculation duneLocationCalculation, + public void Calculate(DuneLocationCalculation duneLocationCalculation, double norm, string hydraulicBoundaryDatabaseFilePath, string preprocessorDirectory) { - if (duneLocation == null) - { - throw new ArgumentNullException(nameof(duneLocation)); - } - if (duneLocationCalculation == null) { throw new ArgumentNullException(nameof(duneLocationCalculation)); } string hlcdDirectory = Path.GetDirectoryName(hydraulicBoundaryDatabaseFilePath); + + DuneLocation duneLocation = duneLocationCalculation.DuneLocation; string duneLocationName = duneLocation.Name; CalculationServiceHelper.LogCalculationBegin();