Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/SubCalculator/UpliftVanCalculator.cs =================================================================== diff -u -r0e2f13c8bf23fe5b9750e7453e39840e53b92291 -r34ad98587d7f114c9f7c2233199b34fc1ef6dc76 --- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/SubCalculator/UpliftVanCalculator.cs (.../UpliftVanCalculator.cs) (revision 0e2f13c8bf23fe5b9750e7453e39840e53b92291) +++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.KernelWrapper/SubCalculator/UpliftVanCalculator.cs (.../UpliftVanCalculator.cs) (revision 34ad98587d7f114c9f7c2233199b34fc1ef6dc76) @@ -47,11 +47,7 @@ ModelOption = ModelOptions.UpliftVan, SearchAlgorithm = SearchAlgorithm.Grid, GridOrientation = GridOrientation.Inwards, - SlipPlaneConstraints = new SlipPlaneConstraints - { - AutomaticForbiddenZones = true, - CreateZones = true - }, + SlipPlaneConstraints = new SlipPlaneConstraints(), GeneticAlgorithmOptions = new GeneticAlgorithmOptions { EliteCount = 2, @@ -137,6 +133,38 @@ } } + public bool CreateZones + { + set + { + calculatorInput.SlipPlaneConstraints.CreateZones = value; + } + } + + public bool AutomaticForbidenZones + { + set + { + calculatorInput.SlipPlaneConstraints.AutomaticForbiddenZones = value; + } + } + + public double SlipPlaneMinimumDepth + { + set + { + calculatorInput.SlipPlaneConstraints.SlipPlaneMinDepth = value; + } + } + + public double SlipPlaneMinimumLength + { + set + { + calculatorInput.SlipPlaneConstraints.SlipPlaneMinLength = value; + } + } + public void Calculate() { try