blob: 52403757a64e0d00a6c4db98e1c41cecb0d2c6cf (
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
38
39
40
41
42
|
/*@@
@header Register.h
@date Wed Dec 14 17:43:42 2005
@author Tom Goodale
@desc
This is a template header function
@enddesc
@version $Header$
@@*/
#ifndef _PUGH_REGISTER_H_
#define _PUGH_REGISTER_H_ 1
#ifdef __cplusplus
extern "C"
{
#endif
int PUGH_RegisterGenerateTopology(int (*GenerateTopology) (int dim,
int total_procs,
const int *nsize,
const int *nghostzones,
int *nprocs),
const char *topologyname);
int PUGH_RegisterP2L(
void *(*CreateP2LTranslation) (int dim,
int *nprocs,
int np),
int (*DestroyP2LTranslation) (void *table),
int (*PhysicalToLogical) (void *table,
int proc),
int (*LogicalToPhysical) (void *table,
int num),
const char *p2lname);
#ifdef __cplusplus
}
#endif
#endif /* _PUGH_REGISTER_H_ */
|