- gstools.tools.to_vtk_unstructured(pos, fields)
Export a field to vtk structured rectilinear grid file.
list) – the position tuple, containing main direction and transversal directions
numpy.ndarray) – Unstructured fields to be saved. Either a single numpy array as returned by SRF, or a dictionary of fields with theirs names as keys.
A PyVista unstructured grid of the unstructured field data. Data arrays live on the point data of this PyVista dataset. This is essentially a point cloud with no topology.
- Return type