53 #ifndef vtk_m_filter_scalar_topology_internal_ComputeBlockIndices_h_
54 #define vtk_m_filter_scalar_topology_internal_ComputeBlockIndices_h_
64 VTKM_THIRDPARTY_PRE_INCLUDE
65 #include <vtkm/thirdparty/diy/Configure.h>
66 #include <vtkm/thirdparty/diy/diy.h>
67 VTKM_THIRDPARTY_POST_INCLUDE
74 namespace scalar_topology
79 using DiscreteBoundsDivisionVector =
80 vtkmdiy::RegularDecomposer<vtkmdiy::DiscreteBounds>::DivisionsVector;
83 DiscreteBoundsDivisionVector& diyDivisions,
84 std::vector<int>& diyLocalBlockGids);
86 VTKM_CONT vtkmdiy::DiscreteBounds ComputeBlockIndices(
90 DiscreteBoundsDivisionVector& diyDivisions,
91 std::vector<int>& diyLocalBlockGids);