Reformulations for general advection–diffusion–reaction equations and locally implicit ADER schemes