Index: Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/DistributionHelper.cs
===================================================================
diff -u -rc55a333c4b0d017ec75a2f8afb8d2f621361c668 -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/DistributionHelper.cs (.../DistributionHelper.cs) (revision c55a333c4b0d017ec75a2f8afb8d2f621361c668)
+++ Ringtoets/Common/src/Ringtoets.Common.IO/SoilProfile/DistributionHelper.cs (.../DistributionHelper.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -67,7 +67,7 @@
/// Thrown when
/// is null.
/// Thrown when the parameter is not a
- /// log-normal distribution.
+ /// log normal distribution.
public static void ValidateIsLogNormal(long? distributionType, string parameterName)
{
if (parameterName == null)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilLayerTransformer.cs
===================================================================
diff -u -r3ccf9060ac18a68862898c4c509a41b1bc2f3ea7 -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilLayerTransformer.cs (.../MacroStabilityInwardsSoilLayerTransformer.cs) (revision 3ccf9060ac18a68862898c4c509a41b1bc2f3ea7)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilLayerTransformer.cs (.../MacroStabilityInwardsSoilLayerTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -265,7 +265,7 @@
///
/// The soil layer to validate.
/// Thrown when any of the distributions of the
- /// stochastic parameters is not defined as lognormal or is shifted when it should not be.
+ /// stochastic parameters is not defined as log normal or is shifted when it should not be.
private static void ValidateStochasticParameters(SoilLayerBase soilLayer)
{
DistributionHelper.ValidateIsLogNormal(soilLayer.AbovePhreaticLevelDistributionType,
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilProfileTransformer.cs
===================================================================
diff -u -rd0d3ed3067ec66c52283bd4d1c44011b1a412492 -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilProfileTransformer.cs (.../MacroStabilityInwardsSoilProfileTransformer.cs) (revision d0d3ed3067ec66c52283bd4d1c44011b1a412492)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsSoilProfileTransformer.cs (.../MacroStabilityInwardsSoilProfileTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -74,8 +74,8 @@
///
/// The soil profile to use in the transformation.
/// A based on the given data.
- /// Thrown when transformation would not result
- /// in a valid transformed instance.
+ /// Thrown when transformation would cannot be
+ /// transformed in a .
private static MacroStabilityInwardsSoilProfile1D Transform(SoilProfile1D soilProfile)
{
try
@@ -98,8 +98,8 @@
///
/// The soil profile to use in the transformation.
/// A based on the given data.
- /// Thrown when transformation would not result
- /// in a valid transformed instance.
+ /// Thrown when transformation cannot be
+ /// transformed in a .
private static MacroStabilityInwardsSoilProfile2D Transform(SoilProfile2D soilProfile)
{
try
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilModelTransformer.cs
===================================================================
diff -u -r6b60edb4d7f04f83c74089d70a72c4f79ed413dd -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilModelTransformer.cs (.../MacroStabilityInwardsStochasticSoilModelTransformer.cs) (revision 6b60edb4d7f04f83c74089d70a72c4f79ed413dd)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilModelTransformer.cs (.../MacroStabilityInwardsStochasticSoilModelTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -119,8 +119,9 @@
/// to filter.
/// The name of the soil model.
/// A collection of unique .
- /// Thrown when a
- /// is invalid.
+ /// Thrown when summing the probabilities of
+ /// with the same
+ /// results in an invalid probability.
private static IEnumerable GetUniqueStochasticSoilProfiles(
IEnumerable stochasticSoilProfiles,
string soilModelName)
Index: Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformer.cs
===================================================================
diff -u -r30baf70ea42def18e66d1ec3c71aa0e54a89229a -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformer.cs (.../MacroStabilityInwardsStochasticSoilProfileTransformer.cs) (revision 30baf70ea42def18e66d1ec3c71aa0e54a89229a)
+++ Ringtoets/MacroStabilityInwards/src/Ringtoets.MacroStabilityInwards.IO/SoilProfiles/MacroStabilityInwardsStochasticSoilProfileTransformer.cs (.../MacroStabilityInwardsStochasticSoilProfileTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -41,8 +41,8 @@
/// The transformed soil profile.
/// A new based on the given data.
/// Thrown when any parameter is null.
- /// Thrown when
- /// could not be transformed.
+ /// Thrown when transforming a
+ /// failed due to an invalid probability.
public static MacroStabilityInwardsStochasticSoilProfile Transform(StochasticSoilProfile stochasticSoilProfile,
IMacroStabilityInwardsSoilProfile soilProfile)
{
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingSoilLayerTransformer.cs
===================================================================
diff -u -r69d647795daacbf48e17d0cf3a02a21865ab4ae6 -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingSoilLayerTransformer.cs (.../PipingSoilLayerTransformer.cs) (revision 69d647795daacbf48e17d0cf3a02a21865ab4ae6)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingSoilLayerTransformer.cs (.../PipingSoilLayerTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -66,6 +66,16 @@
return pipingSoilLayer;
}
+ ///
+ /// Transforms the generic into a .
+ ///
+ /// The soil layer to use in the transformation.
+ /// The 1D intersection of the profile.
+ /// The bottom of the soil layer.
+ /// A new based on the given data.
+ /// Thrown when is null.
+ /// Thrown when transformation would not result
+ /// in a valid transformed instance.
public static IEnumerable Transform(SoilLayer2D soilLayer, double atX, out double bottom)
{
if (soilLayer == null)
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilModelTransformer.cs
===================================================================
diff -u -r6b60edb4d7f04f83c74089d70a72c4f79ed413dd -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilModelTransformer.cs (.../PipingStochasticSoilModelTransformer.cs) (revision 6b60edb4d7f04f83c74089d70a72c4f79ed413dd)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilModelTransformer.cs (.../PipingStochasticSoilModelTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -114,8 +114,9 @@
/// to filter.
/// The name of the soil model.
/// A collection of unique .
- /// Thrown when a
- /// is invalid.
+ /// Thrown when summing the probabilities of
+ /// with the same
+ /// results in an invalid probability.
private static IEnumerable GetUniqueStochasticSoilProfiles(
IEnumerable stochasticSoilProfiles,
string soilModelName)
Index: Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilProfileTransformer.cs
===================================================================
diff -u -r30baf70ea42def18e66d1ec3c71aa0e54a89229a -rbe51145e1b013ea9e1353a6b8618bdc6fd855ff8
--- Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilProfileTransformer.cs (.../PipingStochasticSoilProfileTransformer.cs) (revision 30baf70ea42def18e66d1ec3c71aa0e54a89229a)
+++ Ringtoets/Piping/src/Ringtoets.Piping.IO/SoilProfiles/PipingStochasticSoilProfileTransformer.cs (.../PipingStochasticSoilProfileTransformer.cs) (revision be51145e1b013ea9e1353a6b8618bdc6fd855ff8)
@@ -39,8 +39,8 @@
/// The transformed piping soil profile.
/// A new based on the given data.
/// Thrown when any parameter is null.
- /// Thrown when
- /// could not be transformed.
+ /// Thrown when transforming a
+ /// failed due to an invalid probability.
public static PipingStochasticSoilProfile Transform(StochasticSoilProfile stochasticSoilProfile, PipingSoilProfile soilProfile)
{
if (stochasticSoilProfile == null)