In computational electromagnetics, the scattering-matrix method (SMM) is a numerical method used to solve Maxwell's equations.