Simulation method for resonant light scattering of exciton confined to arbitrary geometry.