Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Data/GeneralMacroStabilityInwardsInput.cs
===================================================================
diff -u -r7bc1bc14adf1757b8604fb6b0b280bb8d48ee4ae -r5db2b344fe15c1560c39a8574a6b28811e39439e
--- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Data/GeneralMacroStabilityInwardsInput.cs (.../GeneralMacroStabilityInwardsInput.cs) (revision 7bc1bc14adf1757b8604fb6b0b280bb8d48ee4ae)
+++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.Data/GeneralMacroStabilityInwardsInput.cs (.../GeneralMacroStabilityInwardsInput.cs) (revision 5db2b344fe15c1560c39a8574a6b28811e39439e)
@@ -36,6 +36,7 @@
{
ModelFactor = 1.06;
WaterVolumetricWeight = 9.81;
+ B = 50.0;
}
///
@@ -47,5 +48,11 @@
/// Gets the volumetric weight of water.
///
public double WaterVolumetricWeight { get; }
+
+ ///
+ /// Gets the 'b' parameter used to factor in the 'length effect' when determining
+ /// the maximum tolerated probability of failure.
+ ///
+ public double B { get; }
}
}
\ No newline at end of file
Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.Data.Test/GeneralMacroStabilityInwardsInputTest.cs
===================================================================
diff -u -r7bc1bc14adf1757b8604fb6b0b280bb8d48ee4ae -r5db2b344fe15c1560c39a8574a6b28811e39439e
--- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.Data.Test/GeneralMacroStabilityInwardsInputTest.cs (.../GeneralMacroStabilityInwardsInputTest.cs) (revision 7bc1bc14adf1757b8604fb6b0b280bb8d48ee4ae)
+++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.Data.Test/GeneralMacroStabilityInwardsInputTest.cs (.../GeneralMacroStabilityInwardsInputTest.cs) (revision 5db2b344fe15c1560c39a8574a6b28811e39439e)
@@ -37,6 +37,7 @@
Assert.IsInstanceOf(inputParameters);
Assert.AreEqual(1.06, inputParameters.ModelFactor);
Assert.AreEqual(9.81, inputParameters.WaterVolumetricWeight);
+ Assert.AreEqual(50.0, inputParameters.B);
}
}
}
\ No newline at end of file
Index: Riskeer/Piping/src/Riskeer.Piping.Data/GeneralPipingInput.cs
===================================================================
diff -u -r2c8489db3f5466761b8d3e2a79989e031a3a21ae -r5db2b344fe15c1560c39a8574a6b28811e39439e
--- Riskeer/Piping/src/Riskeer.Piping.Data/GeneralPipingInput.cs (.../GeneralPipingInput.cs) (revision 2c8489db3f5466761b8d3e2a79989e031a3a21ae)
+++ Riskeer/Piping/src/Riskeer.Piping.Data/GeneralPipingInput.cs (.../GeneralPipingInput.cs) (revision 5db2b344fe15c1560c39a8574a6b28811e39439e)
@@ -61,6 +61,7 @@
Gravity = 9.81;
MeanDiameter70 = 2.08e-4;
SellmeijerReductionFactor = 0.3;
+ B = 300.0;
}
#region Heave specific parameters
@@ -171,5 +172,15 @@
public double SellmeijerReductionFactor { get; }
#endregion
+
+ #region Length Effect parameters
+
+ ///
+ /// Gets the 'b' parameter used to factor in the 'length effect' when determining
+ /// the maximum tolerated probability of failure.
+ ///
+ public double B { get; }
+
+ #endregion
}
}
\ No newline at end of file
Index: Riskeer/Piping/test/Riskeer.Piping.Data.Test/GeneralPipingInputTest.cs
===================================================================
diff -u -r2c8489db3f5466761b8d3e2a79989e031a3a21ae -r5db2b344fe15c1560c39a8574a6b28811e39439e
--- Riskeer/Piping/test/Riskeer.Piping.Data.Test/GeneralPipingInputTest.cs (.../GeneralPipingInputTest.cs) (revision 2c8489db3f5466761b8d3e2a79989e031a3a21ae)
+++ Riskeer/Piping/test/Riskeer.Piping.Data.Test/GeneralPipingInputTest.cs (.../GeneralPipingInputTest.cs) (revision 5db2b344fe15c1560c39a8574a6b28811e39439e)
@@ -72,6 +72,7 @@
Assert.AreEqual(9.81, inputParameters.Gravity);
Assert.AreEqual(2.08e-4, inputParameters.MeanDiameter70);
Assert.AreEqual(0.3, inputParameters.SellmeijerReductionFactor);
+ Assert.AreEqual(300.0, inputParameters.B);
}
[Test]