Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.KernelWrapper/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraints.cs =================================================================== diff -u -rcb8cfeedd559f70eb8931ed09d869ecc9459d8b7 -r68a64d20c6cc528ca79e5173cfcc1600c9d2147f --- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.KernelWrapper/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraints.cs (.../UpliftVanSlipPlaneConstraints.cs) (revision cb8cfeedd559f70eb8931ed09d869ecc9459d8b7) +++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.KernelWrapper/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraints.cs (.../UpliftVanSlipPlaneConstraints.cs) (revision 68a64d20c6cc528ca79e5173cfcc1600c9d2147f) @@ -64,9 +64,6 @@ ZoneBoundaryRight = zoneBoundaryRight; SlipPlaneMinimumDepth = slipPlaneMinimumDepth; SlipPlaneMinimumLength = slipPlaneMinimumLength; - AllowLeftToRight = true; - AllowRightToLeft = false; - AllowSwapLeftRight = false; } /// @@ -97,20 +94,5 @@ /// [m] /// public double SlipPlaneMinimumLength { get; } - - /// - /// Gets whether the slip plane constraints are allowed from left to right. - /// - public bool AllowLeftToRight { get; } - - /// - /// Gets whether the slip plane constraints are allowed from right to left. - /// - public bool AllowRightToLeft { get; } - - /// - /// Gets whether the slip plane constraints are to be swapped. - /// - public bool AllowSwapLeftRight { get; } } } \ No newline at end of file Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.KernelWrapper/Creators/Input/SlipPlaneConstraintsCreator.cs =================================================================== diff -u -r3544d2d7c0b9ef0b6286f068cdb73b2ef2f5337c -r68a64d20c6cc528ca79e5173cfcc1600c9d2147f --- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.KernelWrapper/Creators/Input/SlipPlaneConstraintsCreator.cs (.../SlipPlaneConstraintsCreator.cs) (revision 3544d2d7c0b9ef0b6286f068cdb73b2ef2f5337c) +++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.KernelWrapper/Creators/Input/SlipPlaneConstraintsCreator.cs (.../SlipPlaneConstraintsCreator.cs) (revision 68a64d20c6cc528ca79e5173cfcc1600c9d2147f) @@ -50,10 +50,7 @@ SlipPlaneMinDepth = input.SlipPlaneMinimumDepth, SlipPlaneMinLength = input.SlipPlaneMinimumLength, XLeftMin = input.ZoneBoundaryLeft, - XLeftMax = input.ZoneBoundaryRight, - AllowLeftToRight = input.AllowLeftToRight, - AllowRightToLeft = input.AllowRightToLeft, - AllowSwapLeftRight = input.AllowSwapLeftRight + XLeftMax = input.ZoneBoundaryRight }; } } Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraintsTest.cs =================================================================== diff -u -r3544d2d7c0b9ef0b6286f068cdb73b2ef2f5337c -r68a64d20c6cc528ca79e5173cfcc1600c9d2147f --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraintsTest.cs (.../UpliftVanSlipPlaneConstraintsTest.cs) (revision 3544d2d7c0b9ef0b6286f068cdb73b2ef2f5337c) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Calculators/UpliftVan/Input/UpliftVanSlipPlaneConstraintsTest.cs (.../UpliftVanSlipPlaneConstraintsTest.cs) (revision 68a64d20c6cc528ca79e5173cfcc1600c9d2147f) @@ -45,9 +45,6 @@ Assert.AreEqual(slipPlaneMinimumDepth, slipPlaneConstraints.SlipPlaneMinimumDepth); Assert.IsNaN(slipPlaneConstraints.ZoneBoundaryLeft); Assert.IsNaN(slipPlaneConstraints.ZoneBoundaryRight); - Assert.IsTrue(slipPlaneConstraints.AllowLeftToRight); - Assert.IsFalse(slipPlaneConstraints.AllowRightToLeft); - Assert.IsFalse(slipPlaneConstraints.AllowSwapLeftRight); } [Test] @@ -70,9 +67,6 @@ Assert.AreEqual(zoneBoundaryRight, slipPlaneConstraints.ZoneBoundaryRight); Assert.AreEqual(slipPlaneMinimumDepth, slipPlaneConstraints.SlipPlaneMinimumDepth); Assert.AreEqual(slipPlaneMinimumLength, slipPlaneConstraints.SlipPlaneMinimumLength); - Assert.IsTrue(slipPlaneConstraints.AllowLeftToRight); - Assert.IsFalse(slipPlaneConstraints.AllowRightToLeft); - Assert.IsFalse(slipPlaneConstraints.AllowSwapLeftRight); } } } \ No newline at end of file Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Creators/Input/SlipPlaneConstraintsCreatorTest.cs =================================================================== diff -u -re87491491e81dbf49d63fbd422e1d1154c1a847d -r68a64d20c6cc528ca79e5173cfcc1600c9d2147f --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Creators/Input/SlipPlaneConstraintsCreatorTest.cs (.../SlipPlaneConstraintsCreatorTest.cs) (revision e87491491e81dbf49d63fbd422e1d1154c1a847d) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.KernelWrapper.Test/Creators/Input/SlipPlaneConstraintsCreatorTest.cs (.../SlipPlaneConstraintsCreatorTest.cs) (revision 68a64d20c6cc528ca79e5173cfcc1600c9d2147f) @@ -56,11 +56,11 @@ Assert.AreEqual(upliftVanSlipPlaneConstraints.SlipPlaneMinimumLength, slipPlaneConstraints.SlipPlaneMinLength); Assert.AreEqual(upliftVanSlipPlaneConstraints.ZoneBoundaryLeft, slipPlaneConstraints.XLeftMin); Assert.AreEqual(upliftVanSlipPlaneConstraints.ZoneBoundaryRight, slipPlaneConstraints.XLeftMax); - Assert.IsTrue(slipPlaneConstraints.AllowLeftToRight); - Assert.IsFalse(slipPlaneConstraints.AllowRightToLeft); - Assert.IsFalse(slipPlaneConstraints.AllowSwapLeftRight); - Assert.IsNaN(slipPlaneConstraints.XRightMin); - Assert.IsNaN(slipPlaneConstraints.XRightMax); + Assert.IsTrue(slipPlaneConstraints.AllowLeftToRight); // Irrelevant + Assert.IsTrue(slipPlaneConstraints.AllowRightToLeft); // Irrelevant + Assert.IsTrue(slipPlaneConstraints.AllowSwapLeftRight); // Irrelevant + Assert.IsNaN(slipPlaneConstraints.XRightMin); // Irrelevant + Assert.IsNaN(slipPlaneConstraints.XRightMax); // Irrelevant } } } \ No newline at end of file