VTK
vtkMPI4PyCommunicator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkMPI4PyCommunicator.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
25 #ifndef vtkMPI4PyCommunicator_h
26 #define vtkMPI4PyCommunicator_h
27 
28 #include "vtkPython.h" // For PyObject*; must be first
29 
30 #include "vtkParallelMPI4PyModule.h" // For export macro
31 #include "vtkObject.h"
32 
33 class vtkMPICommunicator;
34 
36 {
37 public:
38 
40  void PrintSelf(ostream& os, vtkIndent indent);
41 
44 
47 
50 
51 private:
52  vtkMPI4PyCommunicator(const vtkMPI4PyCommunicator&); // Not implemented.
53  void operator=(const vtkMPI4PyCommunicator&); // Not implemented.
54 };
55 
56 #endif
vtkMPI4PyCommunicator::vtkMPI4PyCommunicator
vtkMPI4PyCommunicator()
VTKPARALLELMPI4PY_EXPORT
#define VTKPARALLELMPI4PY_EXPORT
Definition: vtkParallelMPI4PyModule.h:15
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
PyObject
struct _object PyObject
Definition: vtkMatplotlibMathTextUtilities.h:37
vtkMPI4PyCommunicator::ConvertToVTK
static vtkMPICommunicator * ConvertToVTK(PyObject *comm)
vtkMPICommunicator
Class for creating user defined MPI communicators.
Definition: vtkMPICommunicator.h:52
vtkMPI4PyCommunicator::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkMPI4PyCommunicator::ConvertToPython
static PyObject * ConvertToPython(vtkMPICommunicator *comm)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkObject.h
vtkMPI4PyCommunicator
Class for bridging MPI4Py with vtkMPICommunicator.
Definition: vtkMPI4PyCommunicator.h:36
vtkParallelMPI4PyModule.h
vtkMPI4PyCommunicator::New
static vtkMPI4PyCommunicator * New()