BaseVolMesh.from_vertices_and_cells

classmethod BaseVolMesh.from_vertices_and_cells(vertices, cells)[source]

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.