src

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix bug reported by SonarQube

Related to Issue [MWDAM-1514]

Fix bug reported by SonarQube

Related to Issue [MWDAM-1514]

Replaced two test files by one, rewrote tests to use common code.

Related to Issue [MWDAM-1554]

    • -331
    • +0
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTHWithNoAdaption.xml
    • -0
    • +331
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTH.xml
    • -103
    • +92
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -331
    • +0
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTHWithAdaption.xml
    • -4
    • +1
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
Typos fixed and improved formatting

Related to Issue [MWDAM-1554]

    • -12
    • +11
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
Re-instated deep copy and reset of surface line in PerformDesignCalculation to ensure that correct surface line is used for each individual design step in case of Piping as well as in Stability.

Related to Issue [MWDAM-1554]

    • -21
    • +34
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
Fixed the issue by taking the adaption of the surface line forward to before kernel Prepare statement. Added tests for it.

Related to Issue [MWDAM-1554]

    • -0
    • +331
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTHWithNoAdaption.xml
    • -78
    • +88
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -0
    • +70
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
    • -0
    • +331
    ./Deltares.DamEngine.IntegrationTests/TestFiles/DesignInputFileWithRiverLevelAboveDikeTopButBelowDTHWithAdaption.xml
    • -0
    • +6
    ./Deltares.DamEngine.IntegrationTests/Deltares.DamEngine.IntegrationTests.csproj
Improved naming of functions for PL3 and PL4

Related to Issue [MWDAM-1555]

    • too large
    ./Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs
Whilst investigating this option, came across typo and 2 thing that could easily be fixed when looking at the sonarqube results. So did this whilst waiting for Irene to return her verdict about this issue.

Related to Issue [MWDAM-1554]

    • too large
    ./Deltares.DamEngine.Calculators/PlLinesCreator/PlLinesCreator.cs
Made RequiredSafetyFactorStabilityInnerSlope, RequiredSafetyFactorStabilityOuterSlope, RequiredSafetyFactorPiping, UpliftCriterionStability and UpliftCriterionPiping required in xsd/DamLocation.xsd

Related to Issue [MWDAM-1537]

    • -7
    • +7
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
    • -10
    • +5
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
    • -3
    • +0
    ./Deltares.DamEngine.Calculators/Properties/Resources.nl-NL.resx
    • -18
    • +0
    ./Deltares.DamEngine.Calculators/Properties/Resources.Designer.cs
    • -5
    • +5
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -20
    • +5
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
  1. … 5 more files in changeset.
Made PlLineOffsetBelowDikeToeAtPolder, PlLineOffsetBelowDikeTopAtPolder, PlLineOffsetBelowDikeTopAtRiver and PlLineOffsetBelowShoulderBaseInside required in xsd/DamLocation.xsd

Related to Issue [MWDAM-1537]

    • -12
    • +12
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
    • -4
    • +4
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
    • -16
    • +4
    ./Deltares.DamEngine.Calculators/DikesDesign/DesignCalculator.cs
    • -8
    • +4
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
  1. … 2 more files in changeset.
Corrected setting DampingFactorPl3 and DampingFactorPl4.

Related to Issue [MWDAM-1533]

    • -2
    • +2
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
    • -2
    • +2
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
Set Run_UsingTestFiles_HasExpectedResultsInOutputFile in OperationalIntegrationTests to Categories.WorkInProgress due to:

Removed ModelFactors from Location in xsd.

Related to Issue [MWDAM-1519]

    • -0
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalIntegrationTests.cs
Fixed IO tests, due to Removed ModelFactors.

Related to Issue [MWDAM-1519]

    • -10
    • +0
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForDamProjectData.cs
Removed ModelFactors from Location in xsd.

Related to Issue [MWDAM-1519]

    • -12
    • +0
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -16
    • +0
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
  1. … 1 more file in changeset.
Set Run_UsingTestFiles_HasExpectedResultsInOutputFile in OperationalPulauTekongTests and Run_UsingTestFiles_HasExpectedResultsInOutputFile in OperationalGrebbedijkTests to Categories.WorkInProgress due to: Removed HeadPl3, HeadPl4, Pl1BelowCrestRiverside, Pl1BelowCrestPolderside, Pl1BelowShoulderCrestPolderside, Pl1BelowToeDikePolderside, Pl1BelowCrestMiddle, Pl1FactorBelowShoulderCrest from WaternetOptions.

Related to Issue [MWDAM-1519]

Tests must be solved in MWDAM-1535

    • -0
    • +2
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalGrebbedijkTests.cs
    • -0
    • +1
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/OperationalPulauTekongTests.cs
Removed HeadPl3, HeadPl4, Pl1BelowCrestRiverside, Pl1BelowCrestPolderside, Pl1BelowShoulderCrestPolderside, Pl1BelowToeDikePolderside, Pl1BelowCrestMiddle, Pl1FactorBelowShoulderCrest from WaternetOptions.

Related to Issue [MWDAM-1519]

    • -9
    • +0
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForDamProjectData.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
    • -9
    • +0
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -12
    • +0
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
  1. … 1 more file in changeset.
Removed obsolete parameters from test file to solve test error.

Related to Issue [MWDAM-1527]

Removed SoilType as it is never really used.

