remove unused variables and other cleanup to get a clean compilation.
[charm.git] / src / conv-com / 3dgridrouter.h
1 /*****************************************************************************
2  * $Source$
3  * $Author$
4  * $Date$
5  * $Revision$
6  *****************************************************************************/
7 /**
8    @addtogroup ConvComlibRouter
9    @{
10    @file 
11    @brief 3D Grid routing strategy 
12 */
13
14
15 #ifndef _D3GRIDROUTER_H
16 #define _D3GRIDROUTER_H
17
18 #include <math.h>
19 #include "petable.h"
20
21 //3DGrid based router
22 class D3GridRouter : public Router
23 {
24   private:
25         PeTable *PeGrid;
26         int **oneplane, *psize, *zline, *gpes;
27         int MyPe, NumPes, COLLEN, nPlanes;
28         int LPMsgCount, LPMsgExpected;
29         int recvExpected[2], recvCount[2];
30         int routerStage;
31         void InitVars();
32         void LocalProcMsg(comID id);
33         int nplanes;
34
35   public:
36         D3GridRouter(int, int, Strategy*);
37         ~D3GridRouter();
38         void NumDeposits(comID, int);
39         void EachToAllMulticast(comID , int , void *, int);
40         void EachToManyMulticast(comID , int , void *, int, int *, int);
41         void RecvManyMsg(comID, char *);
42         void ProcManyMsg(comID, char *);
43         void DummyEP(comID id, int);
44         void ProcMsg(int, msgstruct **) {;}
45         void SetMap(int *);
46 };
47
48 #endif
49
50 /*@}*/