Fix some debugging code that should not have been there

This commit is contained in:
Kenneth Moreland 2020-09-01 14:21:09 -06:00
parent 52cecefba0
commit 3f8da6e7e1
2 changed files with 4 additions and 3 deletions

@ -140,12 +140,14 @@ public:
void TestContourWedges() const
{
std::cout << "Testing Contour filter on wedge cells" << std::endl;
auto pathname = vtkm::cont::testing::Testing::DataPath("unstructured/wedge_cells.vtk");
vtkm::io::VTKDataSetReader reader(pathname);
vtkm::cont::DataSet dataSet = reader.ReadDataSet();
vtkm::cont::CellSetExplicit<> cellSet;
vtkm::cont::CellSetSingleType<> cellSet;
dataSet.GetCellSet().CopyTo(cellSet);
vtkm::cont::ArrayHandle<vtkm::Float32> fieldArray;

@ -65,8 +65,7 @@ void VTKUnstructuredGridReader::Read()
vtkm::io::internal::FixupCellSet(connectivity, numIndices, shapes, permutation);
this->SetCellsPermutation(permutation);
//DRP
if (false) //vtkm::io::internal::IsSingleShape(shapes))
if (vtkm::io::internal::IsSingleShape(shapes))
{
vtkm::cont::CellSetSingleType<> cellSet;
cellSet.Fill(