23#ifndef OPENSWMM_ENGINE_2D_BOUNDARY_DATA_HPP
24#define OPENSWMM_ENGINE_2D_BOUNDARY_DATA_HPP
117 auto n =
static_cast<std::size_t
>(n_edges);
Definition NodeCoupling.cpp:15
BoundaryType
Boundary condition types for 2D mesh edges.
Definition BoundaryData.hpp:40
@ RATING_CURVE
Stage → flow lookup (curve registry index)
@ SPECIFIED_FLOW
Prescribed discharge per metre of edge (constant or TS)
@ NORMAL_FLOW
Manning outflow using bed slope.
@ WALL
Zero-flux wall (default)
@ SPECIFIED_STAGE
Prescribed water surface elevation (constant or TS)
SoA storage for per-edge boundary conditions.
Definition BoundaryData.hpp:55
std::vector< std::string > edge_bc_flow_tseries_name
Timeseries name for deferred resolution (cleared after resolve).
Definition BoundaryData.hpp:95
void resize(int n_edges)
Resize all arrays to n_edges and initialize to WALL defaults.
Definition BoundaryData.hpp:116
std::vector< int > edge_bc_tseries
Definition BoundaryData.hpp:71
std::vector< int8_t > edge_bc_type
Boundary condition type per edge (cast from BoundaryType)
Definition BoundaryData.hpp:58
std::vector< std::string > edge_bc_tseries_name
Timeseries name for deferred resolution (cleared after resolve).
Definition BoundaryData.hpp:74
std::vector< double > edge_bed_slope
Definition BoundaryData.hpp:62
std::vector< double > edge_bc_flow
Definition BoundaryData.hpp:87
std::vector< double > edge_bc_head
Definition BoundaryData.hpp:66
int size() const noexcept
Definition BoundaryData.hpp:131
std::vector< std::string > edge_bc_rating_curve_name
Curve name for deferred resolution (cleared after resolve).
Definition BoundaryData.hpp:106
std::vector< double > edge_bc_cum_flux
Definition BoundaryData.hpp:78
std::vector< int > edge_bc_rating_curve
Definition BoundaryData.hpp:103
std::vector< int > edge_bc_flow_tseries
Definition BoundaryData.hpp:92