kicad2ems.emsdev.numerics.base¶
The pieces of the planar solvers (mom25d's MoM, pcbqs's PEEC and statics) on
triangles: RWG basis functions, the assembly of triangle-pair moments into the
basis's matrix (combine), the quadrature rules and the constants.
Time convention exp(+j w t).
- class kicad2ems.emsdev.numerics.base.RWG(nodes, tris)[source]¶
RWG basis functions on interior edges. f = alpha*(r - v) on each adjacent triangle.
- kicad2ems.emsdev.numerics.base.combine(rwg, Mrr, Mrx, Mry, M0)[source]¶
Assemble the Ne x Ne matrix of int int f_m . f_n K from triangle-pair moments.
- kicad2ems.emsdev.numerics.base.edge_frames(V)[source]¶
Per triangle (vertices V, (Nt, 3, 2), counter-clockwise) and edge: vector, length, unit tangent, outward normal.
- kicad2ems.emsdev.numerics.base.graded(u, grade)[source]¶
u in 0..1 graded toward both ends (cosine) by `grade` (0: uniform): the cells across a strip.