OpenAtom  Version1.5a
GSMapTable Class Reference
Inheritance diagram for GSMapTable:
MapTable2

Public Member Functions

 GSMapTable (MapType2 *_frommap, MapType2 *_tomap, PeList *_availprocs, int _nchareG, int _nstates, int _Gstates_per_pe, bool useCuboidMap, int numInst, int offsetX, int offsetY, int offsetZ)
 
- Public Member Functions inherited from MapTable2
void dump ()
 

Public Attributes

int nchareG
 
int nstates
 
int Gstates_per_pe
 
double state_load
 
int planes_per_pe
 
- Public Attributes inherited from MapTable2
MapType2maptable
 
PeListavailprocs
 

Additional Inherited Members

- Protected Member Functions inherited from MapTable2
void makeReverseMap ()
 
CkVec< intdualProcByArrIndex (int proc)
 return ckvec containing the reverse map of all elements on given proc
 
int getCentroid (int torusMap)
 return processor at topological center of this list
 
- Protected Attributes inherited from MapTable2
CkVec< intdual > * reverseMap
 

Detailed Description

Definition at line 287 of file MapTable.h.

Constructor & Destructor Documentation

GSMapTable::GSMapTable ( MapType2 _frommap,
MapType2 _tomap,
PeList _availprocs,
int  _nchareG,
int  _nstates,
int  _Gstates_per_pe,
bool  useCuboidMap,
int  numInst,
int  offsetX,
int  offsetY,
int  offsetZ 
)

The first instance creates the map and the other instances just use the map with a translation

The first thing is to find the size of blocks (chunks) of GSpace chares which will be put on each processor. This depends on the number of states to be given to each processor (input by the user)

      <- m ->
<--- nchareG --->
*****************  ^  ^
|       |  |  l
|       |  |  _
|       |
|       | nstates
|       |       Y
|       |  |
|       |  |        |
|       |  |        |
*****************  -        |________ X

Definition at line 332 of file MapTable.C.

References GSMapTable().

Referenced by GSMapTable().


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