Greens function and T-scattering operator in plasmonic and spin wave propagation problems in open and closed dielectric and magnetic structures | Synapse