Seol mar théacs é seo: 1-D numerical modelling of shallow flows with variable horizontal density