Deltares.DamEngine.Calculators

Checkout Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improved handling exceptions in Design calculator

Reverted firs solution in revision(s) 1327 from DamEngine/trunk/src:

Related to Issue [MWDAM-1208]

    • -56
    • +68
    ./DikesDesign/DesignCalculator.cs
handle exceptions in Prepare methods of KernelWrappers

Related to Issue [MWDAM-1208]

Make use of sendMessageDelegate more robust

Related to Issue [MWDAM-1208]

    • -19
    • +22
    ./DikesAssessmentRegional/RegionalScenariosCalculation.cs
Cleaned Location.

Related to Issue [MWDAM-1111]

    • -2
    • +2
    ./DikesDesign/DesignCalculatorCombinedSlopeAndShoulderAdaption.cs
    • too large
    ./PlLinesCreator/PlLinesCreator.cs
    • -3
    • +3
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
  1. … 6 more files in changeset.
Handle errors a little nicer.

Related to Issue [MWDAM-1111]

    • -0
    • +7
    ./DikesAssessmentRegional/RegionalScenariosCalculation.cs
Added setting BaseFilename for stability jobs in order to be able to show image in UI.

Related to Issue [MWDAM-1111]

    • -3
    • +9
    ./DikesAssessmentRegional/RegionalScenariosCalculation.cs
Updated the test data. Added extra tests for more more scenarios. All tested scenarios work for single core. Still to test is scenario 2.

Related to Issue [MWDAM-1111]

    • -9
    • +11
    ./DikesAssessmentRegional/RegionalScenariosCalculation.cs
    • -9
    • +4
    ./KernelWrappers/Common/PlLinesHelper.cs
  1. … 6 more files in changeset.
Added license headers

Related to Issue [MWDAM-1153]

    • -1
    • +22
    ./PlLinesCreator/PlLinesCreatorException.cs
    • -1
    • +22
    ./Uplift/UpliftLocationAndResult.cs
    • -1
    • +22
    ./Uplift/UpliftLocationDeterminatorException.cs
  1. … 4 more files in changeset.
Fixed comment header

Related to Issue [MWDAM-1140]

Fixed unit test

Related to Issue [MWDAM-1178]

Related to Issue [MWDAM-1141]

    • -0
    • +4
    ./DikesDesign/DesignCalculatorSingle.cs
Fixed unit test

Related to Issue [MWDAM-1178]

Related to Issue [MWDAM-1141]

    • -0
    • +2
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
    • -0
    • +2
    ./DikesDesign/DesignCalculatorCombinedSlopeAndShoulderAdaption.cs
  1. … 1 more file in changeset.
Added extra test for scenarios 1, 3, 5, 6, 7, 8, 9, 10 and 11. To get any results I added temp code to PlLinesHelper (see ToDo). Also corrected small error in message in PlLinesCreator (wrong value was given).

Related to Issue [MWDAM-1111]

    • -0
    • +5
    ./KernelWrappers/Common/PlLinesHelper.cs
    • too large
    ./PlLinesCreator/PlLinesCreator.cs
  1. … 4 more files in changeset.
Changed implementation of BaseFileName in Inwards according to implementation for Outwards and Horizontal.

Related to Issue [MWDAM-1175]

  1. … 1 more file in changeset.
Fixed the issue by passing the correct model.

Related to Issue [MWDAM-1181]

Step 2: Implemented the ProjectFileName same way for all stability wrappers. Tested basefilename for all stability wrappers.

Related to Issue [MWDAM-1175]

  1. … 1 more file in changeset.
Added UpliftVan tests

Related to Issue [MWDAM-1178]

Related to Issue [MWDAM-1141]

  1. … 1 more file in changeset.
Cleanup code

Related to Issue [MWDAM-1178]

Related to Issue [MWDAM-1141]

    • -13
    • +11
    ./DikesDesign/DesignCalculatorShoulderPerPoint.cs
    • -5
    • +22
    ./DikesDesign/DesignCalculatorException.cs
Fixed UpliftVan Design calculation

Related to Issue [MWDAM-1178]

Related to Issue [MWDAM-1141]

Implemented Design Sellmeijer VNK

Related to Issue [MWDAM-1140]

  1. … 4 more files in changeset.
Step 1: Added ProjectFileName to StabilityOutputItem to solve the problem. Implemented it correctly in Stab Inwards. This now has to be made consistent for all kernel wrappers. Other files were trails to solve but that was not general. Will resolve this in step 2. This step 1 is done so we can release the engine for test in UI.

Related to Issue [MWDAM-1175]

  1. … 3 more files in changeset.
Fixed unit test

Related to Issue [MWDAM-1178]

    • -0
    • +3
    ./DikesDesign/DesignCalculatorCombinedSlopeAndShoulderAdaption.cs
  1. … 1 more file in changeset.
Fix unit test

Related to Issue [MWDAM-1141]

Fix unit test

Related to Issue [MWDAM-1141]

    • -1
    • +0
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
  1. … 2 more files in changeset.
Refactored

Related to Issue [MWDAM-1141]

  1. … 2 more files in changeset.
Implemented PerformDesignCalculationCombinedSlopeAdaptionAndShoulderAdaption()

Moved shared methods to new class DesignCalculatorUtils

Cleanup code

Related to Issue [MWDAM-1178]

    • -84
    • +11
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
    • -0
    • +115
    ./DikesDesign/DesignCalculatorUtils.cs
    • -2
    • +141
    ./DikesDesign/DesignCalculatorCombinedSlopeAndShoulderAdaption.cs
    • -0
    • +1
    ./Deltares.DamEngine.Calculators.csproj
Improved GetDesignStrategy() method

Related to Issue [MWDAM-1141]

    • -1
    • +1
    ./DikesDesign/DesignCalculatorCombinedSlopeAndShoulderAdaption.cs
Finished shoulder part of PerformDesignCalculationFirstSlopeAdaptionThenShoulderAdaption()

Added resource translations

Added (failing) test for OptimizedSlopeAndShoulderAdaption design method

Related to Issue [MWDAM-1141]

    • -84
    • +129
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
  1. … 1 more file in changeset.
Finished slope part of PerformDesignCalculationFirstSlopeAdaptionThenShoulderAdaption()

Added methods to SurfaceLine2Extensions, needed for Slope Design calculation

Related to Issue [MWDAM-1141]

    • -128
    • +95
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
  1. … 5 more files in changeset.
Implemented proper use of regional assessment scenario job settings throughout all wrappers, kernels and helpers to ensure correct pl-lines and results for test.

Single core now works fully for regional assessment.

Related to Issue [MWDAM-1111]

    • -1
    • +4
    ./KernelWrappers/Common/DamPipingHelper.cs
    • -5
    • +28
    ./KernelWrappers/Common/PlLinesHelper.cs
    • -140
    • +75
    ./DikesAssessmentRegional/RegionalScenariosCalculation.cs
    • -1
    • +2
    ./KernelWrappers/Common/UpliftHelper.cs
  1. … 7 more files in changeset.
Add parameters to IKernelWrapper interface methods

Refactored: better names

More work on PerformDesignCalculationFirstSlopeAdaptionThenShoulderAdaption()

Related to Issue [MWDAM-1141]

    • -64
    • +60
    ./DikesDesign/DesignCalculatorFirstSlopeAdaptionThenShoulderAdaption.cs
    • -1
    • +2
    ./DikesDesign/DesignCalculatorShoulderPerPoint.cs