------------------------------------------------------------------------------
| 693 | |
| 694 | //------------------------------------------------------------------------------ |
| 695 | std::vector<int> vtkHyperTreeGridGeometricLocator::GetSortingMap( |
| 696 | const std::vector<double>& other) const |
| 697 | { |
| 698 | std::vector<int> map(other.size()); |
| 699 | std::iota(map.begin(), map.end(), 0); |
| 700 | std::sort(map.begin(), map.end(), [&other](int i0, int i1) { return (other[i0] < other[i1]); }); |
| 701 | return map; |
| 702 | } |
| 703 | VTK_ABI_NAMESPACE_END |
no test coverage detected