Classify discontinuities