Polarization{}

Calling sequence

Gain{ Polarization{ } }

Functionality

When FermiGoldenRule{ Linewidth } is defined in the input file, Polarization specifies the electric field polarization used for Fermi’s golden rule. The simulation \(z\) axis is along the growth direction.

Example
Gain{
    # TE polarization
    Polarization{
        Re = [1, 0, 0]
        Im = [0, 0, 0]
    }

    # TM polarization
    Polarization{
        Re = [0, 0, 1]
        Im = [0, 0, 0]
    }
}

Polarization{ Re }

Calling sequence

Gain{ Polarization{ Re } }

Properties
  • type: \(\mathrm{vector\;of\;3\;real\;numbers}\)

  • unit: \(\mathrm{-}\)

Functionality

Specifies the real part of the polarization vector. The complex vector is internally normalized to \(|\epsilon|^2=1\).


Polarization{ Im }

Calling sequence

Gain{ Polarization{ Im } }

Properties
  • type: \(\mathrm{vector\;of\;3\;real\;numbers}\)

  • default: [0.0, 0.0, 0.0]

  • unit: \(\mathrm{-}\)

Functionality

Specifies the imaginary part of the polarization vector. The complex vector is internally normalized to \(|\epsilon|^2=1\).