mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 01:49:02 +00:00
switched back to the old version of extract_edges
This commit is contained in:
parent
0300973df7
commit
5fc268d312
@ -89,9 +89,9 @@ struct EdgeIndicesWorklet : vtkm::worklet::WorkletReduceByKey
|
||||
auto cellShape = cellSet.GetCellShape(originCells[0]);
|
||||
|
||||
vtkm::IdComponent pointInCellIndex0;
|
||||
vtkm::exec::CellEdgeLocalIndex(numPointsInCell, 0, edgeIndex, cellShape, pointInCellIndex0));
|
||||
vtkm::exec::CellEdgeLocalIndex(numPointsInCell, 0, edgeIndex, cellShape, pointInCellIndex0);
|
||||
vtkm::IdComponent pointInCellIndex1;
|
||||
vtkm::exec::CellEdgeLocalIndex(numPointsInCell, 1, edgeIndex, cellShape, pointInCellIndex1));
|
||||
vtkm::exec::CellEdgeLocalIndex(numPointsInCell, 1, edgeIndex, cellShape, pointInCellIndex1);
|
||||
|
||||
auto globalPointIndicesForCell = cellSet.GetIndices(originCells[0]);
|
||||
connectivityOut[0] = globalPointIndicesForCell[pointInCellIndex0];
|
||||
|
Loading…
Reference in New Issue
Block a user