Usage
dipole(d = 1, wavelength, epsilon = list(incident = 1^2), thickness = c(0, 0), qcut = NULL, rel.err = 0.001, Nquadrature1 = 1000, Nquadrature2 = 10000, Nquadrature3 = 10000, GL = FALSE, show.messages = TRUE)
Arguments
wavelength
wavelength in nm
epsilon
list of dielectric functions
thickness
list of layer thicknesses
qcut
transition between regions 2 and 3
Nquadrature1
maximum number of quadrature points in radiative region
Nquadrature2
maximum number of quadrature points in SPPs region
Nquadrature3
maximum number of quadrature points in dipole image region
GL
logical: use Gauss Legendre quadrature, or cubature::adaptIntegrate
show.messages
logical, display integration info