changed name of cldb.graph to cldb.neighbor.
[charm.git] / src / conv-ldb / cldb.neighbor.h
1 /*****************************************************************************
2  * $Source$
3  * $Author$
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7
8 #include "cldb.h"
9 /* for sqrt() */
10 #include <math.h>
11
12 typedef struct CldNeighborData
13 {
14   int pe, load;
15 } *CldNeighborData;
16
17 typedef struct loadmsg_s {
18   char header[CmiMsgHeaderSizeBytes];
19   int pe, load;
20 } loadmsg;
21
22 typedef struct requestmsg_s {
23   char header[CmiMsgHeaderSizeBytes];
24   int pe;
25 } requestmsg;
26
27 CpvDeclare(CldNeighborData, neighbors);
28 CpvDeclare(CmiGroup, neighborGroup);
29 CpvDeclare(int, numNeighbors);