dolfinx.plot

Support functions for plotting

Functions

create_vtk_mesh()

Create vtk mesh topology data for mesh entities of a given dimension.

dolfinx.plot.create_vtk_mesh(msh: Mesh, dim: Optional[int] = None, entities=None)[source]
dolfinx.plot.create_vtk_mesh(V: FunctionSpace, entities=None)

Create vtk mesh topology data for mesh entities of a given dimension. The vertex indices in the returned topology array are the indices for the associated entry in the mesh geometry.