------------------------------------------------------------------------------
| 120 | |
| 121 | //------------------------------------------------------------------------------ |
| 122 | int 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 | //------------------------------------------------------------------------------ |
| 138 | void vtkProcessGroup::RemoveAllProcessIds() |