Fixing logs to distinguish candidate meshes in isosurfaces vs. actual meshes on branches

This commit is contained in:
Mingzhe Li 2024-06-17 17:53:26 -07:00
parent 154c9bdb01
commit fbc5c33380

@ -1201,6 +1201,10 @@ VTKM_CONT vtkm::cont::PartitionedDataSet SelectTopVolumeContoursFilter::DoExecut
#endif // DEBUG_PRINT
}
b->IsosurfaceIsoValue = isosurfaceIsoValue;
const vtkm::Id nMeshesOnBranches = globalPointDimensions[2] <= 1
? b->IsosurfaceEdgesFrom.GetNumberOfValues()
: b->IsosurfaceEdgesFrom.GetNumberOfValues() / 3;
VTKM_LOG_S(TimingsLogLevel,
std::endl
<< "----------- Draw Isosurface (block=" << b->LocalBlockNo << ")------------"
@ -1208,7 +1212,9 @@ VTKM_CONT vtkm::cont::PartitionedDataSet SelectTopVolumeContoursFilter::DoExecut
<< " " << std::setw(60) << std::left << "Number of Contours: " << nContours
<< std::endl
<< " " << std::setw(60) << std::left
<< "Number of Isosurface Meshes: " << nContourCandidateMeshes << std::endl);
<< "Number of Isosurface Meshes: " << nContourCandidateMeshes << std::endl
<< " " << std::setw(60) << std::left
<< "Number of Meshes On Branches: " << nMeshesOnBranches << std::endl);
};
b->TopVolumeBranchSaddleIsoValue
.CastAndCallForTypes<vtkm::TypeListScalarAll, vtkm::cont::StorageListBasic>(resolveArray);