Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/Calculators/Input/SoilLayer.cs =================================================================== diff -u -r0c1db0b8d8ed69192d22aa164be95f2c6c21aaf2 -rb85d1a394623d8235777bc925cd608473eb786fa --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/Calculators/Input/SoilLayer.cs (.../SoilLayer.cs) (revision 0c1db0b8d8ed69192d22aa164be95f2c6c21aaf2) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/Calculators/Input/SoilLayer.cs (.../SoilLayer.cs) (revision b85d1a394623d8235777bc925cd608473eb786fa) @@ -33,29 +33,29 @@ /// /// Creates a new instance of . /// - /// The outer ring of the geometry of the soil layer. - /// The holes of the geometry of the soil layer. + /// The outer ring of the soil layer. + /// The nested layers of the soil layer. /// The object containing the values for - /// the properties of the new . - /// Thrown when - /// is null. - public SoilLayer(Point2D[] outerRing, IEnumerable holes, ConstructionProperties properties) + /// the soil data properties of the new . + /// Thrown when any input parameter is null. + public SoilLayer(Point2D[] outerRing, ConstructionProperties properties, IEnumerable nestedLayers) { if (outerRing == null) { throw new ArgumentNullException(nameof(outerRing)); } - if (holes == null) - { - throw new ArgumentNullException(nameof(holes)); - } + if (properties == null) { throw new ArgumentNullException(nameof(properties)); } + if (nestedLayers == null) + { + throw new ArgumentNullException(nameof(nestedLayers)); + } + OuterRing = outerRing; - Holes = holes; IsAquifer = properties.IsAquifer; UsePop = properties.UsePop; @@ -70,17 +70,19 @@ Pop = properties.Pop; DilatancyType = properties.DilatancyType; WaterPressureInterpolationModel = properties.WaterPressureInterpolationModel; + + NestedLayers = nestedLayers; } /// - /// Gets the outer ring of the geometry. + /// Gets the outer ring of the soil layer. /// public Point2D[] OuterRing { get; } /// - /// Gets the holes of the geometry. + /// Gets any nested layers of the soil layer. /// - public IEnumerable Holes { get; } + public IEnumerable NestedLayers { get; } /// /// Gets a value indicating whether the layer is an aquifer.