Learn R Programming

planar (version 1.6)

multilayercpp: multilayercpp

Description

Multilayer Fresnel coefficients

Usage

multilayercpp(wavelength = 2 * pi/k0, k0 = 2 * pi/wavelength, angle = asin(q), q = sin(angle), epsilon = list(incident = 1.5^2, 1.33), thickness = c(0, 0), ...)

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
...
unused

Value

fresnel coefficients and field profiles

Details

solves the EM problem of a multilayered interface

Examples

Run this code
library(planar)
demo(package="planar")

Run the code above in your browser using DataLab