dolfinx.plot

Support functions for plotting

Functions

create_vtk_mesh(msh, dim[, entities])

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

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

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.