From d767cb5b2259d7f55c4a4062b18ebe6ae2f4607d Mon Sep 17 00:00:00 2001 From: "Gunther H. Weber" Date: Mon, 4 Oct 2021 20:24:20 -0700 Subject: [PATCH] Clean up debug output --- vtkm/filter/ContourTreeUniformDistributed.hxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/vtkm/filter/ContourTreeUniformDistributed.hxx b/vtkm/filter/ContourTreeUniformDistributed.hxx index fe25bad1a..d155b9417 100644 --- a/vtkm/filter/ContourTreeUniformDistributed.hxx +++ b/vtkm/filter/ContourTreeUniformDistributed.hxx @@ -657,7 +657,6 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute( this->MultiBlockSpatialDecomposition.LocalBlockSizes.ReadPortal().Get( static_cast(bi)); - std::cout << "LOCAL BLOCK SIZE: " << localDataBlocks[bi]->BlockSize << std::endl; // Save local tree information for fan out FIXME: Try to avoid copy localDataBlocks[bi]->ContourTrees.push_back(this->LocalContourTrees[bi]); localDataBlocks[bi]->InteriorForests.push_back(this->LocalInteriorForests[bi]); @@ -1153,6 +1152,7 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute( b->HierarchicalContourTree, mesh, idRelabeler, b->IntrinsicVolume); } +#ifdef DEBUG_PRINT std::cout << "Block " << b->BlockNo << std::endl; std::cout << "=========" << std::endl; vtkm::worklet::contourtree_augmented::PrintHeader(b->IntrinsicVolume.GetNumberOfValues(), @@ -1162,7 +1162,6 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute( vtkm::worklet::contourtree_augmented::PrintIndices( "Dependent Volume", b->DependentVolume, -1, std::cout); -#ifdef DEBUG_PRINT VTKM_LOG_S(vtkm::cont::LogLevel::Info, "Block " << b->BlockNo); VTKM_LOG_S(vtkm::cont::LogLevel::Info, b->HierarchicalContourTree.DebugPrint( @@ -1196,6 +1195,7 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute( hierarchical_hyper_sweep_master.foreach ( [&totalVolume, &rank](vtkm::worklet::contourtree_distributed::HyperSweepBlock* b, const vtkmdiy::Master::ProxyWithLink&) { +#ifdef DEBUG_PRINT std::cout << "Block " << b->BlockNo << std::endl; std::cout << "=========" << std::endl; vtkm::worklet::contourtree_augmented::PrintHeader(b->IntrinsicVolume.GetNumberOfValues(), @@ -1206,7 +1206,6 @@ VTKM_CONT void ContourTreeUniformDistributed::DoPostExecute( "Dependent Volume", b->DependentVolume, -1, std::cout); VTKM_LOG_S(vtkm::cont::LogLevel::Info, "Block " << b->BlockNo); -#ifdef DEBUG_PRINT VTKM_LOG_S( vtkm::cont::LogLevel::Info, b->HierarchicalContourTree.DebugPrint("Called from DumpVolumes", __FILE__, __LINE__));