GeoSWE
Geophysical Shallow-Water Engine
GeoSWE is a GPU finite-volume solver for the full 2D shallow-water equations, from a 3 m coastal county to the conterminous United States on one multi-GPU node. It solves the nonlinear shallow-water equations with a well-balanced HLLC finite-volume scheme, Manning friction, wetting and drying, rainfall, and an observation-driven coastal stage boundary.
Its distinguishing feature is a compressed active-cell mesh: the cells that matter (land plus a nearshore band) are packed into flat arrays before the run, so memory and work scale with the flooded landscape rather than its bounding rectangle. It runs on NVIDIA and AMD GPUs through CuPy, scales across GPUs with mpi4py, and falls back to NumPy on the CPU for prototyping.
pip install geoswe














