kicad2ems.pcbqs.thick

Finite-thickness kernels for close sheet pairs (experimental): a sheet
standing for a slab of copper t thick interacts, with its near neighbours,
through the 1/R kernel averaged over both slabs' thickness instead of between
two zero-thickness sheets.

Why: in the inductive regime a zero-thickness sheet's current is singular at its
edges, so its loss grows without bound as the edges are refined (an isolated
strip at 10 MHz: +26 / +76 / +82% against FastHenry at 4 / 8 / 16 cells across).
Copper caps the crowding at about its thickness; averaging the kernel over it
does the same, as FastHenry's rectangular filaments do.

    D = delta_inductance(rwg, z, t)  # sparse, over RWG branches: added to
                                     # either backend's point-kernel L

For a pair at heights zp, zq with thicknesses tp, tq the offset between a point
of each slab is spread over a trapezoid (the convolution of two uniform
distributions) centred on zp - zq; the moments are even in the offset and exact
for any offset (emsdev.numerics.sing.offplane_pairs), so the average is a Gauss
sum over the offset, split where the trapezoid bends and at zero (the |offset|
kink).
kicad2ems.pcbqs.thick.close_pairs(nodes, tris, z, t, reach=3.0)[source]
Pairs (p <= q) whose thickness matters: on overlapping or touching slabs
(|zp - zq| < 2 (tp + tq)) and closer, centroid to centroid, than their
summed radii plus `reach` thicknesses.
kicad2ems.pcbqs.thick.delta_inductance(rwg, z, t, outer_levels=1, reach=3.0, log=None)[source]
The thickness correction as a sparse matrix over RWG branches (edge
currents i = l I, as MQS's L): for every close triangle pair,
(thickness-averaged - point) moments, combined over the RWG halves each
triangle supports. Added to the point-kernel L of either backend (dense or
compressed), it gives thick_kernel's L.