SMS dit: Electromagnetic theory and computation