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; } } }
internal WEL_CFG(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "WELLDATA": WELLDATA = new WELLDATA(sub); break; case "WELLFIELD": WELLFIELD = new WELLFIELD(sub); break; case "Foreground": Foreground = new Foreground(sub); break; case "Background": Background = new Foreground(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal CompControlParaModSZ(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "CompControlParaModLMG": _compControlParaModLMG = new CompControlParaModLMG(sub); break; case "CompControlParaModPCG2": _compControlParaModPCG2 = new CompControlParaModPCG2(sub); break; case "CompControlParaModPCG4": _compControlParaModPCG4 = new CompControlParaModPCG4(sub); break; case "CompControlParaModSIP": _compControlParaModSIP = new CompControlParaModSIP(sub); break; case "CompControlParaModSOR": _compControlParaModSOR = new CompControlParaModSOR(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal COMPUTATIONAL_ENGINE_CONTROL(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "RO_POSTPROCESS_LEVEL": RO_POSTPROCESS_LEVEL = new RO_POSTPROCESS_LEVEL(sub); break; case "HD_RUNTIME_LEVEL": HD_RUNTIME_LEVEL = new HD_RUNTIME_LEVEL(sub); break; case "EVALUATION_MATRIX": EVALUATION_MATRIX = new EVALUATION_MATRIX(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal MOUSE_Computation(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "MOUSE_Files": MOUSE_Files = new MOUSE_Files(sub); break; case "MOUSE_HD_parameters": MOUSE_HD_parameters = new MOUSE_HD_parameters(sub); break; case "MOUSE_RUNOFF_parameters": MOUSE_RUNOFF_parameters = new MOUSE_RUNOFF_parameters(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal TwoLayerUZSoilProperties(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: if (sub.Name.Substring(0, 6).Equals("UZSoil")) { _uZSoilProps.Add(new UZSoilProp(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal CALIBRATION_SPECIFICATION(PFSSection Section) { _pfsHandle = Section; MODEL_As = new List<MOUSE_Catchments>(); for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "GLOBAL_PARAMETERS": GLOBAL_PARAMETERS = new GLOBAL_PARAMETERS(sub); break; case "MEASUREMENTS": MEASUREMENTS = new Model_B(sub); break; default: if (sub.Name.Substring(0,6).Equals("MODEL_")) { MODEL_As.Add(new MOUSE_Catchments(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal Result(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "ResultDetailedTS": _resultDetailedTS = new STRESSPERIOD_PROPPAGE(sub); break; case "ResultViewer": _resultViewer = new ResultViewer(sub); break; case "ResultM11DetailedTS": _resultM11DetailedTS = new STRESSPERIOD_PROPPAGE(sub); break; case "RunStatistics": _runStatistics = new RunStatistics(sub); break; case "GeoScene3D": _geoScene3D = new GeoScene3D(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal UZSoilProfiles(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; case "UZSoilProfileProp": _uZSoilProfileProp = new UZSoilProfileProp(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal VegNo_1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "UserDefVegDevelopment": _userDefVegDevelopment = new UserDefVegDevelopment(sub); break; case "GrowthModVegDevelopment": _growthModVegDevelopment = new GrowthModVegDevelopment(sub); break; case "Irrigation": _irrigation = new Irrigation(sub); break; default: if (sub.Name.Substring(0,6).Equals("Stage_")) { _stage_1s.Add(new Stage_13(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
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 SaturatedZoneSubCatchment(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "SZShallowGWRoutingZones": _sZShallowGWRoutingZones = new Subcatchments(sub); break; case "SZDeepGWRoutingZones": _sZDeepGWRoutingZones = new Subcatchments(sub); break; case "Well": _well = new RiverMF(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal OverlayItem_1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "OverlayBMP": _overlayBMP = new OverlayBMP(sub); break; case "OverlayGrid": _overlayGrid = new OverlayGrid(sub); break; case "OverlayShape": _overlayShape = new OverlayShape(sub); break; case "OverlayRiver": _overlayRiver = new OverlayRiver(sub); break; case "OverlayWell": _overlayWell = new OverlayWell(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal ModelCompWQ(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "SimTitleWQ": _simTitleWQ = new SimTitle(sub); break; case "SimulationPeriodWQ": _simulationPeriodWQ = new SimulationPeriodWQ(sub); break; case "WQTSC": _wQTSC = new WQTSC(sub); break; case "ColloidControlPara": _colloidControlPara = new ColloidControlPara(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal MOUSE_T_Results(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "Nodes": Nodes = new Nodes(sub); break; case "Links": Links = new Links(sub); break; case "Emissions": Emissions = new Links(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal Overlays(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "Foreground": _foreground = new Foreground(sub); break; case "Background": _background = new Background(sub); break; case "Current_Layer": _current_Layer = new Current_Layer(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal Routing_Data(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "Elevation_Parameters": Elevation_Parameters = new Elevation_Parameters(sub); break; case "Discharge_Parameters": Discharge_Parameters = new Discharge_Parameters(sub); break; default: _unMappedSections.Add(sub.Name); break; } } Location = new Location(_pfsHandle.GetKeyword("Location", 1)); Attributes = new Attributes(_pfsHandle.GetKeyword("Attributes", 1)); }
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; } } }
internal VEG_PROP_FILES1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "VegNo_1": _vegNo_1 = new VegNo_11(sub); break; case "VegNo_2": _vegNo_2 = new VegNo_2(sub); break; case "VegNo_3": _vegNo_3 = new VegNo_3(sub); break; case "VegNo_4": _vegNo_4 = new VegNo_4(sub); break; case "VegNo_5": _vegNo_5 = new VegNo_5(sub); break; case "VegNo_6": _vegNo_6 = new VegNo_6(sub); break; case "VegNo_7": _vegNo_7 = new VegNo_7(sub); break; case "VegNo_8": _vegNo_8 = new VegNo_8(sub); break; case "VegNo_9": _vegNo_9 = new VegNo_9(sub); break; case "VegNo_10": _vegNo_10 = new VegNo_10(sub); break; case "VegNo_11": _vegNo_11 = new VegNo_111(sub); break; case "VegNo_12": _vegNo_12 = new VegNo_12(sub); break; case "VegNo_13": _vegNo_13 = new VegNo_13(sub); break; case "VegNo_14": _vegNo_14 = new VegNo_14(sub); break; case "VegNo_15": _vegNo_15 = new VegNo_15(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal OutputModflow(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "OutputDates": _outputDates = new OutputDates(sub); break; case "OutputTimesteps": _outputTimesteps = new OutputDates(sub); break; case "PackagesOutput": _packagesOutput = new PackagesOutput(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal PrecipitationRate(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "GLOBAL": _gLOBAL = new GLOBAL(sub); break; case "STATION_BASED": _sTATION_BASED = new STATION_BASED(sub); break; case "FULLY_DISTRIBUTED": _fULLY_DISTRIBUTED = new FULLY_DISTRIBUTED(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal Demands(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; case "Demand": _demand = new Demand(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal StoringOfResults(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DetailedTimeseriesOutput": _detailedTimeseriesOutput = new DetailedTimeseriesOutput(sub); break; case "DetailedM11TimeseriesOutput": _detailedM11TimeseriesOutput = new DetailedM11TimeseriesOutput(sub); break; case "GridSeriesOutput": _gridSeriesOutput = new GridSeriesOutput(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal CommandAreas(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: if (sub.Name.Substring(0,6).Equals("Comman")) { _commandAreas.Add(new CommandArea(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal CommandAreas(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: if (sub.Name.Substring(0, 6).Equals("Comman")) { _commandAreas.Add(new CommandArea(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal CompControlParaSZ(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "CompControlParaSZPCGTrans": _compControlParaSZPCGTrans = new CompControlParaSZPCGTrans(sub); break; case "CompControlParaSZPCGSteady": _compControlParaSZPCGSteady = new CompControlParaSZPCGTrans(sub); break; case "CompControlParaSZSOR": _compControlParaSZSOR = new CompControlParaSZSOR(sub); break; case "CompControlParaRivEx": _compControlParaRivEx = new CompControlParaRivEx(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
internal CALIBRATION_SPECIFICATION(PFSSection Section) { _pfsHandle = Section; MODEL_As = new List <MOUSE_Catchments>(); for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "GLOBAL_PARAMETERS": GLOBAL_PARAMETERS = new GLOBAL_PARAMETERS(sub); break; case "MEASUREMENTS": MEASUREMENTS = new Model_B(sub); break; default: if (sub.Name.Substring(0, 6).Equals("MODEL_")) { MODEL_As.Add(new MOUSE_Catchments(sub)); break; } _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 TwoLayerUZSoilProperties(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "DFS_2D_DATA_FILE": _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub); break; case "SHAPE_FILE": _sHAPE_FILE = new SHAPE_FILE(sub); break; default: if (sub.Name.Substring(0,6).Equals("UZSoil")) { _uZSoilProps.Add(new UZSoilProp(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal VegNo_1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "UserDefVegDevelopment": _userDefVegDevelopment = new UserDefVegDevelopment(sub); break; case "GrowthModVegDevelopment": _growthModVegDevelopment = new GrowthModVegDevelopment(sub); break; case "Irrigation": _irrigation = new Irrigation(sub); break; default: if (sub.Name.Substring(0, 6).Equals("Stage_")) { _stage_1s.Add(new Stage_13(sub)); break; } _unMappedSections.Add(sub.Name); break; } } }
internal COMPUTATIONAL_SETUP(PFSSection section) { _pfsHandle = section; Branches = new List<Branch2>(); for (int i=1;i<=_pfsHandle.GetSectionsNo(); i++) Branches.Add(new Branch2(_pfsHandle.GetSection(i))); }
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; } } }
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 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; } } }
internal COMPUTATIONAL_SETUP(PFSSection section) { _pfsHandle = section; Branches = new List <Branch2>(); for (int i = 1; i <= _pfsHandle.GetSectionsNo(); i++) { Branches.Add(new Branch2(_pfsHandle.GetSection(i))); } }
internal STRUCTURE_MODULE(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "CROSSSECTIONS": CROSSSECTIONS = new CROSSSECTIONS(sub); break; case "WEIR": WEIR = new WEIR(sub); break; case "CULVERTS": CULVERTS = new WEIR(sub); break; case "PUMPS": PUMPS = new WEIR(sub); break; case "REGULATING_STR": REGULATING_STR = new WEIR(sub); break; case "CONTROL_STR": CONTROL_STR = new WEIR(sub); break; case "DAMBREAK_STR": DAMBREAK_STR = new WEIR(sub); break; case "BRIDGE": BRIDGE = new WEIR(sub); break; case "USER_DEFINED": USER_DEFINED = new WEIR(sub); break; case "TABULATED": TABULATED = new WEIR(sub); break; case "ENERGYBALANCE": ENERGYBALANCE = new WEIR(sub); break; case "MIKE12_HYDRAU": MIKE12_HYDRAU = new WEIR(sub); break; default: _unMappedSections.Add(sub.Name); break; } } Structure_Version = new Structure_Version(_pfsHandle.GetKeyword("Structure_Version", 1)); }
internal SimSpec(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { case "ModelComp": _modelComp = new ModelComp(sub); break; case "ModModelComp": _modModelComp = new ModModelComp(sub); break; case "SimTitle": _simTitle = new SimTitle(sub); break; case "SimulationPeriod": _simulationPeriod = new SimulationPeriod(sub); break; case "STRESSPERIODS": _sTRESSPERIODS = new STRESSPERIODS(sub); break; case "CompControlParaTimeStep": _compControlParaTimeStep = new CompControlParaTimeStep(sub); break; case "CompControlParaOL": _compControlParaOL = new CompControlParaOL(sub); break; case "CompControlParaUZ": _compControlParaUZ = new CompControlParaUZ(sub); break; case "CompControlParaSZ": _compControlParaSZ = new CompControlParaSZ(sub); break; case "CompControlParaModPackage": _compControlParaModPackage = new CompControlParaModPackage(sub); break; case "AirFlowSimulationParametersMod": _airFlowSimulationParametersMod = new AirFlowSimulationParametersMod(sub); break; case "CompControlParaModSZ": _compControlParaModSZ = new CompControlParaModSZ(sub); break; default: _unMappedSections.Add(sub.Name); break; } } }
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; } } }
/// <summary> /// Returns a deep clone of the section. Does not clone any parents; /// </summary> /// <param name="SectionToClone"></param> /// <returns></returns> public static PFSSection DeepClone(PFSSection SectionToClone) { PFSSection ps = new PFSSection(SectionToClone.Name); int NumberOfKeywords = SectionToClone.GetKeywordsNo(); for (int i = 1; i <= NumberOfKeywords; i++) ps.AddKeyword(PFSMapper.DeepClone(SectionToClone.GetKeyword(i))); int NumberOfSections = SectionToClone.GetSectionsNo(); for (int i = 1; i <= NumberOfSections; i++) ps.AddSection(PFSMapper.DeepClone(SectionToClone.GetSection(i))); return ps; }
internal CompControlParaModPCG4(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal ExtraParam_1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal GeoScene3D(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal STRESSPERIOD_PROPPAGE(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal VEGETATION_PROPERTY_FILE(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal AirFlowSimulationParametersMod(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal UZSoilProfilePropDiscr1(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }
internal FlowModelDocVersion(PFSSection Section) { _pfsHandle = Section; for (int i = 1; i <= Section.GetSectionsNo(); i++) { PFSSection sub = Section.GetSection(i); switch (sub.Name) { default: _unMappedSections.Add(sub.Name); break; } } }