forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtkMPIPixelTT.cxx
35 lines (29 loc) · 1.63 KB
/
vtkMPIPixelTT.cxx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*=========================================================================
Program: Visualization Toolkit
Module: vtkMPIPixelTT.cxx
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#include "vtkMPIPixelTT.h"
#define vtkMPIPixelTTMacro2(_ctype, _mpiEnum, _vtkEnum) \
MPI_Datatype vtkMPIPixelTT<_ctype>::MPIType = _mpiEnum; \
int vtkMPIPixelTT<_ctype>::VTKType = _vtkEnum;
vtkMPIPixelTTMacro2(void, MPI_BYTE, VTK_VOID)
vtkMPIPixelTTMacro2(char, MPI_CHAR, VTK_CHAR)
vtkMPIPixelTTMacro2(signed char, MPI_CHAR, VTK_SIGNED_CHAR)
vtkMPIPixelTTMacro2(unsigned char, MPI_UNSIGNED_CHAR, VTK_UNSIGNED_CHAR)
vtkMPIPixelTTMacro2(short, MPI_SHORT, VTK_SHORT)
vtkMPIPixelTTMacro2(unsigned short, MPI_UNSIGNED_SHORT, VTK_UNSIGNED_SHORT)
vtkMPIPixelTTMacro2(int, MPI_INT, VTK_INT)
vtkMPIPixelTTMacro2(unsigned int, MPI_UNSIGNED, VTK_UNSIGNED_INT)
vtkMPIPixelTTMacro2(long, MPI_LONG, VTK_LONG)
vtkMPIPixelTTMacro2(unsigned long, MPI_UNSIGNED_LONG, VTK_UNSIGNED_LONG)
vtkMPIPixelTTMacro2(float, MPI_FLOAT, VTK_FLOAT)
vtkMPIPixelTTMacro2(double, MPI_DOUBLE, VTK_DOUBLE)
//vtkMPIPixelTTMacro2(vtkIdType, MPI_LONG_LONG, VTK_IDTYPE)
vtkMPIPixelTTMacro2(long long, MPI_LONG_LONG, VTK_LONG_LONG)
vtkMPIPixelTTMacro2(unsigned long long, MPI_UNSIGNED_LONG_LONG, VTK_UNSIGNED_LONG_LONG)