Skip to content
Snippets Groups Projects
Commit 4174efe2 authored by Spiros Tsalikis's avatar Spiros Tsalikis
Browse files

vtkStructuredDataPlaneCutter: Remove ghosts after FlyingEdges if possible

vtkFlyingEdgesPlaneCutter does not remove ghosts. If it interpolated its
cell attributes and ghost are present, then we can remove them using RemoveGhostCells.
This way, we use the highly optimized vtkFlyingEdgesPlaneCutter instead of
vtkStructuredDataPlaneCutter which is also fast, but not as fast.

Also improve the speed of checking if ghost/blank cells are present using a bit mask.
Finally, also check if refined cells are present to produce the correct result for AMR.
That's why the number of output cells in the TestCompositeCutter needs to change.
parent 05e6ee1a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment