![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
Section handlers for [SUBCATCHMENTS], [SUBAREAS], and [RAINGAGES]. More...
#include "CatchmentHandler.hpp"#include "../Tokenizer.hpp"#include "../SectionParser.hpp"#include "../MultiColumnSeriesFile.hpp"#include "../../core/ErrorCodes.hpp"#include "../../core/SimulationContext.hpp"#include "../../data/SubcatchData.hpp"#include "../../data/GageData.hpp"#include "../InputParseUtils.hpp"#include <algorithm>#include <charconv>#include <string>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::input |
Functions | |
| void | openswmm::input::handle_subcatchments (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse subcatchment geometry and authored outlet/gage/snow references. | |
| void | openswmm::input::handle_subareas (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Assign surface roughness/depression storage and inter-subarea routing. | |
| void | openswmm::input::handle_infiltration (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Assign and check authored subcatchment infiltration parameters. | |
| void | openswmm::input::handle_raingages (SimulationContext &ctx, const std::vector< std::string > &lines) |
| Parse rain-gage recording format, source references and file filters. | |
Section handlers for [SUBCATCHMENTS], [SUBAREAS], and [RAINGAGES].
The trailing ScaleFactor token is optional; it multiplies the gage's rainfall intensity after unit conversion (Build 5.3.0+, parity with legacy gage.c). When two gages share the same TIMESERIES (co-gages), the secondary's rainfall is rescaled by the ratio scale_factor[secondary] / scale_factor[primary].