Simulation files
VTK cell component report
Group unstructured-grid cells connected by shared point indexes.
Your inputs
Start with an exampleYour result
Example resultAa — A small example of your colors.
How it works
Read POINTS, CELLS and CELL_TYPES, validate their declared sizes and group cells sharing any point ID. Report unused point indexes.
The sample triangle uses points 0–2 and its separate line uses 3–4, producing two components.
Limits
Legacy ASCII UNSTRUCTURED_GRID up to version 4.2, 20000 points/cells and linear types 1–14. Attributes are not analyzed. Equal coordinates with different indexes are not welded; this is not a manifold or solver-quality check.