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

Method FindProcessId

Parallel/Core/vtkProcessGroup.cxx:98–106  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

96
97//------------------------------------------------------------------------------
98int vtkProcessGroup::FindProcessId(int processId)
99{
100 for (int i = 0; i < this->NumberOfProcessIds; i++)
101 {
102 if (this->ProcessIds[i] == processId)
103 return i;
104 }
105 return -1;
106}
107
108//------------------------------------------------------------------------------
109int vtkProcessGroup::AddProcessId(int processId)

Callers 6

GetLocalProcessIdMethod · 0.95
AddProcessIdMethod · 0.95
RemoveProcessIdMethod · 0.95
CreateSubControllerMethod · 0.80
RequestDataMethod · 0.80
RedistributeAndCheckFunction · 0.80

Calls

no outgoing calls

Tested by 1

RedistributeAndCheckFunction · 0.64