Commit 3f8da6e7 authored by Kenneth Moreland's avatar Kenneth Moreland

Fix some debugging code that should not have been there

parent 52cecefb
...@@ -140,12 +140,14 @@ public: ...@@ -140,12 +140,14 @@ public:
void TestContourWedges() const void TestContourWedges() const
{ {
std::cout << "Testing Contour filter on wedge cells" << std::endl;
auto pathname = vtkm::cont::testing::Testing::DataPath("unstructured/wedge_cells.vtk"); auto pathname = vtkm::cont::testing::Testing::DataPath("unstructured/wedge_cells.vtk");
vtkm::io::VTKDataSetReader reader(pathname); vtkm::io::VTKDataSetReader reader(pathname);
vtkm::cont::DataSet dataSet = reader.ReadDataSet(); vtkm::cont::DataSet dataSet = reader.ReadDataSet();
vtkm::cont::CellSetExplicit<> cellSet; vtkm::cont::CellSetSingleType<> cellSet;
dataSet.GetCellSet().CopyTo(cellSet); dataSet.GetCellSet().CopyTo(cellSet);
vtkm::cont::ArrayHandle<vtkm::Float32> fieldArray; vtkm::cont::ArrayHandle<vtkm::Float32> fieldArray;
......
...@@ -65,8 +65,7 @@ void VTKUnstructuredGridReader::Read() ...@@ -65,8 +65,7 @@ void VTKUnstructuredGridReader::Read()
vtkm::io::internal::FixupCellSet(connectivity, numIndices, shapes, permutation); vtkm::io::internal::FixupCellSet(connectivity, numIndices, shapes, permutation);
this->SetCellsPermutation(permutation); this->SetCellsPermutation(permutation);
//DRP if (vtkm::io::internal::IsSingleShape(shapes))
if (false) //vtkm::io::internal::IsSingleShape(shapes))
{ {
vtkm::cont::CellSetSingleType<> cellSet; vtkm::cont::CellSetSingleType<> cellSet;
cellSet.Fill( cellSet.Fill(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment