zoomy_core.mesh.mesh_extrude#
Pure-numpy helpers that extrude a 2D (or 1D) mesh’s points, elements and boundary faces by Nz
vertical layers.
Module Contents#
Functions#
Replicate |
|
Extruded element-vertex table: bottom-layer vertices followed by top-layer vertices. |
|
Extruded quad vertices for 2-vertex line elements, in cyclic order. |
|
Extruded boundary-face vertices, ordered bottom, sides, top. |
|
Owning extruded cell of each extruded boundary face, ordered bottom, sides, top. |
|
Boundary tag of each extruded boundary face (ordered bottom, sides, top), with two new tags for bottom and top. |
API#
- zoomy_core.mesh.mesh_extrude.extrude_points(points, Z)#
Replicate
pointsat each z inZ, layer by layer.
- zoomy_core.mesh.mesh_extrude.extrude_element_vertices(element_vertices, n_vertices, Nz)#
Extruded element-vertex table: bottom-layer vertices followed by top-layer vertices.
- zoomy_core.mesh.mesh_extrude.extrude_element_vertices_line(element_vertices, n_vertices, Nz)#
Extruded quad vertices for 2-vertex line elements, in cyclic order.
- zoomy_core.mesh.mesh_extrude.extrude_boundary_face_vertices(msh, Nz)#
Extruded boundary-face vertices, ordered bottom, sides, top.
- zoomy_core.mesh.mesh_extrude.extrude_boundary_face_corresponding_element(msh, Nz)#
Owning extruded cell of each extruded boundary face, ordered bottom, sides, top.
- zoomy_core.mesh.mesh_extrude.extrude_boundary_face_tags(msh, Nz)#
Boundary tag of each extruded boundary face (ordered bottom, sides, top), with two new tags for bottom and top.