debug dashboards.....

This commit is contained in:
Dave Pugmire 2022-08-09 09:29:43 -04:00
parent 67f83b230b
commit aaf4be942e
2 changed files with 4 additions and 2 deletions

@ -246,6 +246,7 @@ void TestCellLocator(const vtkm::Vec<vtkm::Id, DIMENSIONS>& dim, vtkm::Id number
std::vector<vtkm::cont::CellLocatorTwoLevel::LastCell> lastCell(numberOfPoints);
auto lastCellArray = vtkm::cont::make_ArrayHandle(lastCell, vtkm::CopyFlag::On);
//vtkm::cont::printSummary_ArrayHandle(lastCellArray, std::cout);
invoker(FindCellWorkletWithLastCell{}, points, locator, cellIds, pcoords, lastCellArray);
//Call it again so that it uses the last-cell array. We should get the same results.
@ -284,8 +285,8 @@ void TestingCellLocatorTwoLevel()
std::cout << "Seed: " << seed << std::endl;
RandomGenerator.seed(seed);
TestCellLocator(vtkm::Id3(8), 512); // 3D dataset
TestCellLocator(vtkm::Id2(18), 512); // 2D dataset
TestCellLocator(vtkm::Id3(8), 8); // 3D dataset
TestCellLocator(vtkm::Id2(18), 8); // 2D dataset
}
} // anonymous

@ -284,6 +284,7 @@ private:
{
lastCell.CellId = cellId;
lastCell.LeafIdx = leafIdx;
std::cout << " ::FindCell() " << lastCell.CellId << " " << lastCell.LeafIdx << std::endl;
return vtkm::ErrorCode::Success;
}