OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SurfaceSolverFactory.cpp File Reference

Implementation of runtime 2D surface-solver backend selection. More...

Detailed Description

Implementation of runtime 2D surface-solver backend selection.

The explicit local-inertial LTS marcher is the only 2D integrator (D2 retirement, 2026-07-29). Selection is purely serial-vs-plugin: prefer the Kokkos marcher plugin (openswmm_make_gpu_explicit_solver — OpenMP threads on the host build, device-resident on CUDA/HIP/SYCL), fall back to the serial ExplicitInertialSolver. Respects [2D_OPTIONS] BACKEND (AUTO|CPU|OMP|CUDA|HIP|SYCL), the OPENSWMM_2D_BACKEND environment override, and the small-mesh launch-overhead gates. The marcher kernels implement both cell closures, so no CELL_CLOSURE restriction applies.

See also
SurfaceSolverFactory.hpp