Magnetization patterns with div M = 0