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

Method GetLocalProcessId

Parallel/Core/vtkMultiProcessController.cxx:183–194  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

181
182//------------------------------------------------------------------------------
183int vtkMultiProcessController::GetLocalProcessId()
184{
185 if (this->Communicator)
186 {
187 return this->Communicator->GetLocalProcessId();
188 }
189 else
190 {
191 vtkErrorMacro("Communicator not set.");
192 return -1;
193 }
194}
195
196//------------------------------------------------------------------------------
197void vtkMultiProcessController::SetSingleMethod(vtkProcessFunctionType f, void* data)

Callers 8

CreateSubControllerMethod · 0.95
TriggerRMIMethod · 0.95
TriggerRMIInternalMethod · 0.95
TriggerBreakRMIsMethod · 0.95
ProcessRMIMethod · 0.95
ReduceMethod · 0.95
AllReduceMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected