dolfinx.plot
Support functions for plotting.
Functions
|
Create VTK mesh topology based on the degree-of-freedom coordinates. |
|
Create VTK mesh topology data for mesh entities. |
- dolfinx.plot.vtk_mesh(msh: Mesh, dim: int | None = None, entities=None)[source]
- dolfinx.plot.vtk_mesh(V: FunctionSpace, entities=None)
Create VTK mesh topology data for mesh entities.
The vertex indices in the returned topology array are the indices for the associated entry in the mesh geometry.
- Parameters:
msh – Mesh to extract data from.
dim – Topological dimension of entities to extract.
entities – Entities to extract. Extract all if
None.
- Returns:
Topology, type for each cell, and geometry in VTK-ready format.