Index: DamClients/DamUI/trunk/src/Dam/Data/Scenario.cs
===================================================================
diff -u -r875 -r1222
--- DamClients/DamUI/trunk/src/Dam/Data/Scenario.cs (.../Scenario.cs) (revision 875)
+++ DamClients/DamUI/trunk/src/Dam/Data/Scenario.cs (.../Scenario.cs) (revision 1222)
@@ -1110,7 +1110,7 @@
double? safetyFactor = null;
if (mstabResults != null)
{
- safetyFactor = mstabResults.Value.zone1.safetyFactor;
+ safetyFactor = mstabResults.Value.Zone1.SafetyFactor;
}
return safetyFactor;
}
Index: DamClients/DamUI/trunk/src/Dam/Data/MStabResults.cs
===================================================================
diff -u -r1180 -r1222
--- DamClients/DamUI/trunk/src/Dam/Data/MStabResults.cs (.../MStabResults.cs) (revision 1180)
+++ DamClients/DamUI/trunk/src/Dam/Data/MStabResults.cs (.../MStabResults.cs) (revision 1222)
@@ -19,44 +19,101 @@
// Stichting Deltares and remain full property of Stichting Deltares at all times.
// All rights reserved.
-using Deltares.Geotechnics.SurfaceLines;
-
namespace Deltares.Dam.Data
{
+ ///
+ /// Stability results
+ ///
public struct MStabResults
{
- public MStabResultsSingleZone zone1;
- public MStabResultsSingleZone? zone2;
+ ///
+ /// The zone1 result
+ ///
+ public MStabResultsSingleZone Zone1;
+
+ ///
+ /// The zone2 result
+ ///
+ public MStabResultsSingleZone? Zone2;
+
+ ///
+ /// The calculation name
+ ///
public string CalculationName;
+
+ ///
+ /// The calculation sub directory
+ ///
public string CalculationSubDir;
+
+ ///
+ /// The iteration number
+ ///
public int IterationNumber;
+
+ ///
+ /// The stability model type
+ ///
public MStabModelType MStabModelType;
+ ///
+ /// Initializes instance of MStabResults.
+ ///
public void Init()
{
- zone1 = new MStabResultsSingleZone();
- zone1.Init();
- zone2 = new MStabResultsSingleZone();
- zone2.Value.Init();
+ Zone1 = new MStabResultsSingleZone();
+ Zone1.Init();
+ Zone2 = new MStabResultsSingleZone();
+ Zone2.Value.Init();
}
}
+ ///
+ /// Stability results for a zone
+ ///
public struct MStabResultsSingleZone
{
- public double safetyFactor;
- public double circleSurfacePointLeftXCoordinate;
- public double circleSurfacePointRightXCoordinate;
- public double entryPointXCoordinate;
- public double exitPointXCoordinate;
- public double beta;
+ ///
+ /// The safety factor
+ ///
+ public double SafetyFactor;
+
+ ///
+ /// The circle surface point left x coordinate
+ ///
+ public double CircleSurfacePointLeftXCoordinate;
+
+ ///
+ /// The circle surface point right x coordinate
+ ///
+ public double CircleSurfacePointRightXCoordinate;
+
+ ///
+ /// The entry point x coordinate
+ ///
+ public double EntryPointXCoordinate;
+
+ ///
+ /// The exit point x coordinate
+ ///
+ public double ExitPointXCoordinate;
+
+ ///
+ /// The beta
+ ///
+ public double Beta;
+
+ ///
+ /// Initializes instance of MStabResultsSingleZone.
+ ///
public void Init()
{
- safetyFactor = 0.0;
- circleSurfacePointLeftXCoordinate = 0.0;
- circleSurfacePointRightXCoordinate = 0.0;
- entryPointXCoordinate = 0.0;
- exitPointXCoordinate = 0.0;
- beta = 0.0;
+ SafetyFactor = 0.0;
+ CircleSurfacePointLeftXCoordinate = 0.0;
+ CircleSurfacePointRightXCoordinate = 0.0;
+ EntryPointXCoordinate = 0.0;
+ ExitPointXCoordinate = 0.0;
+ Beta = 0.0;
}
}
}