PPL Logo

MsaHashtable Class Reference

#include <parallel_part.h>

Collaboration diagram for MsaHashtable:

Collaboration graph
[legend]

Public Member Functions

 MsaHashtable (int _numSlots, int numWorkers)
 MsaHashtable ()
virtual void pup (PUP::er &p)
int addTuple (int *tuple, int nodesPerTuple, int chunk, int elementNo)
void print ()
void sync ()
const Hashtupleget (int i)
Add getInitialAdd ()
void pup (PUP::er &p)
void enroll (int n)
 MsaHashtable (int _numSlots, int numWorkers)
 MsaHashtable ()

Data Fields

int numSlots
MSA1DHASH table

Private Attributes

MSA1DHASH msa
bool initHandleGiven

Friends

class Read
class Add

Data Structures

class  Add
class  Read

Detailed Description

Definition at line 379 of file parallel_part.h.


Constructor & Destructor Documentation

MsaHashtable::MsaHashtable ( int  _numSlots,
int  numWorkers 
) [inline]

Definition at line 383 of file parallel_part.h.

MsaHashtable::MsaHashtable (  )  [inline]

Definition at line 385 of file parallel_part.h.

MsaHashtable::MsaHashtable ( int  _numSlots,
int  numWorkers 
) [inline]

Definition at line 48 of file MsaHashtable.h.

MsaHashtable::MsaHashtable (  )  [inline]

Definition at line 50 of file MsaHashtable.h.


Member Function Documentation

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

Definition at line 387 of file parallel_part.h.

References numSlots, and table.

int MsaHashtable::addTuple ( int tuple,
int  nodesPerTuple,
int  chunk,
int  elementNo 
) [inline]

Definition at line 391 of file parallel_part.h.

References list, Hashnode::nodes, numSlots, printf(), table, and ElemList< T >::vec.

Referenced by makeGhost().

void MsaHashtable::print ( void   )  [inline]

void MsaHashtable::sync (  )  [inline]

Definition at line 429 of file parallel_part.h.

References table.

Referenced by makeGhost().

const Hashtuple& MsaHashtable::get ( int  i  )  [inline]

Definition at line 432 of file parallel_part.h.

References table.

Referenced by makeGhost().

MsaHashtable::Add MsaHashtable::getInitialAdd (  ) 

Definition at line 12 of file MsaHashtable.C.

References Add, initHandleGiven, and msa.

Referenced by makeGhost().

void MsaHashtable::pup ( PUP::er p  )  [inline]

Definition at line 19 of file MsaHashtable.h.

References msa.

void MsaHashtable::enroll ( int  n  )  [inline]

Definition at line 20 of file MsaHashtable.h.

References msa.

Referenced by makeGhost().


Friends And Related Function Documentation

friend class Read [friend]

Definition at line 16 of file MsaHashtable.h.

Referenced by MsaHashtable::Add::syncToRead().

friend class Add [friend]

Definition at line 17 of file MsaHashtable.h.

Referenced by getInitialAdd(), and MsaHashtable::Read::syncToAdd().


Field Documentation

Definition at line 381 of file parallel_part.h.

Referenced by addTuple(), makeGhost(), print(), and pup().

Definition at line 382 of file parallel_part.h.

Referenced by addTuple(), get(), makeGhost(), print(), pup(), and sync().

Definition at line 12 of file MsaHashtable.h.

Referenced by enroll(), getInitialAdd(), and pup().

Definition at line 13 of file MsaHashtable.h.

Referenced by getInitialAdd().


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

Generated on Fri May 25 08:04:26 2012 for Charm++ by  doxygen 1.5.5