kicad2ems.mom25d.sing

mom25d.sing - the analytic integrals of 1/R between triangles with an
out-of-plane offset (emsdev.numerics.sing), with the 6-point rule over the
smaller triangle of a pair, and their moments

The rule runs over the smaller triangle of a pair and the analytic integral over
the larger (the lower index's rule where their areas are equal): a pair's
moments are then one value whichever of the two is the observation, so Z is
symmetric, and they are the accurate ones. With the rule over a 0.9 mm plane
cell and a 0.3 mm trace cell 0.2 mm under it, the moment was up to 1.3 % off;
the other way 0.003 %.
kicad2ems.mom25d.sing.offplane_moments(cA, cq, m)[source]
The seven moments (base.moments7's order) of the extracted cA / R, cq / R
from offplane_pairs' result m.
kicad2ems.mom25d.sing.offplane_pairs(nodes, tris, p_idx, q_idx, d, chunk=4000, outer_levels=0, _geometry=None, scalar_only=False)[source]
emsdev.numerics.sing.offplane_pairs (m0, mro, mrs, mrr of pairs (p, q) at
offsets d; scalar_only: m0) with the rule over the smaller triangle of each
pair (rule_over): such a pair computed as (q, p), handed back as (p, q).
outer_levels subdivides that triangle into four per level.
kicad2ems.mom25d.sing.rule_over(area, p, q)[source]
True where a pair's 6-point rule runs over p (and the analytic integral
over q): p is the smaller triangle, or the lower index of two equal ones.
The same answer for (p, q) and (q, p) read the other way round.