Appearance
Absorbing layers
Two layers absorb the waves that reach the domain faces: the perfectly matched layer ([PML]), an auxiliary-equation PML of four formulations, and the far-wave layer ([fWLayer]), a damping of the outgoing wave applied after every step. Each is set face by face and works on top of the face's boundary condition. The keys are in the input reference.
Perfectly matched layer
Layer geometry and storage
[PML] width is a physical width; on each active face (x_minus_layer … z_plus_layer) the layer covers the cells within it. The PML state lives only on the boundary blocks that carry a layer, compacted face by face: each face stores four split variables, electric first and magnetic second, e.g. on an
Profiles
With
PML_type | Damping | Parameters | |
|---|---|---|---|
CLASSIC | gamma_max, gamma_exponent ( | ||
CFS (CPML) | gamma_max, alfa_max, k_max | ||
BERMUDEZ | beta, gamma_exponent | ||
CLASSIC_DIRECT | — | gamma_max, gamma_exponent |
Auxiliary equations
CLASSIC, CFS and BERMUDEZ are auxiliary-differential-equation (ADE) PMLs. On an
with
prism_rk_pml_object).
CLASSIC_DIRECT is not an ADE PML. It skips the auxiliary variables and their Runge–Kutta integration and damps the tangential components directly,
Time step
A PML caps the time step at C_gamma (default 0.1) the safety factor.
Constraints
| Backend | Accepted |
|---|---|
| CPU | CLASSIC, CLASSIC_DIRECT, BERMUDEZ, CFS; fd_centered; an SSP Runge–Kutta scheme; no divergence correction, no constrained transport |
| FNL | fd_centered; runge_kutta with an SSP scheme; no hyperbolic correction, no constrained transport |
Anything else is fatal at initialization, and so is a section with every face flag .false. or a missing parameter of the chosen type.
Far-wave layer
The far-wave layer damps the outgoing part of the wave in a band of cells along the chosen faces. [fWLayer] width is physical: the cells per face are
and likewise for the other three, with
so compute_fwl_factor) serves both backends. The removed key C (a cell count) is rejected by the removed-keys lint.