Internals

Classes used internally, or for experiments with the solvers.

class camfr.SlabDisp

The dispersion relation of a slab, as a function of the transverse wavenumber kt.

__init__(expression: Expression, wavelength: float) -> None

__init__(expression: Expression, wavelength: float, lower_wall: SlabWall, upper_wall: SlabWall) -> None

class camfr.SectionDisp(left: Stack, right: Stack, wavelength: float, M: int)

The dispersion relation of a Section, as a function of kz.

class camfr.RealFunction

A real function (internal).

times_called() → int

Number of evaluations so far.

class camfr.ComplexFunction

A complex function, e.g. a dispersion relation.

times_called() → int

Number of evaluations so far.

class camfr.Material_length

Internal.

class camfr.Waveguide_length

Internal.