+13
−0
src/swmm_triton.h
0 → 100644
+591
−0
Loading
Add SWMM coupling interface header and constants This commit adds the SWMM-TRITON coupling interface class and supporting constants. The swmm_triton class handles: - Reading SWMM .inp file (COORDINATES, JUNCTIONS, INFLOWS) - Mapping SWMM nodes to TRITON grid cells - Managing SWMM initialization and cleanup - Computing flow exchange between surface and subsurface Key changes: - src/swmm_triton.h: Core coupling interface class with Kokkos kernel - src/constants.h: Added SWMM array indices (SWMM_LOSS, SWMM_DIAMETER, SWMM_MAXD, SWMM_NEWD, SWMM_Q, SWMMP) and PI_ constant under #ifdef TRITON_SWMM Note: Uses _G_ directly (not G) to avoid conflict with GDAL headers The interface is wrapped in #ifdef TRITON_SWMM to allow building without SWMM support.