![]() |
OpenSWMM Engine
6.0.0-alpha.1
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.1)
|
Header-only helpers shared by 2D model serialization consumers (InpWriter [2D_*] emission, GeoPackage writer).
More...
#include "MeshData.hpp"#include "BoundaryData.hpp"#include "PendingRows2D.hpp"#include <algorithm>#include <cstdint>#include <string>#include <unordered_map>#include <unordered_set>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | openswmm |
| namespace | openswmm::twoD |
Functions | |
| std::vector< PendingBoundaryRow > | openswmm::twoD::collectBCRows (const std::vector< PendingBoundaryRow > *pending, const BoundaryData *boundary, bool drained) |
Collect [2D_BOUNDARY_CONDITIONS]-shaped rows for serialization. | |
| std::vector< PendingEdgeConveyanceRow > | openswmm::twoD::collectConveyanceRows (const std::vector< PendingEdgeConveyanceRow > *pending, const MeshData *mesh, bool drained) |
Collect [2D_EDGE_CONVEYANCE]-shaped rows for serialization. | |
Header-only helpers shared by 2D model serialization consumers (InpWriter [2D_*] emission, GeoPackage writer).
Collect the authored row form of boundary conditions and edge conveyance from whichever source is still available:
Define-free and dependency-free beyond the plain 2D data structs, so it compiles in builds without OPENSWMM_HAS_2D (e.g. inside the geopackage static lib).