Shallow water viscous flux detect frictionlaw
The viscous flux requires the friction law interface from the spatial params. However that is not always available. There should be a compile time check whether the interface exists, if not a runtime exception can be thrown if the mixing length model is enabled, otherwise the interface is not needed.