Go to the documentation of this file.
26 #ifndef vtkPPainterCommunicator_h
27 #define vtkPPainterCommunicator_h
30 #include "vtkRenderingParallelLICModule.h"
32 class vtkPPainterCommunicatorInternals;
33 class vtkMPICommunicatorOpaqueComm;
45 { this->
Copy(&other,
false); }
48 { this->
Copy(&other,
false);
return *
this; }
115 vtkPPainterCommunicatorInternals *Internals;
void GetCommunicator(vtkMPICommunicatorOpaqueComm *comm)
virtual ~vtkPPainterCommunicator()
vtkPPainterCommunicator()
virtual int GetWorldRank()
Querry MPI for information about the world communicator.
static bool MPIFinalized()
static bool MPIInitialized()
virtual void Duplicate(const vtkPainterCommunicator *other)
Duplicate the communicator.
void SetCommunicator(vtkMPICommunicatorOpaqueComm *comm)
Set/Get the communicator.
virtual void Copy(const vtkPainterCommunicator *, bool)
Copy the communicator, the flag indicates if ownership should be assumed.
vtkPPainterCommunicator & operator=(const vtkPPainterCommunicator &other)
virtual int GetWorldSize()
virtual bool GetMPIInitialized()
Querry MPI state.
virtual void Copy(const vtkPainterCommunicator *other, bool ownership)
Copy the communicator.
A communicator that can safely be used inside a painter.
virtual int GetRank()
Querry MPI for information about the communicator.
static vtkMPICommunicatorOpaqueComm * GetGlobalCommunicator()
Get VTK's world communicator.
void SubsetCommunicator(vtkMPICommunicatorOpaqueComm *comm, int include)
Creates a new communicator with/without the calling processes as indicated by the passed in flag,...
vtkPPainterCommunicator(const vtkPPainterCommunicator &other)
Copier and assignment operators.
virtual bool GetMPIFinalized()