19 #ifndef vtkMPIPixelView_h
20 #define vtkMPIPixelView_h
37 MPI_Initialized(&mpiOk);
40 std::cerr <<
"This class requires the MPI runtime." << std::endl;
47 MPI_Datatype nativeType;
48 iErr=MPI_Type_contiguous(
58 domain.
Size(domainDims);
64 decomp.
Size(decompDims);
72 unsigned long long nCells=decomp.
Size();
73 iErr=MPI_Type_contiguous((
int)nCells, nativeType, &view);
76 MPI_Type_free(&nativeType);
82 iErr=MPI_Type_create_subarray(
92 MPI_Type_free(&nativeType);
96 iErr=MPI_Type_commit(&view);
99 MPI_Type_free(&nativeType);
103 MPI_Type_free(&nativeType);