Fast and high-precision simulation of hydrodynamic and water quality process in river networks