  A numerical study of the features of the scattering of incident radiation at
a periodically modulated hyperbolic metamaterial boundary was carried out. We
have found optimal - sawtooth-shaped profile of the interface which provides
minimal reflection. It is shown that at a certain orientation of the optical
axes of the metamaterial, a subwave localization of the field occurs at the
saw-tooth interface. An approximate analytical expression for the eigenmode was
found. A generalization of the numerical method is implemented for calculating
fields, based on the application of the Green's second identity.
