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

contrib/maloc/src/psh/maloc/vmp.h

Go to the documentation of this file.
00001 
00030 #ifndef _VMP_H_
00031 #define _VMP_H_
00032 
00033 #include <maloc/maloc_base.h>
00034 
00035 #include <maloc/vsys.h>
00036 #include <maloc/vmpi.h>
00037 #include <maloc/vcom.h>
00038 
00039 /*
00040  * ***************************************************************************
00041  * Class Vmp: Parameters and datatypes
00042  * ***************************************************************************
00043  */
00044 
00046 typedef struct Vmp {
00047     int  mpi_rank;     
00048     int  mpi_size;     
00049 } Vmp;
00050 
00051 /*
00052  * ***************************************************************************
00053  * Class Vmp: Inlineable methods (vmp.c)
00054  * ***************************************************************************
00055  */
00056 
00057 #if !defined(VINLINE_MALOC)
00058 #else /* if defined(VINLINE_MALOC) */
00059 #endif /* if !defined(VINLINE_MALOC) */
00060 
00061 
00063 VEXTERNC int Vmp_init(int *argc, char ***argv);
00065 VEXTERNC int Vmp_finalize(void);
00066 
00068 VEXTERNC Vmp* Vmp_ctor(void);
00070 VEXTERNC void Vmp_dtor(Vmp **thee);
00071 
00073 VEXTERNC int Vmp_rank(Vmp *thee);
00075 VEXTERNC int Vmp_size(Vmp *thee);
00077 VEXTERNC int Vmp_barr(Vmp *thee);
00078 
00080 VEXTERNC int Vmp_send(Vmp *thee, int des, char *buf, int bufsize);
00082 VEXTERNC int Vmp_recv(Vmp *thee, int src, char *buf, int bufsize);
00083 
00084 #endif /* _VMP_H_ */
00085 

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