internal Initial_Conditions(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "Initial_Matrix_Potential":
              _initial_Matrix_Potential = new Initial_Matrix_Potential(sub);
              break;
            case "Initial_Water_Content":
              _initial_Water_Content = new Initial_Matrix_Potential(sub);
              break;
            case "Initial_Soil_Temperature":
              _initial_Soil_Temperature = new Initial_Matrix_Potential(sub);
              break;
            case "Initial_Concentration":
              _initial_Concentration = new InitialMass(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
Example #2
0
        internal Unsatzone(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "UZSoilProfiles":
              _uZSoilProfiles = new UZSoilProfiles(sub);
              break;
            case "TwoLayerUZSoilProperties":
              _twoLayerUZSoilProperties = new TwoLayerUZSoilProperties(sub);
              break;
            case "ETSurfaceDepth":
              _eTSurfaceDepth = new Topography(sub);
              break;
            case "Macropore_Transfer_Coeff":
              _macropore_Transfer_Coeff = new InitialMass(sub);
              break;
            case "Decay_Processes":
              _decay_Processes = new InitialMass(sub);
              break;
            case "Sorption_Processes":
              _sorption_Processes = new InitialMass(sub);
              break;
            case "UZGroundWaterDepthList":
              _uZGroundWaterDepthList = new UZGroundWaterDepthList(sub);
              break;
            case "Initial_Conditions":
              _initial_Conditions = new Initial_Conditions(sub);
              break;
            case "SpecifiedClassification":
              _specifiedClassification = new Topography(sub);
              break;
            case "PartialAutomatic":
              _partialAutomatic = new Topography(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
Example #3
0
        internal Layer_2(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "LowerLevel":
              _lowerLevel = new Bathymetry(sub);
              break;
            case "InitPotHead":
              _initPotHead = new Bathymetry(sub);
              break;
            case "InitialSoilTemperature":
              _initialSoilTemperature = new Bathymetry(sub);
              break;
            case "OuterBoundary":
              _outerBoundary = new OuterBoundary(sub);
              break;
            case "HydrHeadUsedForAirFlow":
              _hydrHeadUsedForAirFlow = new Topography(sub);
              break;
            case "WettingThreshold":
              _wettingThreshold = new Topography(sub);
              break;
            case "InternalBoundary":
              _internalBoundary = new InternalBoundary1(sub);
              break;
            case "Initial_Concentration":
              _initial_Concentration = new InitialMass(sub);
              break;
            case "Initial_Immobile_Concentration":
              _initial_Immobile_Concentration = new InitialMass(sub);
              break;
              default:
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }
Example #4
0
        internal Overland(PFSSection Section)
        {
            _pfsHandle = Section;

              for (int i = 1; i <= Section.GetSectionsNo(); i++)
              {
            PFSSection sub = Section.GetSection(i);
            switch (sub.Name)
            {
            case "Manning":
              _manning = new Topography(sub);
              break;
            case "DetentionStorage":
              _detentionStorage = new Topography(sub);
              break;
            case "InitialWaterDepth":
              _initialWaterDepth = new Topography(sub);
              break;
            case "LeakageCoeff":
              _leakageCoeff = new Topography(sub);
              break;
            case "SeparatedFlowAreas":
              _separatedFlowAreas = new Topography(sub);
              break;
            case "InitialMass":
              _initialMass = new InitialMass(sub);
              break;
            case "Decay_Processes":
              _decay_Processes = new InitialMass(sub);
              break;
              default:
            if (sub.Name.Substring(0,6).Equals("Disper"))
            {
              _dispersionCoeff_Xs.Add(new Topography(sub));
              break;
            }
            _unMappedSections.Add(sub.Name);
              break;
            }
              }
        }