Public Member Functions | |
HilbertArrayMap (void) | |
HilbertArrayMap (CkMigrateMessage *m) | |
~HilbertArrayMap () | |
int | registerArray (const CkArrayIndex &i, CkArrayID aid) |
int | procNum (int arrayHdl, const CkArrayIndex &i) |
void | pup (PUP::er &p) |
Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc. | |
Private Attributes | |
std::vector< int > | allpairs |
std::vector< int > | procList |
Definition at line 602 of file cklocation.C.
HilbertArrayMap::HilbertArrayMap | ( | void | ) | [inline] |
Definition at line 607 of file cklocation.C.
References Converse::CkNumPes(), and getHilbertList().
HilbertArrayMap::HilbertArrayMap | ( | CkMigrateMessage * | m | ) | [inline] |
Definition at line 613 of file cklocation.C.
HilbertArrayMap::~HilbertArrayMap | ( | ) | [inline] |
Definition at line 615 of file cklocation.C.
Reimplemented from DefaultArrayMap.
Definition at line 617 of file cklocation.C.
References coords, dims, Hilbert_to_int(), idx, index, int, DefaultArrayMap::registerArray(), and x.
binSize used in DefaultArrayMap is the floor of numChares/numPes but for this FastArrayMap, we need the ceiling
Reimplemented from DefaultArrayMap.
Definition at line 759 of file cklocation.C.
References hilbert_pair::coords, dest, int, and RRMap::procNum().
void HilbertArrayMap::pup | ( | PUP::er & | p | ) | [inline, virtual] |
Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc.
Reimplemented from DefaultArrayMap.
Definition at line 837 of file cklocation.C.
References DefaultArrayMap::pup().
std::vector<int> HilbertArrayMap::allpairs [private] |
Definition at line 604 of file cklocation.C.
std::vector<int> HilbertArrayMap::procList [private] |
Definition at line 605 of file cklocation.C.