Abstract
A boundary element method based on a Green's function technique is introduced to compute resonances with intermediate lifetimes in quasi-two-dimensional dielectric cavities. It can be applied to single or several optical resonators of arbitrary shape, including corners, for both TM and TE polarization. For cavities with symmetries a symmetry reduction is described. The existence of spurious solutions is discussed. The efficiency of the method is demonstrated by calculating resonances in two coupled hexagonal cavities.