Index: DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/Common/UpliftHelper.cs =================================================================== diff -u -r6191 -r6404 --- DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/Common/UpliftHelper.cs (.../UpliftHelper.cs) (revision 6191) +++ DamEngine/trunk/src/Deltares.DamEngine.Calculators/KernelWrappers/Common/UpliftHelper.cs (.../UpliftHelper.cs) (revision 6404) @@ -1,4 +1,4 @@ -// Copyright (C) Stichting Deltares 2024. All rights reserved. +// Copyright (C) Stichting Deltares 2025. All rights reserved. // // This file is part of the Dam Engine. // @@ -19,7 +19,6 @@ // Stichting Deltares and remain full property of Stichting Deltares at all times. // All rights reserved. -using System; using Deltares.DamEngine.Calculators.Uplift; using Deltares.DamEngine.Data.General; using Deltares.DamEngine.Data.General.PlLines; @@ -82,14 +81,14 @@ double upliftCriterion = location.CurrentScenario.UpliftCriterionStability; SurfaceLine2 surfaceLineWithNewHeight = location.SurfaceLine; double? upliftFactor = GetLowestUpliftFactor(surfaceLineWithNewHeight, - subSoilScenario.SoilProfile1D, subSoilScenario.SoilProfile2D, plLines, + subSoilScenario.SoilProfile1D, subSoilScenario.SoilProfile2D, plLines, location, out xCoordLowestUpliftFactor); - + return upliftFactor < upliftCriterion; } - private static double? GetLowestUpliftFactor(SurfaceLine2 surfaceLine, SoilProfile1D soilProfile1D, - SoilProfile2D soilProfile2D, PlLines plLines, Location location, + private static double? GetLowestUpliftFactor(SurfaceLine2 surfaceLine, SoilProfile1D soilProfile1D, + SoilProfile2D soilProfile2D, PlLines plLines, Location location, out double xCoordLowestUpliftFactor) { var upliftLocationDeterminator = new UpliftLocationDeterminator