summaryrefslogtreecommitdiff
path: root/src/include/CactusCommFunctions.h
blob: 329fa9f81edc62ff8cba3d60f7f52c608c193c05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
 /*@@
   @header    CactusCommFunctions.h
   @date      Thu Jan 14 18:37:58 1999
   @author    Tom Goodale
   @desc 
   Overloadable communication functions
   @enddesc 
 @@*/
 
/* $Id$ */

#ifndef _CACTUSCOMMFUNCTIONS_H_
#define _CACTUSCOMMFUNCTIONS_H_

#ifdef _cplusplus
extern "C" {
#endif

/* The functions. */

extern cGH * (*SetupGH)(tFleshConfig *, int);
extern int (*SetupGF)(cGH *, cGF *);

extern int (*SyncAllFuncs)(cGH *);
extern int (*SyncGroupFuncs)(cGH *, const char *group);
extern int (*SyncOneFunc)(cGH*, int );

extern int (*ParallelInit)(tFleshConfig *);
extern int (*ParallelFinalise)(tFleshConfig *);

extern int (*Reduce)(cGH *, int , int operation, void *result);

#ifdef _cplusplus
	   }
#endif

#endif