SMS dit: Dynamically adaptive tree grid technique for flood simulation