OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
GwTransportSections.cpp File Reference

U4 — [GW_*] parsers, registration and resolution (see header). More...

#include "GwTransportSections.hpp"
#include "core/FileIO.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 <unordered_set>
#include <fstream>
#include <string>
Include dependency graph for GwTransportSections.cpp:

Namespaces

namespace  openswmm
 
namespace  openswmm::twoD
 

Functions

const char * openswmm::twoD::gwZoneToken (GwZone z) noexcept
 Borrow the input-section token for an aquifer zone.
 
bool openswmm::twoD::parseGwZone (const std::string &token, GwZone &z) noexcept
 Parse one aquifer zone token without changing state on failure.
 
const char * openswmm::twoD::gwScopeToken (GwScope s) noexcept
 Borrow the input-section token for an aquifer row scope.
 
std::string openswmm::twoD::parseGwTransportOptionsLine (const std::vector< std::string > &tokens, GwTransportOptions &o)
 Apply one groundwater transport/thermal authoring option without resolving physical owners.
 
std::string openswmm::twoD::parseGwParamsLine (const std::vector< std::string > &tokens, std::vector< GwParamsRow > &rows)
 Parse one scoped positional groundwater material/dispersion authoring row.
 
std::string openswmm::twoD::parseGwSorptionLine (const std::vector< std::string > &tokens, std::vector< GwSorptionRow > &rows)
 Parse scoped species partition coefficient and optional decay authoring data.
 
std::string openswmm::twoD::parseGwInitialQualityLine (const std::vector< std::string > &tokens, std::vector< GwInitialQualityRow > &rows, std::string &file)
 Parse a scoped initial native quality row or retain an external file prescription.
 
std::string openswmm::twoD::parseGwBoundaryQualityLine (const std::vector< std::string > &tokens, std::vector< GwBoundaryQualityRow > &rows)
 Parse a lateral groundwater boundary native concentration or flux prescription.
 
std::string openswmm::twoD::parseGwSourcesLine (const std::vector< std::string > &tokens, std::vector< GwSourceRow > &rows)
 Parse one named scoped groundwater injection/extraction and native constituent prescription.
 
void openswmm::twoD::registerGwTransportSections (GwTransportData &gw, input::SectionRegistry &registry)
 Register GW authoring callbacks that append into the borrowed model data.
 
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)
 The single "authored but no kernel" run-time warning (U4's contract). Empty when nothing was authored.
 

Detailed Description

U4 — [GW_*] parsers, registration and resolution (see header).

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
License
Apache-2.0