• Main Page
  • Related Pages
  • Modules
  • Namespaces
  • Data Structures
  • Files
  • File List
  • Globals

contrib/maloc/src/psh/maloc/vmpi.h

Go to the documentation of this file.
00001 
00031 #ifndef _VMPI_H_
00032 #define _VMPI_H_
00033 
00034 #include <maloc/maloc_base.h>
00035 
00036 #include <maloc/vsys.h>
00037 
00038 /*
00039  * ***************************************************************************
00040  * Class Vmpi: Parameters and datatypes
00041  * ***************************************************************************
00042  */
00043 
00044 
00047 typedef struct Vmpi {
00048     int  mpi_rank;     
00049     int  mpi_size;     
00050 } Vmpi;
00051 
00052 /*
00053  * ***************************************************************************
00054  * Class Vmpi: Inlineable methods (vmpi.c)
00055  * ***************************************************************************
00056  */
00057 
00058 #if !defined(VINLINE_MALOC)
00059 #else /* if defined(VINLINE_MALOC) */
00060 #endif /* if !defined(VINLINE_MALOC) */
00061 
00063 VEXTERNC int Vmpi_init(int *argc, char ***argv);
00065 VEXTERNC int Vmpi_finalize(void);
00066 
00068 VEXTERNC Vmpi* Vmpi_ctor(void);
00070 VEXTERNC void Vmpi_dtor(Vmpi **thee);
00071 
00073 VEXTERNC int Vmpi_rank(Vmpi *thee);
00075 VEXTERNC int Vmpi_size(Vmpi *thee);
00077 VEXTERNC int Vmpi_barr(Vmpi *thee);
00078 
00080 VEXTERNC int Vmpi_send(Vmpi *thee, int des, char *buf, int bufsize);
00082 VEXTERNC int Vmpi_recv(Vmpi *thee, int src, char *buf, int bufsize);
00083 
00085 VEXTERNC int Vmpi_bcast(Vmpi *thee, char *buf, int bufsize);
00087 VEXTERNC int Vmpi_reduce(Vmpi *thee, char *sbuf, char *rbuf, int bufsize);
00089 VEXTERNC int Vmpi_isend(Vmpi *thee, int des, char *buf, int bufsize);
00090 
00091 #endif /* _VMPI_H_ */
00092 

Generated on Wed Oct 20 2010 11:12:14 for APBS by  doxygen 1.7.2