Beispiel #1
0
        internal Drainage(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "Level":
                    _level = new Bathymetry(sub);
                    break;

                case "TimeConstant":
                    _timeConstant = new Topography(sub);
                    break;

                case "DrainCode":
                    _drainCode = new Topography(sub);
                    break;

                case "DistributedOptionCode":
                    _distributedOptionCode = new Topography(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Beispiel #2
0
    internal Drainage(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "Level":
          _level = new Bathymetry(sub);
          break;
        case "TimeConstant":
          _timeConstant = new Topography(sub);
          break;
        case "DrainCode":
          _drainCode = new Topography(sub);
          break;
        case "DistributedOptionCode":
          _distributedOptionCode = new Topography(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #3
0
        internal LandUse(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "VEGETATION":
                    _vEGETATION = new VEGETATION(sub);
                    break;

                case "CommandAreas":
                    _commandAreas = new CommandAreas(sub);
                    break;

                case "Demands":
                    _demands = new Demands(sub);
                    break;

                case "Priorities":
                    _priorities = new Priorities(sub);
                    break;

                case "PavedRunoffCoefficient":
                    _pavedRunoffCoefficient = new Topography(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
        internal InternalBoundaryProp(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "TIME_SERIES_FILE":
                    _tIME_SERIES_FILE = new DFS_2D_DATA_FILE(sub);
                    break;

                case "DFS_2D_DATA_FILE":
                    _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
                    break;

                case "LeakCoef":
                    _leakCoef = new Topography(sub);
                    break;

                case "Conductance":
                    _conductance = new Topography(sub);
                    break;

                case "RiverBottomElevation":
                    _riverBottomElevation = new Bathymetry(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
    internal InternalBoundaryProp(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "TIME_SERIES_FILE":
          _tIME_SERIES_FILE = new DFS_2D_DATA_FILE(sub);
          break;
        case "DFS_2D_DATA_FILE":
          _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
          break;
        case "LeakCoef":
          _leakCoef = new Topography(sub);
          break;
        case "Conductance":
          _conductance = new Topography(sub);
          break;
        case "RiverBottomElevation":
          _riverBottomElevation = new Bathymetry(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #6
0
    internal LandUse(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "VEGETATION":
          _vEGETATION = new VEGETATION(sub);
          break;
        case "CommandAreas":
          _commandAreas = new CommandAreas(sub);
          break;
        case "Demands":
          _demands = new Demands(sub);
          break;
        case "Priorities":
          _priorities = new Priorities(sub);
          break;
        case "PavedRunoffCoefficient":
          _pavedRunoffCoefficient = new Topography(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #7
0
        internal SaturatedZone(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "GeoUnitsSZProperties":
                    _geoUnitsSZProperties = new GeoUnitsSZProperties(sub);
                    break;

                case "GeoLayersSZ":
                    _geoLayersSZ = new GeoLayersSZ(sub);
                    break;

                case "GeoLensesSZ":
                    _geoLensesSZ = new GeoLensesSZ(sub);
                    break;

                case "SatWQLayers":
                    _satWQLayers = new SatWQLayers(sub);
                    break;

                case "CompLayersSZ":
                    _compLayersSZ = new CompLayersSZ(sub);
                    break;

                case "CompLayersGeoSZ":
                    _compLayersGeoSZ = new CompLayersGeoSZ(sub);
                    break;

                case "Drainage":
                    _drainage = new Drainage(sub);
                    break;

                case "Drainage_Modflow":
                    _drainage_Modflow = new Background(sub);
                    break;

                case "Well":
                    _well = new RiverMF(sub);
                    break;

                case "HeadElevationUsedForAirFlow":
                    _headElevationUsedForAirFlow = new Topography(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Beispiel #8
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;
                }
            }
        }
Beispiel #9
0
    internal Climate(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "PrecipitationRate":
          _precipitationRate = new PrecipitationRate(sub);
          break;
        case "PrecipLapseRate":
          _precipLapseRate = new Topography(sub);
          break;
        case "POTEVAPTRANS":
          _pOTEVAPTRANS = new POTEVAPTRANS(sub);
          break;
        case "SWSolarRadiation":
          _sWSolarRadiation = new POTEVAPTRANS(sub);
          break;
        case "AirTemperature":
          _airTemperature = new PrecipitationRate(sub);
          break;
        case "TempLapseRate":
          _tempLapseRate = new Topography(sub);
          break;
        case "WetLapseRate":
          _wetLapseRate = new Topography(sub);
          break;
        case "SNOWMELTCONST":
          _sNOWMELTCONST = new SNOWMELTCONST(sub);
          break;
        case "NetRainfallFraction":
          _netRainfallFraction = new Topography(sub);
          break;
        case "InfiltrationFraction":
          _infiltrationFraction = new Topography(sub);
          break;
        case "RechargeFraction":
          _rechargeFraction = new Topography(sub);
          break;
        case "RechargeLayer":
          _rechargeLayer = new RechargeLayer(sub);
          break;
        case "PondingElevation":
          _pondingElevation = new RechargeLayer(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #10
0
        internal Layer_11(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 InternalBoundary(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;
                }
            }
        }
Beispiel #11
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;
                }
            }
        }
Beispiel #12
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;
        }
      }
    }
    internal SaturatedZone(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "GeoUnitsSZProperties":
          _geoUnitsSZProperties = new GeoUnitsSZProperties(sub);
          break;
        case "GeoLayersSZ":
          _geoLayersSZ = new GeoLayersSZ(sub);
          break;
        case "GeoLensesSZ":
          _geoLensesSZ = new GeoLensesSZ(sub);
          break;
        case "SatWQLayers":
          _satWQLayers = new SatWQLayers(sub);
          break;
        case "CompLayersSZ":
          _compLayersSZ = new CompLayersSZ(sub);
          break;
        case "CompLayersGeoSZ":
          _compLayersGeoSZ = new CompLayersGeoSZ(sub);
          break;
        case "Drainage":
          _drainage = new Drainage(sub);
          break;
        case "Drainage_Modflow":
          _drainage_Modflow = new Background(sub);
          break;
        case "Well":
          _well = new RiverMF(sub);
          break;
        case "HeadElevationUsedForAirFlow":
          _headElevationUsedForAirFlow = new Topography(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #14
0
        internal SNOWMELTCONST(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "ThreshMeltTemp":
                    _threshMeltTemp = new Topography(sub);
                    break;

                case "DegreeDayFactor":
                    _degreeDayFactor = new POTEVAPTRANS(sub);
                    break;

                case "RadMeltingCoeff":
                    _radMeltingCoeff = new Topography(sub);
                    break;

                case "MinSnowStorage":
                    _minSnowStorage = new Topography(sub);
                    break;

                case "MaxWetSnowFrac":
                    _maxWetSnowFrac = new Topography(sub);
                    break;

                case "InitialSnowStorage":
                    _initialSnowStorage = new Topography(sub);
                    break;

                case "InitialWetSnowFrac":
                    _initialWetSnowFrac = new Topography(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Beispiel #15
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;
        }
      }
    }
Beispiel #16
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;
        }
      }
    }
Beispiel #17
0
    internal River(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "FloodCodes":
          _floodCodes = new Topography(sub);
          break;
        case "Bathymetry":
          _bathymetry = new Bathymetry(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #18
0
    internal CommandArea(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "INDIRECT_APPLICATION_AREA":
          _iNDIRECT_APPLICATION_AREA = new Topography(sub);
          break;
        case "Sources":
          _sources = new Sources(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #19
0
        internal River(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "FloodCodes":
                    _floodCodes = new Topography(sub);
                    break;

                case "Bathymetry":
                    _bathymetry = new Bathymetry(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Beispiel #20
0
        internal CommandArea(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "INDIRECT_APPLICATION_AREA":
                    _iNDIRECT_APPLICATION_AREA = new Topography(sub);
                    break;

                case "Sources":
                    _sources = new Sources(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
    internal SNOWMELTCONST(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "ThreshMeltTemp":
          _threshMeltTemp = new Topography(sub);
          break;
        case "DegreeDayFactor":
          _degreeDayFactor = new POTEVAPTRANS(sub);
          break;
        case "RadMeltingCoeff":
          _radMeltingCoeff = new Topography(sub);
          break;
        case "MinSnowStorage":
          _minSnowStorage = new Topography(sub);
          break;
        case "MaxWetSnowFrac":
          _maxWetSnowFrac = new Topography(sub);
          break;
        case "InitialSnowStorage":
          _initialSnowStorage = new Topography(sub);
          break;
        case "InitialWetSnowFrac":
          _initialWetSnowFrac = new Topography(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #22
0
        internal Layer_1(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 "GeoUnit":
                    _geoUnit = new Topography(sub);
                    break;

                case "HorHydrCon":
                    _horHydrCon = new Topography(sub);
                    break;

                case "VerHydrCon":
                    _verHydrCon = new Topography(sub);
                    break;

                case "SpecificYield":
                    _specificYield = new Topography(sub);
                    break;

                case "StorageCoef":
                    _storageCoef = new Topography(sub);
                    break;

                case "Porosity":
                    _porosity = new Topography(sub);
                    break;

                case "MatrixPorosity":
                    _matrixPorosity = new Topography(sub);
                    break;

                case "BulkDensity":
                    _bulkDensity = new Topography(sub);
                    break;

                case "LHHDispCoeff":
                    _lHHDispCoeff = new Topography(sub);
                    break;

                case "THHDispCoeff":
                    _tHHDispCoeff = new Topography(sub);
                    break;

                case "TVHDispCoeff":
                    _tVHDispCoeff = new Topography(sub);
                    break;

                case "LVVDispCoeff":
                    _lVVDispCoeff = new Topography(sub);
                    break;

                case "THVDispCoeff":
                    _tHVDispCoeff = new Topography(sub);
                    break;

                case "HydrHeadUsedForAirFlow":
                    _hydrHeadUsedForAirFlow = new Topography(sub);
                    break;

                case "HorizontalAnisotropyRatio":
                    _horizontalAnisotropyRatio = new Topography(sub);
                    break;

                case "VanGenuchtenAlpha":
                    _vanGenuchtenAlpha = new Topography(sub);
                    break;

                case "VanGenuchtenBeta":
                    _vanGenuchtenBeta = new Topography(sub);
                    break;

                case "ResidualSaturation":
                    _residualSaturation = new Topography(sub);
                    break;

                case "BrooksCoreyRelativePermeabilityExponent":
                    _brooksCoreyRelativePermeabilityExponent = new Topography(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
    internal MIKESHE_FLOWMODEL(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "FlowModelDocVersion":
          _flowModelDocVersion = new FlowModelDocVersion(sub);
          break;
        case "ViewSettings":
          _viewSettings = new ViewSettings(sub);
          break;
        case "Overlays":
          _overlays = new Overlays(sub);
          break;
        case "SimSpec":
          _simSpec = new SimSpec(sub);
          break;
        case "ModelCompWQ":
          _modelCompWQ = new ModelCompWQ(sub);
          break;
        case "Species":
          _species = new Species(sub);
          break;
        case "Processes":
          _processes = new Processes(sub);
          break;
        case "Catchment":
          _catchment = new Catchment(sub);
          break;
        case "Subcatchments":
          _subcatchments = new Subcatchments(sub);
          break;
        case "Topography":
          _topography = new Topography(sub);
          break;
        case "Climate":
          _climate = new Climate(sub);
          break;
        case "LandUse":
          _landUse = new LandUse(sub);
          break;
        case "River":
          _river = new River(sub);
          break;
        case "RiverMF":
          _riverMF = new RiverMF(sub);
          break;
        case "Overland":
          _overland = new Overland(sub);
          break;
        case "OverlandSubcatchment":
          _overlandSubcatchment = new Subcatchments(sub);
          break;
        case "Unsatzone":
          _unsatzone = new Unsatzone(sub);
          break;
        case "SaturatedZone":
          _saturatedZone = new SaturatedZone(sub);
          break;
        case "SaturatedZoneSubCatchment":
          _saturatedZoneSubCatchment = new SaturatedZoneSubCatchment(sub);
          break;
        case "GroundwaterTable":
          _groundwaterTable = new Bathymetry(sub);
          break;
        case "Sources":
          _sources = new Sources1(sub);
          break;
        case "StoringOfResults":
          _storingOfResults = new StoringOfResults(sub);
          break;
        case "OutputModflow":
          _outputModflow = new OutputModflow(sub);
          break;
        case "ExtraParams":
          _extraParams = new ExtraParams(sub);
          break;
        case "ExecuteEngineFlagsPfs":
          _executeEngineFlagsPfs = new ExecuteEngineFlagsPfs(sub);
          break;
        case "Result":
          _result = new Result(sub);
          break;
        case "Overview":
          _overview = new STRESSPERIOD_PROPPAGE(sub);
          break;
        case "GeoScene3D":
          _geoScene3D = new GeoScene3D(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #24
0
        internal Climate(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "PrecipitationRate":
                    _precipitationRate = new PrecipitationRate(sub);
                    break;

                case "PrecipLapseRate":
                    _precipLapseRate = new Topography(sub);
                    break;

                case "POTEVAPTRANS":
                    _pOTEVAPTRANS = new POTEVAPTRANS(sub);
                    break;

                case "SWSolarRadiation":
                    _sWSolarRadiation = new POTEVAPTRANS(sub);
                    break;

                case "AirTemperature":
                    _airTemperature = new PrecipitationRate(sub);
                    break;

                case "TempLapseRate":
                    _tempLapseRate = new Topography(sub);
                    break;

                case "WetLapseRate":
                    _wetLapseRate = new Topography(sub);
                    break;

                case "SNOWMELTCONST":
                    _sNOWMELTCONST = new SNOWMELTCONST(sub);
                    break;

                case "NetRainfallFraction":
                    _netRainfallFraction = new Topography(sub);
                    break;

                case "InfiltrationFraction":
                    _infiltrationFraction = new Topography(sub);
                    break;

                case "RechargeFraction":
                    _rechargeFraction = new Topography(sub);
                    break;

                case "RechargeLayer":
                    _rechargeLayer = new RechargeLayer(sub);
                    break;

                case "PondingElevation":
                    _pondingElevation = new RechargeLayer(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
Beispiel #25
0
    internal Lense_1(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "HorBoundary":
          _horBoundary = new Topography(sub);
          break;
        case "UpperLevel":
          _upperLevel = new Bathymetry(sub);
          break;
        case "LowerLevel":
          _lowerLevel = new Bathymetry(sub);
          break;
        case "GeoUnit":
          _geoUnit = new Topography(sub);
          break;
        case "HorHydrCon":
          _horHydrCon = new Topography(sub);
          break;
        case "VerHydrCon":
          _verHydrCon = new Topography(sub);
          break;
        case "SpecificYield":
          _specificYield = new Topography(sub);
          break;
        case "StorageCoef":
          _storageCoef = new Topography(sub);
          break;
        case "HydrHeadUsedForAirFlow":
          _hydrHeadUsedForAirFlow = new Topography(sub);
          break;
        case "WettingThreshold":
          _wettingThreshold = new Topography(sub);
          break;
        case "HorizontalAnisotropyRatio":
          _horizontalAnisotropyRatio = new Topography(sub);
          break;
        case "VanGenuchtenAlpha":
          _vanGenuchtenAlpha = new Topography(sub);
          break;
        case "VanGenuchtenBeta":
          _vanGenuchtenBeta = new Topography(sub);
          break;
        case "ResidualSaturation":
          _residualSaturation = new Topography(sub);
          break;
        case "BrooksCoreyRelativePermeabilityExponent":
          _brooksCoreyRelativePermeabilityExponent = new Topography(sub);
          break;
        case "Porosity":
          _porosity = new Topography(sub);
          break;
        case "MatrixPorosity":
          _matrixPorosity = new Topography(sub);
          break;
        case "BulkDensity":
          _bulkDensity = new Topography(sub);
          break;
        case "LHHDispCoeff":
          _lHHDispCoeff = new Topography(sub);
          break;
        case "THHDispCoeff":
          _tHHDispCoeff = new Topography(sub);
          break;
        case "TVHDispCoeff":
          _tVHDispCoeff = new Topography(sub);
          break;
        case "LVVDispCoeff":
          _lVVDispCoeff = new Topography(sub);
          break;
        case "THVDispCoeff":
          _tHVDispCoeff = new Topography(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }
Beispiel #26
0
        internal MIKESHE_FLOWMODEL(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "FlowModelDocVersion":
                    _flowModelDocVersion = new FlowModelDocVersion(sub);
                    break;

                case "ViewSettings":
                    _viewSettings = new ViewSettings(sub);
                    break;

                case "Overlays":
                    _overlays = new Overlays(sub);
                    break;

                case "SimSpec":
                    _simSpec = new SimSpec(sub);
                    break;

                case "ModelCompWQ":
                    _modelCompWQ = new ModelCompWQ(sub);
                    break;

                case "Species":
                    _species = new Species(sub);
                    break;

                case "Processes":
                    _processes = new Processes(sub);
                    break;

                case "Catchment":
                    _catchment = new Catchment(sub);
                    break;

                case "Subcatchments":
                    _subcatchments = new Subcatchments(sub);
                    break;

                case "Topography":
                    _topography = new Topography(sub);
                    break;

                case "Climate":
                    _climate = new Climate(sub);
                    break;

                case "LandUse":
                    _landUse = new LandUse(sub);
                    break;

                case "River":
                    _river = new River(sub);
                    break;

                case "RiverMF":
                    _riverMF = new RiverMF(sub);
                    break;

                case "Overland":
                    _overland = new Overland(sub);
                    break;

                case "OverlandSubcatchment":
                    _overlandSubcatchment = new Subcatchments(sub);
                    break;

                case "Unsatzone":
                    _unsatzone = new Unsatzone(sub);
                    break;

                case "SaturatedZone":
                    _saturatedZone = new SaturatedZone(sub);
                    break;

                case "SaturatedZoneSubCatchment":
                    _saturatedZoneSubCatchment = new SaturatedZoneSubCatchment(sub);
                    break;

                case "GroundwaterTable":
                    _groundwaterTable = new Bathymetry(sub);
                    break;

                case "Sources":
                    _sources = new Sources1(sub);
                    break;

                case "StoringOfResults":
                    _storingOfResults = new StoringOfResults(sub);
                    break;

                case "OutputModflow":
                    _outputModflow = new OutputModflow(sub);
                    break;

                case "ExtraParams":
                    _extraParams = new ExtraParams(sub);
                    break;

                case "ExecuteEngineFlagsPfs":
                    _executeEngineFlagsPfs = new ExecuteEngineFlagsPfs(sub);
                    break;

                case "Result":
                    _result = new Result(sub);
                    break;

                case "Overview":
                    _overview = new STRESSPERIOD_PROPPAGE(sub);
                    break;

                case "GeoScene3D":
                    _geoScene3D = new GeoScene3D(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }