SMS dit: Numerical analysis in electromagnetics