VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
dox
build
vtk6-46AyWH
vtk6-6.2.0+dfsg1
Parallel
MPI
vtkMPI.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkMPI.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
=========================================================================*/
15
16
#ifndef vtkMPI_h
17
#define vtkMPI_h
18
19
#ifndef USE_STDARG
20
#define USE_STDARG
21
#include "
vtkParallelMPIModule.h
"
// For export macro
22
#include "mpi.h"
23
#undef USE_STDARG
24
#else
25
#include "mpi.h"
26
#endif
27
28
#include "
vtkSystemIncludes.h
"
29
30
class
VTKPARALLELMPI_EXPORT
vtkMPICommunicatorOpaqueComm
31
{
32
public
:
33
vtkMPICommunicatorOpaqueComm
(MPI_Comm* handle = 0);
34
35
MPI_Comm* GetHandle();
36
37
friend
class
vtkMPICommunicator
;
38
friend
class
vtkMPIController
;
39
40
protected
:
41
MPI_Comm*
Handle
;
42
};
43
44
class
VTKPARALLELMPI_EXPORT
vtkMPICommunicatorReceiveDataInfo
45
{
46
public
:
47
vtkMPICommunicatorReceiveDataInfo
()
48
{
49
this->Handle=0;
50
}
51
MPI_Datatype
DataType
;
52
MPI_Status
Status
;
53
MPI_Comm*
Handle
;
54
};
55
56
class
VTKPARALLELMPI_EXPORT
vtkMPIOpaqueFileHandle
57
{
58
public
:
59
vtkMPIOpaqueFileHandle
() : Handle(MPI_FILE_NULL) { }
60
MPI_File
Handle
;
61
};
62
63
//-----------------------------------------------------------------------------
64
class
vtkMPICommunicatorOpaqueRequest
65
{
66
public
:
67
MPI_Request
Handle
;
68
};
69
70
71
#endif // vtkMPI_h
72
// VTK-HeaderTest-Exclude: vtkMPI.h
vtkMPIOpaqueFileHandle::Handle
MPI_File Handle
Definition:
vtkMPI.h:60
vtkMPICommunicatorReceiveDataInfo::DataType
MPI_Datatype DataType
Definition:
vtkMPI.h:51
vtkSystemIncludes.h
vtkMPICommunicatorReceiveDataInfo::vtkMPICommunicatorReceiveDataInfo
vtkMPICommunicatorReceiveDataInfo()
Definition:
vtkMPI.h:47
vtkMPICommunicatorOpaqueComm::Handle
MPI_Comm * Handle
Definition:
vtkMPI.h:41
vtkMPICommunicator
Class for creating user defined MPI communicators.
Definition:
vtkMPICommunicator.h:51
vtkMPIOpaqueFileHandle
Definition:
vtkMPI.h:56
vtkMPIOpaqueFileHandle::vtkMPIOpaqueFileHandle
vtkMPIOpaqueFileHandle()
Definition:
vtkMPI.h:59
vtkMPICommunicatorOpaqueComm
Definition:
vtkMPI.h:30
vtkParallelMPIModule.h
vtkMPIController
Process communication using MPI.
Definition:
vtkMPIController.h:60
vtkMPICommunicatorReceiveDataInfo::Handle
MPI_Comm * Handle
Definition:
vtkMPI.h:53
vtkMPICommunicatorReceiveDataInfo::Status
MPI_Status Status
Definition:
vtkMPI.h:52
vtkMPICommunicatorOpaqueRequest
Definition:
vtkMPI.h:64
vtkMPICommunicatorOpaqueRequest::Handle
MPI_Request Handle
Definition:
vtkMPI.h:67
vtkMPICommunicatorReceiveDataInfo
Definition:
vtkMPI.h:44
VTKPARALLELMPI_EXPORT
#define VTKPARALLELMPI_EXPORT
Definition:
vtkParallelMPIModule.h:15
Generated by
1.8.9.1