3.1.2.9. A_FMM.Creator.slab
- Creator.slab(eps_core, eps_lc, eps_uc, w, offset=0.0)
1D slab in x direction
- Parameters:
eps_core (float) – epsilon of the core.
eps_lc (float) – epsilon of the lower cladding.
eps_uc (float) – epsilon of the upper cladding.
w (float) – thickness of the slab (in unit of ax).
offset (float, optional) – Offset if the slab with respect to the center of the cell. Defaults to 0.0.
- Returns:
None.