| 10 | vtkStandardNewMacro(vtkPExecutableRunner); |
| 11 | |
| 12 | void vtkPExecutableRunner::Execute() |
| 13 | { |
| 14 | vtkMultiProcessController* controller = vtkMultiProcessController::GetGlobalController(); |
| 15 | int localProcessId = controller->GetLocalProcessId(); |
| 16 | if (localProcessId != this->ExecutionProcessId && this->ExecutionProcessId != -1) |
| 17 | { |
| 18 | return; |
| 19 | } |
| 20 | |
| 21 | vtkLogF(TRACE, "Executing command %s on rank %i", this->GetCommand(), localProcessId); |
| 22 | this->Superclass::Execute(); |
| 23 | } |
| 24 | |
| 25 | void vtkPExecutableRunner::PrintSelf(ostream& os, vtkIndent indent) |
| 26 | { |
no test coverage detected