Index: DamEngine/trunk/src/Deltares.DamEngine.Data/General/Segment.cs =================================================================== diff -u -r4540 -r5960 --- DamEngine/trunk/src/Deltares.DamEngine.Data/General/Segment.cs (.../Segment.cs) (revision 4540) +++ DamEngine/trunk/src/Deltares.DamEngine.Data/General/Segment.cs (.../Segment.cs) (revision 5960) @@ -54,38 +54,6 @@ } /// - /// Gets the most probable profile1D. - /// - /// Type of the segment failure mechanism. - /// - public SoilProfile1D GetMostProbableProfile1D(SegmentFailureMechanismType? segmentFailureMechanismType) - { - SoilGeometryProbability mostProbableSoilGeometryProbability = GetMostProbableSoilGeometryProbability(segmentFailureMechanismType); - if (mostProbableSoilGeometryProbability != null && mostProbableSoilGeometryProbability.SoilProfileType == SoilProfileType.ProfileType1D) - { - return mostProbableSoilGeometryProbability?.SoilProfile1D; - } - - return null; - } - - /// - /// Gets the name of the most probable sti filename (name of MStab .sti file). - /// - /// Type of the segment failure mechanism. - /// - public string GetMostProbableProfile2DStiFileName(SegmentFailureMechanismType? segmentFailureMechanismType) - { - SoilGeometryProbability mostProbableSoilGeometryProbability = GetMostProbableSoilGeometryProbability(segmentFailureMechanismType); - if (mostProbableSoilGeometryProbability != null && mostProbableSoilGeometryProbability.SoilProfileType == SoilProfileType.ProfileTypeStiFile) - { - return mostProbableSoilGeometryProbability?.FullStiFileName; - } - - return null; - } - - /// /// Gets the most probable soil geometry probability. /// /// Type of the segment failure mechanism. @@ -127,7 +95,7 @@ } else { - sb.Append($"(2D) {spp.StiFileName} ({spp.Probability}%) "); + sb.Append($"(2D) {spp.SoilProfile2D} ({spp.Probability}%) "); } //#Bka: should be adapted for WtiStability where 2D profiles are used. }