Index: DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs =================================================================== diff -u -r3792 -r3811 --- DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs (.../MacroStabilityInwardsTests.cs) (revision 3792) +++ DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs (.../MacroStabilityInwardsTests.cs) (revision 3811) @@ -695,7 +695,7 @@ Assert.IsNotNull(outputString); var output = DamXmlSerialization.LoadOutputFromXmlString(outputString); Assert.IsNull(output.Results.CalculationResults, "No results available"); - // Note Bka: it already failed, but now for a different reason.porbably because DTH is not yet taken into account with testing/adjusting the data. + // Note Bka: it already failed, but now for a different reason.Probably because DTH is not yet taken into account with testing/adjusting the data. Assert.IsTrue(output.Results.CalculationMessages[0].Message1.Contains("Location 'DWP_1', subsoil scenario 'DWP_1.sti', design scenario '1': " + "The calculation failed with error message 'Value cannot be null.")); } Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2D.cs =================================================================== diff -u -r3790 -r3811 --- DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2D.cs (.../SoilProfile2D.cs) (revision 3790) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/Geotechnics/SoilProfile2D.cs (.../SoilProfile2D.cs) (revision 3811) @@ -91,14 +91,14 @@ foreach (var soilLayer2D in Surfaces) { var loop = new GeometryLoop(); - var tel = 0; + var isStartPoint = true; GeometryCurve curve = new GeometryCurve(); foreach (var outerLoopCalcPoint in soilLayer2D.GeometrySurface.OuterLoop.CalcPoints) { Geometry.Points.Add(outerLoopCalcPoint); loop.CalcPoints.Add(outerLoopCalcPoint); Geometry.Surfaces.Add(soilLayer2D.GeometrySurface); - if (tel == 0) + if (isStartPoint) { curve.HeadPoint = outerLoopCalcPoint; } @@ -109,7 +109,7 @@ curve = new GeometryCurve(); curve.HeadPoint = outerLoopCalcPoint; } - tel++; + isStartPoint = false; } curve.EndPoint = loop.CurveList.First().HeadPoint; Geometry.Curves.Add(curve); Index: DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/DebuggingTest.cs =================================================================== diff -u -r3792 -r3811 --- DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/DebuggingTest.cs (.../DebuggingTest.cs) (revision 3792) +++ DamEngine/trunk/src/Deltares.DamEngine.IntegrationTests/IntegrationTests/DebuggingTest.cs (.../DebuggingTest.cs) (revision 3811) @@ -42,7 +42,7 @@ [Test, Ignore("This test is only used for debugging XML files generated by Dam UI")] public void DebugWithXmlInputFile() { - const string inputFilename = "AdaptionInputFile.xml";//"InputForDebugging.xml"; + const string inputFilename = "InputForDebugging.xml"; // or put your own name here; string fullInputFilename = Path.Combine(mapTestFiles, inputFilename); Thread.CurrentThread.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture; string inputString = File.ReadAllText(fullInputFilename);