This interactive GPU code integrates a simplified shallow-water wave equation system via the leapfrog method and an upwind scheme.
\begin{equation*} \LARGE{ \begin{cases} \frac{\partial h}{\partial t} + \frac{\partial u_i}{\partial x_i} = 0 \\ \frac{\partial u_i}{\partial t} = - \frac{\partial h }{\partial x_i} \end{cases} } \end{equation*}