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

Function GenerateProcessIds

Filters/Parallel/vtkHyperTreeGridGenerateProcessIds.cxx:22–31  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

20
21//------------------------------------------------------------------------------
22vtkSmartPointer<vtkConstantArray<vtkIdType>> GenerateProcessIds(
23 vtkIdType piece, vtkIdType numberOfTuples)
24{
25 vtkNew<vtkConstantArray<vtkIdType>> arr;
26 arr->ConstructBackend(piece);
27 arr->SetNumberOfComponents(1);
28 arr->SetNumberOfTuples(numberOfTuples);
29
30 return arr;
31}
32}
33
34//------------------------------------------------------------------------------

Callers 1

RequestDataMethod · 0.85

Calls 2

SetNumberOfComponentsMethod · 0.45
SetNumberOfTuplesMethod · 0.45

Tested by

no test coverage detected