Index: src/Deltares.DSoilModel.Data/DSoilModelProject.cs
===================================================================
diff -u -r966 -r971
--- src/Deltares.DSoilModel.Data/DSoilModelProject.cs (.../DSoilModelProject.cs) (revision 966)
+++ src/Deltares.DSoilModel.Data/DSoilModelProject.cs (.../DSoilModelProject.cs) (revision 971)
@@ -511,13 +511,24 @@
///
/// Checks the version information in the file.
+ /// SoilVersion up to 1003 is supported
///
/// The filename.
///
///
private void CheckVersionInfo(string filename)
{
- const int highestSupportedSoilVersion = 1001;
+ // First implementation of code started with SoilVersion = 1001
+ // SoilVersion 1002 added:
+ // Parameter "SoilStrengthIncreaseExponent". This has been correctly implemented in DslGeoIo since SVN rev. 1176
+ // SoilVersion 1003 added:
+ // MatStrengthType option mstCalculatedSuDOV = 9 (is not implemented in Soil, but will be translated to
+ // soil.ShearStrengthModel = ShearStrengthModel.CuCalculated and soil.UsePop = true)
+ // Parameter "SoilPOPTop" (ignored, not present in Soil)
+ // Parameter "SoilPOPBottom" (ignored, not present in Soil)
+ // Parameter "SoilAdditionalFactorLEM" (ignored, not present in Soil)
+ const int highestSupportedSoilVersion = 1003;
+
const int highestSupportedGeometryVersion = 1000;
string[] fileLines = File.ReadAllLines(filename);