src

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed edge case:

- Updated XMLDocs and function argument types to prevent modification to collections

-- Changed a ToList to an ToArray call to prevent modifications

Related to Issue [MWDAM-1683]

Fixed edge case:

- Updated XMLDocs and function argument types to prevent modification to collections

- Added a filter on the layerdata --> the layer data sometimes generates a surface consisting of two curves (which simply cannot represent a surface, because at least 3 curves are necessary). This behavior becomes relevant when running TestRunMacroStabilityWithErrorUpliftVan

Related to Issue [MWDAM-1683]

    • -10
    • +20
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Fixed edge case:

- Refactored solution: pass a local surface line geometry to prevent rounding off errors from properly recognising the surfaces

Related to Issue [MWDAM-1683]

    • -42
    • +47
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Fixed edge case:

- Fixed test

Related to Issue [MWDAM-1683]

Fixed edge case:

- Added case to deal with horizontal intersections or when the ZCoordinate has rounding errors at intersections

Related to Issue [MWDAM-1683]

    • -0
    • +85
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
    • -11
    • +35
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Rename function to reflect its functionality

Merged from 19.2 branch

Related to Issue [MWDAM-1579]

Cleanup:

- Updated XMLDocs and function calls

Related to Issue [MWDAM-1683]

    • -9
    • +25
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Cleanup:

- Refactored: extracted a function to generate closed outer loop based on coordinates

Related to Issue [MWDAM-1683]

    • -15
    • +13
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Cleanup:

- Reordered functions for clarity

Related to Issue [MWDAM-1683]

    • -124
    • +123
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Cleanup:

- Removed obsolete code

Related to Issue [MWDAM-1683]

    • -220
    • +0
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Improved algorithm for the generation of surfaces:

- Added test to verify that the soil properties are correctly set after generating

Related to Issue [MWDAM-1683]

    • -2
    • +14
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
    • -21
    • +62
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Improved algorithm for the generation of surfaces:

- Added test with a horizontal intersection with the bottom level of a layer

Related to Issue [MWDAM-1683]

    • -0
    • +96
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Removed WIP categories from unit tests

Related to Issue [MWDAM-1683]

    • -3
    • +1
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Improved algorithm for the generation of surfaces:

- Adjustments made when the intersection inflects at the bottom level of a layer

Related to Issue [MWDAM-1683]

    • -0
    • +191
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
    • -7
    • +29
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
Adapted to fix tests.

Related to Issue [MWDAM-1579]

    • -8
    • +21
    ./Deltares.DamEngine.Calculators/DikesOperational/OperationalCalculator.cs
Synchronize Location data with Design Scenario data

Merge from 19.2 branch

Related to Issue [MWDAM-1579]

    • -15
    • +37
    ./Deltares.DamEngine.Calculators/DikesOperational/OperationalCalculator.cs
    • -0
    • +9
    ./Deltares.DamEngine.Calculators/DikesOperational/OperationalCalculatorTask.cs
Fixed failing unit test:

- Corrected algorithm, because apparently it is possible to get an enclosed area without coordinates ---> corrected filtering

- Adjusted resulting safety factor.

Related to Issue [MWDAM-1683]

Improved algorithm for the generation of surfaces:

- Added testcase where a layer is fully above the surface line (no intersections)

Related to Issue [MWDAM-1683]

    • -3
    • +70
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Improved algorithm for the generation of surfaces:

- Decoupled old algorithm

-- Used 3 testcases to prove the algorithm:

--- Soil layers fully below surface line

--- Soil layers enveloping the surface line

--- Soil layers partially enveloping the surface line such that the enveloped area results in one single area

Related to Issue [MWDAM-1683]

    • -6
    • +372
    ./Deltares.DamEngine.Data/Geotechnics/SoilSurfaceProfile.cs
    • -103
    • +84
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Added WiP for locally successful test. So I guess C#wrapper or Failmech has been changed although this should not effect this test at all. So DSL change????

Related to Issue [MWDAM-1627]

    • -1
    • +2
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Removed WiP for successful test.

Related to Issue [MWDAM-1627]

    • -1
    • +0
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Corrected TangentLinesDefinition.

Related to Issue [MWDAM-1627]

Commented out correction for 1d profile layers above surface level as this causes numerous unexplained errors.

Related to Issue [MWDAM-1627]

    • -13
    • +15
    ./Deltares.DamEngine.Data/Geotechnics/SoilProfileHelper.cs
Added setting aquifer status.

Related to Issue [MWDAM-1627]

Corrected stability test by setting intended tangent line type. Corrected other tests by correcting DetermineForSurfaceLineCorrected1DProfileAtX.

Related to Issue [MWDAM-1627]

Corrected handling for grid and tangent lines as well as all water net data. Now the failing tests work so removed the WiP status for these tests.

Related to Issue [MWDAM-1627]

    • -2
    • +4
    ./Deltares.DamEngine.Data/General/SoilGeometryProbability.cs
    • -0
    • +1
    ./Deltares.DamEngine.Data/Deltares.DamEngine.Data.csproj
    • -0
    • +43
    ./Deltares.DamEngine.Data/Geotechnics/SoilProfileHelper.cs
    • too large
    ./Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs
    • -1
    • +2
    ./Deltares.DamEngine.Calculators/Uplift/UpliftLocationDeterminator.cs
Added unit test to prove the SoilSurfaceProfile.ConvertTo2DProfile:

- Temporarily added WIP category for the tests to make build server green again

Related to Issue [MWDAM-1683]

    • -1
    • +73
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Added unit test to prove the SoilSurfaceProfile.ConvertTo2DProfile:

- Refactored test in case the order of curves differs during subsequent runs

-- Adjusted test --> set bottom level at the end of the routine to set the soil layers height?

Related to Issue [MWDAM-1683]

    • -4
    • +2
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs
Copied SynchronizeLoops call to be executed at the end of the routine to prevent KeyNotFoundException in the wrapper

Related to Issue [MWDAM-1650]

Added unit test to prove the SoilSurfaceProfile.ConvertTo2DProfile:

- Refactored test in case the order of curves differs during subsequent runs

-- Added log message for more information

Related to Issue [MWDAM-1683]

    • -1
    • +4
    ./Deltares.DamEngine.Data.Tests/Geotechnics/SoilSurfaceProfileTests.cs