MALOC
0.1
Main Page
Modules
Classes
Files
File List
File Members
src
psh
maloc
vmpi.h
Go to the documentation of this file.
1
38
#ifndef _VMPI_H_
39
#define _VMPI_H_
40
41
#include <
maloc/maloc_base.h
>
42
43
#include <
maloc/vsys.h
>
44
45
/*
46
* ***************************************************************************
47
* Class Vmpi: Parameters and datatypes
48
* ***************************************************************************
49
*/
50
51
57
struct
sVmpi
{
58
int
mpi_rank
;
59
int
mpi_size
;
60
};
61
67
typedef
struct
sVmpi
Vmpi
;
68
69
/*
70
* ***************************************************************************
71
* Class Vmpi: Inlineable methods (vmpi.c)
72
* ***************************************************************************
73
*/
74
75
#if !defined(VINLINE_MALOC)
76
#else
/* if defined(VINLINE_MALOC) */
77
#endif
/* if !defined(VINLINE_MALOC) */
78
88
int
Vmpi_init
(
int
*argc,
char
***argv);
89
97
int
Vmpi_finalize
(
void
);
98
106
Vmpi
*
Vmpi_ctor
(
void
);
107
116
void
Vmpi_dtor
(
Vmpi
**thee);
117
126
int
Vmpi_rank
(
Vmpi
*thee);
127
136
int
Vmpi_size
(
Vmpi
*thee);
137
146
int
Vmpi_barr
(
Vmpi
*thee);
147
159
int
Vmpi_send
(
Vmpi
*thee,
int
des,
char
*buf,
int
bufsize);
160
172
int
Vmpi_recv
(
Vmpi
*thee,
int
src,
char
*buf,
int
bufsize);
173
184
int
Vmpi_bcast
(
Vmpi
*thee,
char
*buf,
int
bufsize);
185
197
int
Vmpi_reduce
(
Vmpi
*thee,
char
*sbuf,
char
*rbuf,
int
bufsize);
198
210
int
Vmpi_isend
(
Vmpi
*thee,
int
des,
char
*buf,
int
bufsize);
211
212
#endif
/* _VMPI_H_ */
213
214
Generated by
1.8.4