00001 #ifndef MPIBorrow_h_seen
00002 #define MPIBorrow_h_seen
00003
00004 //requires:
00005 //#include <cca.h>
00006 //#include <mpi.h>
00007
00008 namespace gov {
00009 namespace cca {
00010
00013 class MPIBorrow : public virtual Port {
00014
00015 public:
00016
00018 virtual ~MPIBorrow() {}
00019
00033 virtual MPI_Comm borrowComm(int tagCount, int *tagList, int &key) = 0;
00034
00042 virtual void returnComm(MPI_Comm, int tagCount, int *tagList, int key) = 0;
00043 };
00044
00045 } ENDSEMI //cca
00046 } ENDSEMI //gov
00047
00048 #endif // MPIBorrow_h_seen
1.2.14 written by Dimitri van Heesch,
© 1997-2002