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

Method RemoveProcessId

Parallel/Core/vtkProcessGroup.cxx:122–135  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

120
121//------------------------------------------------------------------------------
122int vtkProcessGroup::RemoveProcessId(int processId)
123{
124 int loc = this->FindProcessId(processId);
125 if (loc < 0)
126 return 0;
127
128 this->NumberOfProcessIds--;
129 for (int i = loc; i < this->NumberOfProcessIds; i++)
130 {
131 this->ProcessIds[i] = this->ProcessIds[i + 1];
132 }
133 this->Modified();
134 return 1;
135}
136
137//------------------------------------------------------------------------------
138void vtkProcessGroup::RemoveAllProcessIds()

Callers 1

Calls 2

FindProcessIdMethod · 0.95
ModifiedMethod · 0.45

Tested by 1