NEOCCA bindings Specification  0.2.8
MPIService.hh
Go to the documentation of this file.
1 #ifndef neoMPIService_h_seen
2 #define neoMPIService_h_seen
3 
4 //requires:
5 //#include <neocca.h>
6 //#include <mpi.h>
7 #ifdef MPI_COMM_NULL // this file is empty if mpi.h is not included
8 
9 
10 namespace neo {
11 namespace cca {
12 namespace ports {
13 
18 class MPIService : public virtual neo::cca::Port {
19 private:
20 public:
21 
22 
24  virtual ~MPIService() {}
25 
30  virtual MPI_Comm getComm()= 0;
31 
33  virtual void releaseComm(MPI_Comm m)= 0;
34 
35 };
36 
37 } // end namespace ports
38 } // end namespace cca
39 } // end namespace neo
40 
41 #endif // MPI_CONGRUENT
42 #endif // neoMPIService_h_seen
A pure-virtual tag interface to identify a function set capable of being exported to or imported from...
Definition: Port.hh:17
This is neoclassic – the ::classic::gov::cca headers updated to be similar to the official CCA speci...
Definition: neocca.hh:62