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