Gravar-mail: Adaptive mesh refinement techniques for the immersed interface method applied to flow problems