Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Parallel/vtkMPI.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkMPI.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00016 
00017 #ifndef __vtkMPI_h
00018 #define __vtkMPI_h
00019 
00020 #include "mpi.h"
00021 #include "vtkSystemIncludes.h"
00022 
00023 class VTK_PARALLEL_EXPORT vtkMPICommunicatorOpaqueComm
00024 {
00025 public:
00026   vtkMPICommunicatorOpaqueComm();
00027 
00028   MPI_Comm* GetHandle();
00029 
00030   friend class vtkMPICommunicator;
00031   friend class vtkMPIController;
00032 
00033 protected:
00034   MPI_Comm* Handle;
00035 };
00036 
00037 
00038 #endif // __vtkMPI_h