We compare two ways of calculating the optical response of metallic nanoparticles illuminated by near field dipole sources. We develop tests to determine the accuracy of the calculations of internal and scattered fields of metallic nanoparticles at the boundary of the particles and in the far field. We verify the correct transport of energy by checking that the evaluation of the energy flux agrees at the surface of the particles and in the far field. A new test is introduced to check that the surface fields fulfill Maxwell's equations allowing evaluation of the validity of the internal field. Calculations of the scattering cross section show a faster rate of convergence for the principal mode theory. We show that for metallic particles the internal field is the most significant source of error.
- electromagnetic scattering
- energy flux