https://123dok.com/document/qmjrgdwq-weak-local-residuals-smoothness-indicators-shallow-water-equations.html