Check for error from flux functions in mhd/solve.hpp.