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

Function IsMixedShape

IO/CatalystConduit/vtkDataObjectToConduit.cxx:127–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125//----------------------------------------------------------------------------
126template <typename T>
127bool IsMixedShape(T* grid)
128{
129 int numShapes = ::GetNumShapes(grid);
130
131 int maxNumShapes = 0;
132 vtkMultiProcessController::GetGlobalController()->AllReduce(
133 &numShapes, &maxNumShapes, 1, vtkCommunicator::MAX_OP);
134 return maxNumShapes > 1;
135}
136
137//----------------------------------------------------------------------------
138void FillShapeMap(conduit_cpp::Node& shapeMapNode)

Callers 1

FillTopologyFunction · 0.85

Calls 2

GetNumShapesFunction · 0.85
AllReduceMethod · 0.45

Tested by

no test coverage detected