PPL Logo

IDXL_Map Class Reference

Map an entity to its IDXL_Rec. More...

#include <idxl_comm.h>

Collaboration diagram for IDXL_Map:

Collaboration graph
[legend]

Public Member Functions

 IDXL_Map ()
 ~IDXL_Map ()
void add (int entity, int chk, int idx)
const IDXL_Rec * get (int entity) const

Private Attributes

CkHashtableT
< CkHashtableAdaptorT< int >
, IDXL_Rec * > 
map

Detailed Description

Map an entity to its IDXL_Rec.

We only bother listing entities that are actually shared with other chunks; completely local entities are not present.

Definition at line 63 of file idxl_comm.h.


Constructor & Destructor Documentation

IDXL_Map::IDXL_Map (  ) 

Definition at line 36 of file idxl_comm.C.

IDXL_Map::~IDXL_Map (  ) 

Definition at line 37 of file idxl_comm.C.

References CkHashtable::iterator(), map, and CkHashtableIterator::next().

Here is the call graph for this function:


Member Function Documentation

void IDXL_Map::add ( int  entity,
int  chk,
int  idx 
)

Definition at line 47 of file idxl_comm.C.

References CkHashtableT< KEY, OBJ >::get(), map, and CkHashtableTslow< KEY, OBJ >::put().

Referenced by IDXL_Side::getMap().

Here is the call graph for this function:

Here is the caller graph for this function:

const IDXL_Rec * IDXL_Map::get ( int  entity  )  const

Definition at line 63 of file idxl_comm.C.

References CkHashtableT< KEY, OBJ >::get(), and map.

Referenced by IDXL_Side::getRec().

Here is the call graph for this function:

Here is the caller graph for this function:


Field Documentation

Definition at line 64 of file idxl_comm.h.

Referenced by add(), get(), and ~IDXL_Map().


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

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