fdtdx.extend_material_to_pml#
- fdtdx.extend_material_to_pml(objects, arrays)[source]#
Extend interior-edge material values into each PML region.
For each PML boundary in
objects.pml_objects, the material values at the last non-PML grid cell (the “interior edge”) are broadcast across the entire PML depth. This is applied toinv_permittivities,inv_permeabilities(when it is an array rather than a scalar float),electric_conductivity, andmagnetic_conductivity(when they are notNone).- Parameters:
objects (
ObjectContainer) – ObjectContainer returned byplace_objects().arrays (
ArrayContainer) – ArrayContainer returned byplace_objects().
- Return type:
- Returns:
Updated ArrayContainer with PML regions filled from interior-edge values.
- Warns:
UserWarning – If a PML region already contains non-default (non-background) material values that would be overwritten.