Hyperbolicity preserving HLL solver for two-layer shallow-water equations equations applied to dam-break flows