PPL Logo

CkArrayMap Class Reference
[CkArray]

The "map" is used by the array manager to map an array index to a home processor number. More...

#include <cklocation.h>

Inheritance diagram for CkArrayMap:

Inheritance graph
[legend]
Collaboration diagram for CkArrayMap:

Collaboration graph
[legend]

Public Member Functions

 CkArrayMap (void)
 CkArrayMap (CkMigrateMessage *m)
virtual ~CkArrayMap ()
virtual int registerArray (const CkArrayIndex &numElements, CkArrayID aid)
virtual void unregisterArray (int idx)
virtual void storeCkArrayOpts (CkArrayOptions options)
virtual void populateInitial (int arrayHdl, CkArrayOptions &options, void *ctorMsg, CkArray *mgr)
virtual int procNum (int arrayHdl, const CkArrayIndex &element)=0
virtual int homePe (int arrayHdl, const CkArrayIndex &element)
virtual void pup (PUP::er &p)
 Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc.

Data Fields

CkArrayOptions storeOpts
std::unordered_map< int, booldynamicIns

Detailed Description

The "map" is used by the array manager to map an array index to a home processor number.

Definition at line 112 of file cklocation.h.


Constructor & Destructor Documentation

CkArrayMap::CkArrayMap ( void   ) 

Definition at line 132 of file cklocation.C.

CkArrayMap::CkArrayMap ( CkMigrateMessage m  )  [inline]

Definition at line 116 of file cklocation.h.

CkArrayMap::~CkArrayMap (  )  [virtual]

Definition at line 133 of file cklocation.C.


Member Function Documentation

int CkArrayMap::registerArray ( const CkArrayIndex &  numElements,
CkArrayID  aid 
) [virtual]

Reimplemented in DefaultArrayMap, FastArrayMap, HilbertArrayMap, ReadFileMap, and PropMap.

Definition at line 134 of file cklocation.C.

Referenced by CkLocMgr::CkLocMgr().

Here is the caller graph for this function:

void CkArrayMap::unregisterArray ( int  idx  )  [virtual]

Reimplemented in DefaultArrayMap, and PropMap.

Definition at line 136 of file cklocation.C.

Referenced by CkLocMgr::~CkLocMgr().

Here is the caller graph for this function:

void CkArrayMap::storeCkArrayOpts ( CkArrayOptions  options  )  [virtual]

Definition at line 230 of file cklocation.C.

References storeOpts.

void CkArrayMap::populateInitial ( int  arrayHdl,
CkArrayOptions options,
void *  ctorMsg,
CkArray mgr 
) [virtual]

Reimplemented in BlockMap, CldMap, and ConfigurableRRMap.

Definition at line 207 of file cklocation.C.

References CkFreeMsg(), Converse::CkMyPe(), CkArray::doneInserting(), CkArrayOptions::getEnd(), CkArrayOptions::getStart(), CkArrayOptions::getStep(), idx, and procNum().

Here is the call graph for this function:

virtual int CkArrayMap::procNum ( int  arrayHdl,
const CkArrayIndex &  element 
) [pure virtual]

Implemented in RRMap, DefaultArrayMap, FastArrayMap, HilbertArrayMap, ReadFileMap, CldMap, PropMap, ArrayMapExt, and LV3D1_Map.

Referenced by homePe(), and populateInitial().

Here is the caller graph for this function:

virtual int CkArrayMap::homePe ( int  arrayHdl,
const CkArrayIndex &  element 
) [inline, virtual]

Reimplemented in CldMap.

Definition at line 123 of file cklocation.h.

References procNum().

Here is the call graph for this function:

void CkArrayMap::pup ( PUP::er p  )  [virtual]

Pack/UnPack - tell the runtime how to serialize this class's data for migration, checkpoint, etc.

Reimplemented from IrrGroup.

Reimplemented in RRMap, DefaultArrayMap, FastArrayMap, HilbertArrayMap, ReadFileMap, and PropMap.

Definition at line 235 of file cklocation.C.

References dynamicIns, and storeOpts.

Referenced by RRMap::pup().

Here is the caller graph for this function:


Field Documentation

Definition at line 128 of file cklocation.h.

Referenced by RRMap::indexInit(), pup(), and storeCkArrayOpts().

std::unordered_map<int, bool> CkArrayMap::dynamicIns

Definition at line 129 of file cklocation.h.

Referenced by DefaultArrayMap::procNum(), RRMap::procNum(), and pup().


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

Generated on Mon Sep 21 08:19:15 2020 for Charm++ by  doxygen 1.5.5