phipict.meshing.formats.vtk

Structured grids from VTK files.

read_vtk() reads XML structured grids (.vts) and multi-block files of them (.vtm), such as those of phipict.io.export.write_vtk() or ParaView, with ascii, base64 or raw appended data, optionally zlib-compressed. Other VTK files (e.g. legacy .vtk) are read with pyvista, if installed.

Functions

read_vtk(path[, rel_tol])

Read structured grids as a mesh.