23#ifndef OPENSWMM_ENGINE_2D_SECTION_HANDLERS_HPP
24#define OPENSWMM_ENGINE_2D_SECTION_HANDLERS_HPP
110 const std::vector<std::string>& tokens,
111 std::vector<SurfaceRouter2D::PendingBoundaryRow>& pending_rows);
127 const std::vector<std::string>& tokens,
128 std::vector<SurfaceRouter2D::PendingEdgeConveyanceRow>& pending_rows);
152 const std::string& key);
166 std::vector<SurfaceRouter2D::PendingBoundaryRow>& pending_bc_rows,
167 std::vector<SurfaceRouter2D::PendingEdgeConveyanceRow>& pending_ec_rows,
168 input::SectionRegistry& registry);
186 std::vector<SurfaceRouter2D::PendingBoundaryRow>& pending_bc_rows,
187 std::vector<SurfaceRouter2D::PendingEdgeConveyanceRow>& pending_ec_rows,
188 const std::string& mesh_file,
189 const std::string& inp_base_dir);
Structure-of-Arrays (SoA) storage for 2D triangular mesh geometry.
Registry that maps SWMM section tags to handler functions.
Configuration options for the 2D surface routing solver.
Top-level orchestrator for the optional 2D surface routing module.
Definition NodeCoupling.cpp:15
std::string format2DOptionValue(const SolverOptions2D &opts, const std::string &key)
Format the current value of a [2D_OPTIONS] parameter as the string token parse2DOptionsLine accepts (...
Definition SectionHandlers2D.cpp:192
std::string parse2DTriangleNodeMapLine(const std::vector< std::string > &tokens, MeshData &mesh)
Parse a single line from the [2D_TRIANGLE_NODE_MAP] section.
Definition SectionHandlers2D.cpp:339
std::string load2DMeshExternalFile(MeshData &mesh, SolverOptions2D &opts, std::vector< SurfaceRouter2D::PendingBoundaryRow > &pending_bc_rows, std::vector< SurfaceRouter2D::PendingEdgeConveyanceRow > &pending_ec_rows, const std::string &mesh_file, const std::string &inp_base_dir)
Load 2D mesh sections from an external file.
Definition SectionHandlers2D.cpp:580
std::string parse2DVertexNodeMapLine(const std::vector< std::string > &tokens, MeshData &mesh)
Parse a single line from the [2D_VERTEX_NODE_MAP] section.
Definition SectionHandlers2D.cpp:305
bool is2DOptionKey(const std::string &key)
True when key (case-insensitive) is a [2D_OPTIONS] parameter accepted by parse2DOptionsLine.
Definition SectionHandlers2D.cpp:176
std::string parse2DEdgeConveyanceLine(const std::vector< std::string > &tokens, std::vector< SurfaceRouter2D::PendingEdgeConveyanceRow > &pending_rows)
§11A — parse a single [2D_EDGE_CONVEYANCE] line.
Definition SectionHandlers2D.cpp:471
std::string parse2DBoundaryConditionsLine(const std::vector< std::string > &tokens, std::vector< SurfaceRouter2D::PendingBoundaryRow > &pending_rows)
V-E3 — parse a single line from the [2D_BOUNDARY_CONDITIONS] section into a SurfaceRouter2D::PendingB...
Definition SectionHandlers2D.cpp:407
void register2DSections(MeshData &mesh, SolverOptions2D &options, std::vector< SurfaceRouter2D::PendingBoundaryRow > &pending_bc_rows, std::vector< SurfaceRouter2D::PendingEdgeConveyanceRow > &pending_ec_rows, input::SectionRegistry ®istry)
Register all 2D input section handlers with the section registry.
Definition SectionHandlers2D.cpp:513
std::string parse2DVertexLine(const std::vector< std::string > &tokens, MeshData &mesh)
Parse a single line from the [2D_VERTICES] section.
Definition SectionHandlers2D.cpp:245
std::string parse2DTriangleLine(const std::vector< std::string > &tokens, MeshData &mesh)
Parse a single line from the [2D_TRIANGLES] section.
Definition SectionHandlers2D.cpp:273
std::string parse2DOptionsLine(const std::vector< std::string > &tokens, SolverOptions2D &opts)
Parse a single line from the [2D_OPTIONS] section.
Definition SectionHandlers2D.cpp:74
void prescan2DUnitsHeader(const std::string &inp_path, SolverOptions2D &opts)
Scan inp_path for a ;; UNITS: <value> comment header and set opts.mesh_units_si to true when the valu...
Definition SectionHandlers2D.cpp:645
SoA storage for 2D triangular mesh geometry and topology.
Definition MeshData.hpp:34
Configuration for the 2D surface routing CVODE solver.
Definition SolverOptions2D.hpp:132