We outline specific features of numerical simulations of metamaterial wedges
and interfaces. We study the effect of different positioning of a grid in the
Yee method, which is necessary to obtain consistent convergence in modeling of
interfaces with metamaterials characterized by negative dielectric permittivity
and negative magnetic permeability. We demonstrate however that, in the
framework of the continuous-medium approximation, wave scattering on the wedge
may result in a resonant excitation of surface waves with infinitely large
spatial frequencies, leading to non-convergence of the simulation results that
depend on the discretization step.Comment: 12 pages, 9 figure