Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs =================================================================== diff -u -r6867 -r6874 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs (.../PlLinesCreator.cs) (revision 6867) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs (.../PlLinesCreator.cs) (revision 6874) @@ -483,7 +483,8 @@ SoilProfile2DHelper.DetermineAquiferLayerBoundaryPoints(SoilProfile2DHelper.LayerType.BottomAquiferCluster, SoilProfile2D, out Point2D[] bottomAquiferCoordinates, out _); List topLevelPenetrationZone = bottomAquiferCoordinates.Select(p => new Point2D(p.X, p.Z + penetrationLength)).ToList(); - // Compare both lines + // Compare both lines: check if the top level of the penetration zone has a point above the top level of the + // infiltration layers. If so, return false. foreach (Point2D point in topLevelPenetrationZone) { RelativeXzPosition position = topLevelInfiltrationLayers.PositionXzOfPointRelatedToExtrapolatedLine(point);