kicad2ems.gfdtd.automesh¶
openEMS's automesh (python/openEMS/automesh.py, GPL-3.0, as upstream at openEMS
1b46454) on gfdtd's primitives: the mesh hints a box's edges give
(openEMS.AddEdges2Grid), and the CFL time step of a mesh.
- kicad2ems.gfdtd.automesh.mesh_estimate_cfl_timestep(mesh)[source]¶
The largest stable time step of a grid in vacuum, s.
- kicad2ems.gfdtd.automesh.mesh_hint_from_box(box, dirs, **kw)[source]¶
mesh_hint_from_box(box, dirs, metal_edge_res=None, up_dir=True, down_dir=True, mesh=None): [3 lists or None] of lines at the box's edges in dirs, with metal_edge_res: a third inside and two thirds outside each edge (openEMS's 2D metal-edge rule).