Support functions for plotting
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)
- 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.