Beispiel #1
0
 /// <summary>
 /// Opens the necessary dfs-files and sets up the references to the properties
 /// </summary>
 /// <param name="fileNames"></param>
 private void Initialize3DSZ(string sz3dFile)
 {
     SZ3D = new DFS3(sz3dFile);
     if (SZ3D != null)
     {
         DeleteValue = SZ3D.DeleteValue;
         for (int i = 0; i < SZ3D.Items.Length; i++)
         {
             if (SZ3D.Items[i].Name.Equals(HeadElevationString, StringComparison.OrdinalIgnoreCase))
             {
                 _heads = new DataSetsFromDFS3(SZ3D, i + 1);
                 //Also create the phreatic heads;
                 _phreaticHead = new PhreaticPotential(_heads, _grid, SZ3D.DeleteValue);
             }
         }
     }
 }
Beispiel #2
0
 /// <summary>
 /// Opens the necessary dfs-files and sets up the references to the properties
 /// </summary>
 /// <param name="fileNames"></param>
 private void Initialize3DSZ(string sz3dFile)
 {
     SZ3D = new DFS3(sz3dFile);
     if (SZ3D != null)
     {
       DeleteValue = SZ3D.DeleteValue;
       for (int i = 0; i < SZ3D.Items.Length; i++)
       {
         if (SZ3D.Items[i].Name.Equals(HeadElevationString, StringComparison.OrdinalIgnoreCase))
         {
           _heads = new DataSetsFromDFS3(SZ3D, i + 1);
           //Also create the phreatic heads;
           _phreaticHead = new PhreaticPotential(_heads, _grid, SZ3D.DeleteValue);
         }
       }
     }
 }