You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Isovolume: clip by a range, of high-order fields too #419
There is no isovolume: the cells and parts of cells where a field lies between two values (ParaView's Iso Volume, vtkPVClipDataSet by scalar range). threshold keeps or drops whole cells (or whole sub-cells of high-order cells), and clip takes one value, so an isovolume has to be two clips, and that fails for high-order fields: clip of an order-p field returns PartitionedDataSet([whole, part]), and clip refuses a PartitionedDataSet (AttributeError: 'PartitionedDataSet' object has no attribute 'ghosts').
Wanted: a clip by a range, lower <= field <= upper, cutting cells at both levels:
linear cells by the clip tables, at both levels (or two passes on the linear path);
high-order fields through split_by_range, which already sorts cells by their Bernstein bound into kept whole, dropped and cut; the cut part refined and clipped at both levels, the whole part kept at its order, as clip does today.
Checked with order 3-5 fields on hexahedra and tetrahedra. Part of the high-order coverage of ParaView's common filters (Iso Volume), for orders up to 5.
Activity
Merge pull request Kitware#433 from berkgeveci/vis/isovolume