tidy3d.Boundary.stable_pml#
- class stable_pml#
Bases:
Stable PML boundary specification on both sides along a dimension.
- Parameters:
num_layers (int = 40) – Number of layers of ‘stable’ PML to add to + and - boundaries.
parameters (
PMLParams) – ‘Stable’ parameters of the complex frequency-shifted absorption poles.extrude_structures (bool = True) – Forwarded to
StablePML. Defaults toTrueto matchStablePML’s class default. SetFalseto opt out, for example when a wave-port source intentionally spans the full lateral domain via symmetry.
Example
>>> stable_pml = Boundary.stable_pml(num_layers=40) >>> stable_pml = Boundary.stable_pml(extrude_structures=False)