39#ifndef OPENSWMM_ENGINE_2D_BOUNDARY_DATA_HPP
40#define OPENSWMM_ENGINE_2D_BOUNDARY_DATA_HPP
134 auto n =
static_cast<std::size_t
>(n_edges);
Definition NodeCoupling.cpp:16
BoundaryType
Boundary condition types for 2D mesh edges.
Definition BoundaryData.hpp:56
@ RATING_CURVE
Stage → flow lookup (curve registry index)
Definition BoundaryData.hpp:61
@ SPECIFIED_FLOW
Prescribed discharge per metre of edge (constant or TS)
Definition BoundaryData.hpp:60
@ NORMAL_FLOW
Manning outflow using bed slope.
Definition BoundaryData.hpp:58
@ WALL
Zero-flux wall (default)
Definition BoundaryData.hpp:57
@ SPECIFIED_STAGE
Prescribed water surface elevation (constant or TS)
Definition BoundaryData.hpp:59
SoA storage for per-edge boundary conditions.
Definition BoundaryData.hpp:71
std::vector< std::string > edge_bc_flow_tseries_name
Timeseries name for deferred resolution (cleared after resolve).
Definition BoundaryData.hpp:112
void resize(int n_edges)
Resize all arrays to n_edges and initialize to WALL defaults.
Definition BoundaryData.hpp:133
std::vector< int > edge_bc_tseries
Definition BoundaryData.hpp:88
std::vector< int8_t > edge_bc_type
Boundary condition type per edge (cast from BoundaryType)
Definition BoundaryData.hpp:74
std::vector< std::string > edge_bc_tseries_name
Timeseries name for deferred resolution (cleared after resolve).
Definition BoundaryData.hpp:91
std::vector< double > edge_bed_slope
Definition BoundaryData.hpp:79
std::vector< double > edge_bc_flow
Definition BoundaryData.hpp:104
std::vector< double > edge_bc_head
Definition BoundaryData.hpp:83
int size() const noexcept
Definition BoundaryData.hpp:148
std::vector< std::string > edge_bc_rating_curve_name
Curve name for deferred resolution (cleared after resolve).
Definition BoundaryData.hpp:123
std::vector< double > edge_bc_cum_flux
Definition BoundaryData.hpp:95
std::vector< int > edge_bc_rating_curve
Definition BoundaryData.hpp:120
std::vector< int > edge_bc_flow_tseries
Definition BoundaryData.hpp:109