Related to Issue [MWDAM-1527]

    • -2
    • +1
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForDamProjectData.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
    • -42
    • +0
    ./Deltares.DamEngine.Interface/ConversionHelper.cs
    • -68
    • +21
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForSoilProfiles.cs
    • -1
    • +0
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -6
    • +3
    ./Deltares.DamEngine.Calculators.Tests/Uplift/SoilVolumeMassCalculatorEffectiveStressTest.cs
    • -22
    • +0
    ./Deltares.DamEngine.Interface.Tests/ConversionHelperTests.cs
    • -1
    • +0
    ./Deltares.DamEngine.Data/Deltares.DamEngine.Data.csproj
    • -2
    • +0
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
  1. … 1 more file in changeset.
Removed all probabilistic parameters named under "Added on 9-7-2019" except for SlopeDampingPiezometricHeightPolderSide (used in PlLinesCreator) and SlopeDampingPiezometricHeightPolderSide (used by Delphi D-GeoStability) as these are used in the engine.

Related to Issue [MWDAM-1527]

    • -7
    • +0
    ./Deltares.DamEngine.Data/General/MStabParameters.cs
    • -6
    • +2
    ./Deltares.DamEngine.Data/General/ModelParameters.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
  1. … 1 more file in changeset.
Removed obsolete parameters from the Engine. Increased version number from 19.1 to 19.2.

Related to Issue [MWDAM-1527]

    • -54
    • +12
    ./Deltares.DamEngine.Data/Design/DesignScenario.cs
    • -2
    • +2
    ./Deltares.DamEngine.Version/GlobalAssembly.cs.svn
    • -6
    • +0
    ./Deltares.DamEngine.Data/General/FailureMechanismParametersMStab.cs
    • -3
    • +1
    ./Deltares.DamEngine.Data/General/PlLineEnumerations.cs
Implemented DistanceToEntryPoint in design oprion too. Added test to show influence of DistanceToEntryPoint on calculations.

Related to Issue [MWDAM-1361]

Added DistanceToEntryPoint to Location (class and xsd), implemented it in the WtiPipingSellmeijerRevisedKernelWrapper. Added it to the Interface code (both FillDamFromXmlInput and FillXmlInputFromDam) with tests.

Related to Issue [MWDAM-1361]

    • -0
    • +1
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForDamProjectData.cs
    • -0
    • +4
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -0
    • +2
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
    • -0
    • +1
    ./Deltares.DamEngine.Interface.Tests/FillXmlOutputFromDamTests.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
  1. … 1 more file in changeset.
Removed fixed detriment factor 1.05 for Uplift as this is no longer required.

Here I changed the external for DamMacroStability to use the trunk version 19.1.0 instead of the tagged 18.1 as only the new version holds the proper change. Then I adapted all test values for UpliftVan.

Related to Issue [MWDAM-1504]

    • -24
    • +24
    ./Deltares.DamEngine.IntegrationTests/IntegrationTests/MacroStabilityInwardsTests.cs
  1. … 1 more file in changeset.
Added comment and empty line due to review.

Related to Issue [MWDAM-1452]

    • -0
    • +9
    ./Deltares.DamEngine.Data/General/FailureMechanismParametersMStab.cs
Fix unit test

Related to Issue [MWDAM-1452]

In DamEngine Degree Of Consolidation is in fraction (and not in percentage)

Related to Issue [MWDAM-1452]

In DamEngine Degree Of Consolidation is in fraction (and not in percentage)

Related to Issue [MWDAM-1452]

Added write of Traffic Load degree of consolidation to DGSMStabDam XML file

Related to Issue [MWDAM-1452]

    • -0
    • +1
    ./Deltares.DamEngine.Data/General/FailureMechanismParametersMStab.cs
  1. … 1 more file in changeset.
Processed review comments.

Related to Issue [MWDAM-1282]

    • -0
    • +114
    ./Deltares.DamEngine.Data/General/StabilityEnumerations.cs
    • -0
    • +34
    ./Deltares.DamEngine.Data/General/SegmentEnumerations.cs
    • -0
    • +42
    ./Deltares.DamEngine.Data/General/LocationEnumerations.cs
    • -1
    • +6
    ./Deltares.DamEngine.Data/Deltares.DamEngine.Data.csproj
    • -0
    • +53
    ./Deltares.DamEngine.Data/General/ProjectEnumerations.cs
    • -31
    • +0
    ./Deltares.DamEngine.Data/General/DamFailureMechanismeCalculationSpecification.cs
    • -0
    • +84
    ./Deltares.DamEngine.Data/General/PlLineEnumerations.cs
    • -82
    • +1
    ./Deltares.DamEngine.Data/General/MStabParameters.cs
    • -68
    • +0
    ./Deltares.DamEngine.Data/General/DAMEnumerations.cs
    • -0
    • +1
    ./Deltares.DamEngine.Calculators/Deltares.DamEngine.Calculators.csproj
    • -0
    • +34
    ./Deltares.DamEngine.Data/General/PipingEnumerations.cs
    • -0
    • +32
    ./Deltares.DamEngine.Calculators/DikesOperational/OperationalEnumerations.cs
Add TrafficLoadDegreeOfConsolidation property to:

- XSD

- Engine datamodel

- XML serialization

Related to Issue [MWDAM-1416]

    • -0
    • +4
    ./Deltares.DamEngine.Interface/FillDamFromXmlInput.cs
    • -0
    • +16
    ./Deltares.DamEngine.Data/General/StabilityOptions.cs
    • -4
    • +5
    ./Deltares.DamEngine.TestHelpers/Factories/FactoryForDamProjectData.cs
    • -0
    • +5
    ./Deltares.DamEngine.Interface/FillXmlInputFromDam.cs
    • too large
    ./Deltares.DamEngine.Io/DamInput.cs
  1. … 1 more file in changeset.