discretize.SimplexMesh.vtk_to_simplex_mesh#
- classmethod SimplexMesh.vtk_to_simplex_mesh(vtuGrid)[source]#
Convert an unstructured grid of simplices to a SimplexMesh.
Convert
vtkUnstructuredGridorUnstructuredGridobject to aSimplexMeshobject.- Parameters:
- vtrGrid
vtkUnstructuredGridorUnstructuredGrid A VTK or PyVista unstructured grid object
- vtrGrid
- Returns:
discretize.SimplexMeshA discretize tensor mesh