fem.gmsh.sdf_gmsh_tet_mesh

fem.gmsh.sdf_gmsh_tet_mesh(
    scene,
    grid,
    *,
    order=2,
    target_size=None,
    plugin=None,
    **options,
)

The whole public route: dual-contour scene on grid, mesh it with Gmsh.

Parameters

Name Type Description Default
scene Any An SDF node or a plain callable field. required
grid Any The :class:~cadjoint.meshing.GridSpec. required
order int 1 for TET4, 2 for TET10. 2
target_size float | None See :func:gmsh_tet_mesh. None
plugin str | None See :func:gmsh_tet_mesh. None
**options Any Forwarded to :func:gmsh_tet_mesh. {}

Returns

Name Type Description
The GmshMesh class:GmshMesh; stats["dc_seconds"] and stats["dc_triangles"] record the surface extraction.