Seol mar théacs é seo: A fast adaptive quadtree scheme for a two-layer shallow water model