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 212 of file MsaHashtable.h.

MsaHashtable::MsaHashtable (  )  [inline]

Definition at line 214 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 index, int, list, Hashnode::nodes, numSlots, PUP::t, table, and ElemList< T >::vec.

Referenced by makeGhost().

Here is the caller graph for this function:

void MsaHashtable::print ( void   )  [inline]

Definition at line 419 of file parallel_part.h.

References Hashnode::chunk, Hashnode::elementNo, Hashnode::nodes, Hashnode::numnodes, numSlots, PUP::t, table, and ElemList< T >::vec.

Referenced by makeGhost().

Here is the caller graph for this function:

void MsaHashtable::sync (  )  [inline]

Definition at line 429 of file parallel_part.h.

References table.

Referenced by makeGhost().

Here is the caller graph for this function:

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

Definition at line 432 of file parallel_part.h.

References table.

Referenced by makeGhost().

Here is the caller graph for this function:

MsaHashtable::Add MsaHashtable::getInitialAdd (  ) 

Definition at line 12 of file MsaHashtable.C.

References Add, initHandleGiven, and msa.

Referenced by makeGhost().

Here is the caller graph for this function:

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

Definition at line 183 of file MsaHashtable.h.

References msa.

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

Definition at line 184 of file MsaHashtable.h.

References msa.

Referenced by makeGhost().

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class Read [friend]

Definition at line 180 of file MsaHashtable.h.

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

friend class Add [friend]

Definition at line 181 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 176 of file MsaHashtable.h.

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

Definition at line 177 of file MsaHashtable.h.

Referenced by getInitialAdd().


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

Generated on Mon Sep 21 08:27:48 2020 for Charm++ by  doxygen 1.5.5