diff --git a/examples/contour_tree_distributed/ContourTreeApp.cxx b/examples/contour_tree_distributed/ContourTreeApp.cxx index 89c09dc54..02b77b4bc 100644 --- a/examples/contour_tree_distributed/ContourTreeApp.cxx +++ b/examples/contour_tree_distributed/ContourTreeApp.cxx @@ -152,42 +152,6 @@ private: std::vector mCLOptions; }; -/* -struct PrintArrayContentsFunctor -{ - template - VTKM_CONT void operator()(const vtkm::cont::ArrayHandle& array) const - { - this->PrintArrayPortal(array.GetPortalConstControl()); - } - -private: - template - VTKM_CONT void PrintArrayPortal(const PortalType& portal) const - { - for (vtkm::Id index = 0; index < portal.GetNumberOfValues(); index++) - { - // All ArrayPortal objects have ValueType for the type of each value. - using ValueType = typename PortalType::ValueType; - - ValueType value = portal.Get(index); - vtkm::IdComponent numComponents = - vtkm::VecTraits ::GetNumberOfComponents(value); - for (vtkm::IdComponent componentIndex = 0; componentIndex < numComponents; componentIndex ++) - { - std::cout << " " << vtkm::VecTraits::GetComponent(value, componentIndex); - } - //std::cout << std::endl; - } - } -}; - -template -void PrintArrayContents(const VariantArrayType& array) -{ - array.CastAndCall(PrintArrayContentsFunctor()); -} -*/ // Compute and render an isosurface for a uniform grid example int main(int argc, char* argv[])