Copper thickness in the FDTD model (--thickness on).
kicad2ems's board keeps copper as zero-thickness levels between the dielectrics.
Here each copper layer gets its stackup thickness t and everything above it
moves up by t, so that every dielectric keeps its own thickness between the
copper, as the line model's cross-sections do (kicad2ems lines/reference.py,
_cut_section). The bottom copper layer grows down (outward); every other layer
grows up: the top layer into the air or mask over the board, an inner layer into
the dielectric above it, which fills between its copper.
Each copper level maps onto that layer's two faces:
dielectric boundaries the layer's lower face (z_map): a dielectric above
an inner layer starts there
vias, edge walls from the lower face of their lowest layer to the
upper face of their highest
ports across the stack from the reference copper's face toward the trace
to the trace's face toward it
gap ports, lumped parts across the slab, lower face to upper
With --sigma the copper is a solid metal body whose two faces are conducting
sheets: each face is one side of a conductor t / 2 thick (sigma / 4 and 2 t in
openEMS's symmetric sheet model give exactly that impedance:
k / (sigma tanh(k t / 2)), k = (1 + j) / delta), so the faces carry the
skin-effect loss where their fields are.
The plan is plain data (dict(t, up)), kept in the mesh dict as mesh['thick'], so
that runs in other processes get it with the mesh.