![]() |
OpenSWMM Engine
6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
|
U4 — [GW_*] parsers, registration and resolution (see header).
More...
#include "GwTransportSections.hpp"#include "../data/MeshData.hpp"#include "../../core/PathResolver.hpp"#include "../../core/SimulationContext.hpp"#include "../../input/InputParseUtils.hpp"#include "../../input/Tokenizer.hpp"#include <cctype>#include <cmath>#include <fstream>#include <string>Namespaces | |
| namespace | openswmm |
| namespace | openswmm::twoD |
Functions | |
| const char * | openswmm::twoD::gwZoneToken (GwZone z) noexcept |
| bool | openswmm::twoD::parseGwZone (const std::string &token, GwZone &z) noexcept |
| const char * | openswmm::twoD::gwScopeToken (GwScope s) noexcept |
| std::string | openswmm::twoD::parseGwTransportOptionsLine (const std::vector< std::string > &tokens, GwTransportOptions &opts) |
One [GW_TRANSPORT_OPTIONS] line (KEY VALUE [ARG…]). Empty = OK. | |
| std::string | openswmm::twoD::parseGwParamsLine (const std::vector< std::string > &tokens, std::vector< GwParamsRow > &rows) |
| std::string | openswmm::twoD::parseGwSorptionLine (const std::vector< std::string > &tokens, std::vector< GwSorptionRow > &rows) |
One [GW_SORPTION] line: scope, SPECIES, Kd [decay]. Empty = OK. | |
| std::string | openswmm::twoD::parseGwInitialQualityLine (const std::vector< std::string > &tokens, std::vector< GwInitialQualityRow > &rows, std::string &file) |
| std::string | openswmm::twoD::parseGwBoundaryQualityLine (const std::vector< std::string > &tokens, std::vector< GwBoundaryQualityRow > &rows) |
| std::string | openswmm::twoD::parseGwSourcesLine (const std::vector< std::string > &tokens, std::vector< GwSourceRow > &rows) |
| void | openswmm::twoD::registerGwTransportSections (GwTransportData &gw, input::SectionRegistry ®istry) |
Register every [GW_*] handler against registry, writing into gw. | |
| std::vector< std::string > | openswmm::twoD::resolveGwTransport (SimulationContext &ctx, const MeshData &mesh, GwTransportData &gw) |
| Validate the authored rows against the model and the species registry, once the mesh and the species are final. | |
| std::string | openswmm::twoD::gwTransportInertWarning (const GwTransportData &gw) |
U4 — [GW_*] parsers, registration and resolution (see header).