Multilayer Fresnel coefficients
recursive_fresnelcpp(wavelength = 2 * pi/k0, k0 = 2 * pi/wavelength,
angle = NULL, q = sin(angle), epsilon = list(incident = 1.5^2, 1.33^2),
thickness = c(0, 0), polarisation = c("p", "s"))
Arguments
- wavelength
- [vector] wavelength in nm
- k0
- [vector] wavevector in nm^-1
- angle
- [vector] incident angles in radians
- q
- [vector] normalised incident in-plane wavevector
- epsilon
- list of N+2 dielectric functions, each of length 1 or length(wavelength)
- thickness
- vector of N+2 layer thicknesses, first and last are dummy
- polarisation
- [character] switch between p- and s- polarisation
Value
fresnel coefficients and field profiles
Details
computes the reflection coefficient of a multilayered interface