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

Method SetController

IO/ADIOS2/vtkADIOS2CoreImageReader.cxx:282–295  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

280
281//------------------------------------------------------------------------------
282void vtkADIOS2CoreImageReader::SetController(vtkMultiProcessController* controller)
283{
284#if VTK_MODULE_ENABLE_VTK_ParallelMPI
285 vtkMPIController* mpiController = vtkMPIController::SafeDownCast(controller);
286 if (controller && !mpiController)
287 {
288 vtkErrorMacro(
289 "vtkADIOS2CoreImageReader is built with MPI but an invalid MPI controller is provided");
290 return;
291 }
292#endif
293
294 vtkSetSmartPointerBodyMacro(Controller, vtkMultiProcessController, controller);
295}
296
297//------------------------------------------------------------------------------
298int vtkADIOS2CoreImageReader::ProcessRequest(

Calls

no outgoing calls