A 1D–2D Shallow Water Equations solver for discontinuous porosity field based on a Generalized Riemann Problem