harbor run -t openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-2231harbor download openthoughts/tasktrove-exp-flat25-stackoverflow-v2-5k-stackoverflow-2231Title: Implement a Thetis-compatible 2D shallow-water solver wrapper with detector system for temporal convergence testing (Crank-Nicolson vs PressureProjectionPicard)
Context: I'm building a small, self-contained Python module that wraps a Thetis-like 2D shallow-water environment so that an existing pytest test can run end-to-end. The goal is to expose a FlowSolver2d-like solver along with supporting utilities to wire together mesh setup, bathymetry, initial conditions, two timestepping schemes, detector callbacks, and HDF5 diagnostics in exactly the way the tests expect.
Requirements
Deliverables
Notes and assumptions
How to verify
End of task description