/[escript]/temp/paso/src/Paso_MPI.h
ViewVC logotype

Annotation of /temp/paso/src/Paso_MPI.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 731 - (hide annotations)
Mon May 15 04:09:52 2006 UTC (13 years, 2 months ago) by bcumming
Original Path: trunk/paso/src/Paso_MPI.h
File MIME type: text/plain
File size: 579 byte(s)


1 bcumming 731 #ifndef INC_MPI
2     #define INC_MPI
3    
4     #include "mpi_C.h"
5     #include "Common.h"
6    
7     #define PASO_MPI_TODO { fprintf( stdout, "\nTODO : %s:%d\n", __FILE__, __LINE__); MPI_Finalize(); exit(1); }
8    
9     /* Datatypes */
10     struct Paso_MPIInfo{
11     dim_t reference_counter;
12     int size;
13     int rank;
14     MPI_Comm comm;
15     };
16    
17     typedef struct Paso_MPIInfo Paso_MPIInfo;
18    
19     /* Function prototypes */
20     Paso_MPIInfo* Paso_MPIInfo_alloc( MPI_Comm comm );
21     void Paso_MPIInfo_dealloc( Paso_MPIInfo* );
22     Paso_MPIInfo *Paso_MPIInfo_getReference( Paso_MPIInfo* in );
23     int Paso_MPI_initialized( void );
24    
25     #endif

  ViewVC Help
Powered by ViewVC 1.1.26