A numerical method for simulating discontinuous shallow flow over an infiltrating surface | Synapse