We study surface plasmon polariton excitations and surface shape resonances
in a lossy metallic grating with bivalued cavities. The modal formalism is
used to solve the diffraction problem for the infinite grating and the hom
ogeneous problem for a single cavity in a plane surface. Both polarization
modes are considered. We provide curves of reflected efficiency versus wave
length as well as near-held plots. The resonances are identified as dips in
the reflected efficiency, which imply significant power absorptions. Resul
ts far various depths of the cavities and far several angles of incidence a
re shown, where the different types of resonant behavior can be appreciated
. Particular attention is paid to the changes introduced by the finite cond
uctivity of the metal in relation to the results obtained for a perfect con
ductor.