Index: Ringtoets/Common/src/Ringtoets.Common.Service/RingtoetsCommonDataSynchronizationService.cs
===================================================================
diff -u -rc8743a6562e3e5581138be398f405b7f6b7c8976 -r5fca1638d8f9510eebe352a8a9a86551d7ce9e61
--- Ringtoets/Common/src/Ringtoets.Common.Service/RingtoetsCommonDataSynchronizationService.cs (.../RingtoetsCommonDataSynchronizationService.cs) (revision c8743a6562e3e5581138be398f405b7f6b7c8976)
+++ Ringtoets/Common/src/Ringtoets.Common.Service/RingtoetsCommonDataSynchronizationService.cs (.../RingtoetsCommonDataSynchronizationService.cs) (revision 5fca1638d8f9510eebe352a8a9a86551d7ce9e61)
@@ -34,12 +34,12 @@
{
///
/// Clears the output design water level
- /// of the
+ /// of the .
///
/// The
- /// to clear the output for
+ /// to clear the output for.
/// Thrown when
- /// is null
+ /// is null.
public static void ClearDesignWaterLevel(IHydraulicBoundaryLocation location)
{
if (location == null)
@@ -52,12 +52,12 @@
///
/// Clears the output WaveHeight
- /// of the
+ /// of the .
///
/// The
- /// to clear the output for
+ /// to clear the output for.
/// Thrown when
- /// is null
+ /// is null.
public static void ClearWaveHeight(IHydraulicBoundaryLocation location)
{
if (location == null)
@@ -69,18 +69,21 @@
}
///
- ///
+ /// Determines whether the calculated output is converged,
+ /// based on the
///
- ///
- ///
- ///
+ /// The resultant
+ /// object after a calculation.
+ /// The norm to use during the calculation.
+ /// True if the solution converged, false if otherwise
+ /// Thrown when
+ /// is null
public static bool CalculationConverged(ReliabilityIndexCalculationOutput output, double norm)
{
if (output == null)
{
throw new ArgumentNullException("output");
}
- double temp = StatisticsConverter.NormToBeta(norm);
return Math.Abs(output.CalculatedReliabilityIndex - StatisticsConverter.NormToBeta(norm)) <= 1.0e-3;
}
}