Green's Tensors

GreenTensors is a module aimed to compute the renormalized (dimensionless) electric and magnetic Green's tensors. To learn more about the renormalization and the expressions that are used, please see the Theory pdf.

Functions Documentation

Renormalized Green's Tensors

Main.CoupledElectricMagneticDipoles.GreenTensors.G_e_renormFunction
G_e_renorm(kr1,kr2)

Computes the renormalized (dimensionless) electric Green's tensor between two positions r1 and r2, where the inputs are the positions multiplied by the host medium wave number kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.G_m_renormFunction
G_m_renorm(kr1,kr2)

Computes the renormalized (dimensionless) magnetic Green's tensor between two position r1 and r2, where the inputs are the positions multiplied by the host medium wave number kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.G_em_renormFunction
G_em_renorm(kr1,kr2)

Computes the renormalized (dimensionless) electric and magnetic Green's tensors between two positions r1 and r2, where the inputs are the positions multiplied by the host medium wave number kr1 and kr2. The outputs are two dimensionless 3x3 complex matrix (electric and magnetic Green's tensor respectively).

source
Main.CoupledElectricMagneticDipoles.GreenTensors.G_em_far_field_renormFunction
G_em_far_field_renorm(kr1,kr2)

Computes the renormalized (dimensionless) electric and magnetic Green's in the far field approximation tensors between two positions r1 and r2, where the inputs are the positions multiplied by the host medium wave number kr1 and kr2.Note that is is only valid for $kr_1>>kr_2$ and $kr_1>>1$. The outputs are two dimensionless 3x3 complex matrix (electric and magnetic Green's tensor respectively).

source

Derivatives of the Renormalized Green's Tensors

Main.CoupledElectricMagneticDipoles.GreenTensors.dxG_e_renormFunction
dxG_e_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) electric Green's tensor with respect to the kx component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dyG_e_renormFunction
dyG_e_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) electric Green's tensor with respect to the ky component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dzG_e_renormFunction
dzG_e_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) electric Green's tensor with respect to the kz component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dxG_m_renormFunction
dxG_m_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) magnetic Green's tensor with respect to the kx component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dyG_m_renormFunction
dyG_m_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) magnetic Green's tensor with respect to the ky component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dzG_m_renormFunction
dzG_m_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) magnetic Green's tensor with respect to the kz component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix.

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dxG_em_renormFunction
dxG_em_renorm(kr1,kr2)
Computes the derivative of the renormalized (dimensionless) electric and magnetic Green's tensors with respect to the `kx` component of `kr1` between two positions (multiplied by the host medium wavenumber)  `kr1` and `kr2`.
The output is a dimensionless 3x3 complex matrix (electric and magnetic Green's tensor respectively).
source
Main.CoupledElectricMagneticDipoles.GreenTensors.dyG_em_renormFunction
dyG_em_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) electric and magnetic Green's tensors with respect to the ky component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix (electric and magnetic Green's tensor respectively).

source
Main.CoupledElectricMagneticDipoles.GreenTensors.dzG_em_renormFunction
dzG_em_renorm(kr1,kr2)

Computes the derivative of the renormalized (dimensionless) electric and magnetic Green's tensors with respect to the kz component of kr1 between two positions (multiplied by the host medium wavenumber) kr1 and kr2. The output is a dimensionless 3x3 complex matrix (electric and magnetic Green's tensor respectively).

source

Utility Functions