26#ifndef vtkPPainterCommunicator_h
27#define vtkPPainterCommunicator_h
30#include "vtkRenderingParallelLICModule.h"
32class vtkPPainterCommunicatorInternals;
33class vtkMPICommunicatorOpaqueComm;
47 this->
Copy(&other,
false);
52 this->
Copy(&other,
false);
121 vtkPPainterCommunicatorInternals* Internals;
static vtkMPICommunicatorOpaqueComm * GetGlobalCommunicator()
Get VTK's world communicator.
virtual int GetSize()
Query MPI for information about the communicator.
virtual bool GetIsNull()
Query MPI for information about the communicator.
virtual bool GetMPIFinalized()
virtual int GetWorldSize()
Query MPI for information about the world communicator.
vtkPPainterCommunicator & operator=(const vtkPPainterCommunicator &other)
virtual void Copy(const vtkPainterCommunicator *other, bool ownership)
Copy the communicator.
vtkPPainterCommunicator(const vtkPPainterCommunicator &other)
Copier and assignment operators.
virtual int GetWorldRank()
Query MPI for information about the world communicator.
void * GetCommunicator()
Set/Get the communicator.
virtual void Duplicate(const vtkPainterCommunicator *other)
Duplicate the communicator.
virtual bool GetMPIInitialized()
Query 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()
Query 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.