dolfinx.plot

Support functions for plotting

Functions

create_vtk_topology(mesh, dim[, entities])

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

dolfinx.plot.create_vtk_topology(mesh: dolfinx.cpp.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.