Extended virtual pipes for the stable and real-time simulation of small-scale shallow water. (November 2018)