An immersed boundary approach for high order weighted essentially non-oscillatory schemes