SMS dit: Pattern formation in heterogeneous domains