VolMesh.from_vertices_and_cells
-
classmethod
VolMesh.
from_vertices_and_cells
(vertices, cells) Construct a volmesh object from vertices and cells.
- Parameters
vertices (list) – Ordered list of vertices, represented by their XYZ coordinates.
cells (lists of lists) – List of cells (list of faces).
- Returns
Volmesh – A volmesh object.