2 #include "pcMaps.decl.h"
27 inline int procNum(
int,
const CkArrayIndex &iIndex)
30 short *sindex=(
short *) iIndex.data();
31 proc = maptable.get(sindex[0], sindex[1], sindex[2], sindex[3]);
33 if(numPes!=CkNumPes())
34 return(proc%CkNumPes());
Paircalc's map group that provides procNum() to place paircalc chares as determined by the map logic...
int procNum(int, const CkArrayIndex &iIndex)
this one uses a lookup table built by calling the slow version
MapType4 * getMapTable()
Let local code access the paircalc maptable I store. (for use by Ortho mapping code) ...