Index: Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsHydraulicBoundaryLocation.cs
===================================================================
diff -u -r7546a65303cc9421d2ebe115c5dac56164371e07 -r84e2f073c0cc2484a97dd47c452761c05d93aa97
--- Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsHydraulicBoundaryLocation.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryLocation.cs) (revision 7546a65303cc9421d2ebe115c5dac56164371e07)
+++ Ringtoets/GrassCoverErosionOutwards/src/Ringtoets.GrassCoverErosionOutwards.Data/GrassCoverErosionOutwardsHydraulicBoundaryLocation.cs (.../GrassCoverErosionOutwardsHydraulicBoundaryLocation.cs) (revision 84e2f073c0cc2484a97dd47c452761c05d93aa97)
@@ -27,17 +27,20 @@
namespace Ringtoets.GrassCoverErosionOutwards.Data
{
///
- /// Hydraulic boundary location for the .
+ /// Hydraulic boundary location for which values are calculated during the assessment of the
+ /// .
///
public class GrassCoverErosionOutwardsHydraulicBoundaryLocation : IStorable
{
private RoundedDouble waterLevel;
+ private RoundedDouble waveHeight;
///
/// Creates a new instance of .
///
- /// The
- /// this specific water level applies to.
+ /// The
+ /// which is used in the calculation of grass cover erosion outwards specific properties of the
+ /// location.
/// Thrown when is null.
public GrassCoverErosionOutwardsHydraulicBoundaryLocation(HydraulicBoundaryLocation hydraulicBoundaryLocation)
{
@@ -47,6 +50,7 @@
}
HydraulicBoundaryLocation = hydraulicBoundaryLocation;
waterLevel = new RoundedDouble(2, double.NaN);
+ waveHeight = new RoundedDouble(2, double.NaN);
}
///
@@ -75,6 +79,26 @@
public CalculationConvergence WaterLevelCalculationConvergence { get; set; }
///
+ /// Gets or sets the wave height of .
+ ///
+ public RoundedDouble WaveHeight
+ {
+ get
+ {
+ return waveHeight;
+ }
+ set
+ {
+ waveHeight = value.ToPrecision(waveHeight.NumberOfDecimalPlaces);
+ }
+ }
+
+ ///
+ /// Gets or sets the convergence status of the wave height calculation.
+ ///
+ public CalculationConvergence WaveHeightCalculationConvergence { get; set; }
+
+ ///
/// Gets or sets the unique identifier for the storage of the class.
///
public long StorageId { get; set; }