PPL Logo

ReadFileMap Class Reference

This map can be used for topology aware mapping when the mapping is provided through a file -- ASB. More...

Inheritance diagram for ReadFileMap:

Inheritance graph
[legend]
Collaboration diagram for ReadFileMap:

Collaboration graph
[legend]

Public Member Functions

 ReadFileMap (void)
 ReadFileMap (CkMigrateMessage *m)
int registerArray (CkArrayIndex &numElements, CkArrayID aid)
int procNum (int arrayHdl, const CkArrayIndex &i)
void pup (PUP::er &p)

Private Attributes

CkVec< intmapping

Detailed Description

This map can be used for topology aware mapping when the mapping is provided through a file -- ASB.

Definition at line 436 of file cklocation.C.


Constructor & Destructor Documentation

ReadFileMap::ReadFileMap ( void   )  [inline]

Definition at line 442 of file cklocation.C.

ReadFileMap::ReadFileMap ( CkMigrateMessage m  )  [inline]

Definition at line 446 of file cklocation.C.


Member Function Documentation

int ReadFileMap::registerArray ( CkArrayIndex numElements,
CkArrayID  aid 
) [inline, virtual]

Reimplemented from DefaultArrayMap.

Definition at line 448 of file cklocation.C.

References TopoManager::coordinatesToRank(), idx, mapping, DefaultArrayMap::registerArray(), and tmgr.

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

Reimplemented from DefaultArrayMap.

Definition at line 481 of file cklocation.C.

References CkArrayIndex::data(), mapping, and CkArrayIndexBase::nInts.

void ReadFileMap::pup ( PUP::er p  )  [inline, virtual]

Reimplemented from DefaultArrayMap.

Definition at line 497 of file cklocation.C.

References mapping, and DefaultArrayMap::pup().


Field Documentation

Definition at line 439 of file cklocation.C.


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

Generated on Fri May 25 08:05:03 2012 for Charm++ by  doxygen 1.5.5