MCPcopy Create free account
hub / github.com/Kitware/VTK / GetGlobalBounds

Function GetGlobalBounds

Filters/ParallelDIY2/vtkNativePartitioningStrategy.cxx:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28constexpr double BOUNDING_BOX_INFLATION_RATIO = 0.01;
29
30vtkBoundingBox GetGlobalBounds(vtkDataObject* dobj, diy::mpi::communicator& comm)
31{
32 auto lbounds = vtkDIYUtilities::GetLocalBounds(dobj);
33 vtkDIYUtilities::AllReduce(comm, lbounds);
34 return lbounds;
35}
36
37struct PartitionDistributionWorklet
38{

Callers 1

InitializeCutsMethod · 0.85

Calls 1

AllReduceFunction · 0.50

Tested by

no test coverage detected