kicad2ems.mom25d.tiles

mom25d.tiles - the block low-rank solver's tiles (clusters of unknowns) and the compiled
core's factor (fast.py's, split out: R-F3)
kicad2ems.mom25d.tiles.cluster_groups(pts, comp, tile)[source]
cluster_tiles with each group (comp: a connected piece of copper, an
unknown's group) bisected on its own, so that no tile spans two pieces
(a tile of several parallel traces is near every tile of each); groups
smaller than a tile packed together in the order of their centres (a
group tree: bisection of the groups' centres), as cluster_tiles's
leaves. Measured (2026-11-22, the Thor's In7 group, 24.9k unknowns, 5
GHz, every off-diagonal tile compressed): no better than the geometric
tiles: the factor 7 % of dense complex64 against 4 %, 3.6 GMRES
iterations against 5.3, the operator at 1e-8 27 % of complex128 dense
against 18 %, |dS| 6.4e-6 against 7.5e-7; sim.blr_tiles = 'copper'
takes it.
kicad2ems.mom25d.tiles.cluster_tiles(pts, tile)[source]
The block low-rank solver's tiles: geometric bisection (Cluster) into
leaves of <= tile points; their index arrays and bounding boxes.
kicad2ems.mom25d.tiles.components(sim, pts)[source]
The connected piece of copper of each unknown (cluster_tiles's
groups): the mesh's triangles joined through their RWG edges, an edge its
triangles' piece, the other unknowns (via chains, holes, slots, sides:
pts past the edges) their nearest edge's.