Created
May 3, 2022 09:49
-
-
Save reox/b7d1b1e3a5232a3ac8447818442f8ea7 to your computer and use it in GitHub Desktop.
Paraview: Programmable Filter to display the CellType of unstructured grids
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This programmable filter can be used on an unstructured grid to display the | |
# numerical value of the cell type (i.e., tet, hex, wedge, ...) | |
output.CellData.append(inputs[0].CellTypes, 'Cell_type') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment