PPL Logo

HilbertArrayMap Class Reference

Inheritance diagram for HilbertArrayMap:

Inheritance graph
[legend]
Collaboration diagram for HilbertArrayMap:

Collaboration graph
[legend]

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< intallpairs
std::vector< intprocList

Detailed Description

Definition at line 602 of file cklocation.C.


Constructor & Destructor Documentation

HilbertArrayMap::HilbertArrayMap ( void   )  [inline]

Definition at line 607 of file cklocation.C.

References Converse::CkNumPes(), and getHilbertList().

Here is the call graph for this function:

HilbertArrayMap::HilbertArrayMap ( CkMigrateMessage m  )  [inline]

Definition at line 613 of file cklocation.C.

HilbertArrayMap::~HilbertArrayMap (  )  [inline]

Definition at line 615 of file cklocation.C.


Member Function Documentation

int HilbertArrayMap::registerArray ( const CkArrayIndex &  i,
CkArrayID  aid 
) [inline, virtual]

Reimplemented from DefaultArrayMap.

Definition at line 617 of file cklocation.C.

References coords, dims, Hilbert_to_int(), idx, index, int, DefaultArrayMap::registerArray(), and x.

Here is the call graph for this function:

int HilbertArrayMap::procNum ( int  arrayHdl,
const CkArrayIndex &  i 
) [inline, virtual]

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().

Here is the call graph for this function:

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().

Here is the call graph for this function:


Field Documentation

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.


The documentation for this class was generated from the following file:

Generated on Mon Sep 21 08:25:40 2020 for Charm++ by  doxygen 1.5.5