PPL Logo

tupleTable Class Reference
[ParFUM Unstructured Mesh Framework]

#include <map.h>

Inheritance diagram for tupleTable:

Inheritance graph
[legend]
Collaboration diagram for tupleTable:

Collaboration graph
[legend]

Public Types

enum  { MAX_TUPLE = 8 }
enum  { MAX_TUPLE = 8 }

Public Member Functions

 tupleTable (int tupleLen_)
 ~tupleTable ()
elemList ** lookupTuple (const int *tuple)
void addTuple (const int *tuple, elemList *nu)
void beginLookup (void)
elemListlookupNext (void)
 tupleTable (int tupleLen_)
 ~tupleTable ()
elemList ** lookupTuple (const int *tuple)
void addTuple (const int *tuple, elemList *nu)
void beginLookup (void)
elemListlookupNext (void)

Private Member Functions

void canonicalize (const int *tuple, int *can)
void canonicalize (const int *tuple, int *can)

Static Private Member Functions

static int roundUp (int val, int to)
static CkHashtableLayout makeLayout (int tupleLen)
static int roundUp (int val, int to)
static CkHashtableLayout makeLayout (int tupleLen)

Private Attributes

int tupleLen
CkHashtableIteratorit
CkHashtableIteratorit

Detailed Description

Definition at line 52 of file map.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
MAX_TUPLE 

Definition at line 85 of file map.h.

anonymous enum

Enumerator:
MAX_TUPLE 

Definition at line 2640 of file ParFUM_internals.h.


Constructor & Destructor Documentation

tupleTable::tupleTable ( int  tupleLen_  )  [inline]

Definition at line 87 of file map.h.

References it, MAX_TUPLE, and tupleLen.

tupleTable::~tupleTable (  )  [inline]

Definition at line 97 of file map.h.

References beginLookup(), and lookupNext().

tupleTable::tupleTable ( int  tupleLen_  )  [inline]

Definition at line 2642 of file ParFUM_internals.h.

tupleTable::~tupleTable (  )  [inline]

Definition at line 2652 of file ParFUM_internals.h.


Member Function Documentation

static int tupleTable::roundUp ( int  val,
int  to 
) [inline, static, private]

Definition at line 55 of file map.h.

Referenced by makeLayout().

static CkHashtableLayout tupleTable::makeLayout ( int  tupleLen  )  [inline, static, private]

Definition at line 58 of file map.h.

References roundUp().

void tupleTable::canonicalize ( const int tuple,
int can 
) [inline, private]

Definition at line 68 of file map.h.

References ck_fem_map_compare_int(), qsort(), and tupleLen.

Referenced by addTuple(), and lookupTuple().

elemList** tupleTable::lookupTuple ( const int tuple  )  [inline]

Definition at line 104 of file map.h.

References canonicalize(), and MAX_TUPLE.

void tupleTable::addTuple ( const int tuple,
elemList nu 
) [inline]

void tupleTable::beginLookup ( void   )  [inline]

elemList* tupleTable::lookupNext ( void   )  [inline]

static int tupleTable::roundUp ( int  val,
int  to 
) [inline, static, private]

Definition at line 2610 of file ParFUM_internals.h.

static CkHashtableLayout tupleTable::makeLayout ( int  tupleLen  )  [inline, static, private]

Definition at line 2613 of file ParFUM_internals.h.

void tupleTable::canonicalize ( const int tuple,
int can 
) [inline, private]

Definition at line 2623 of file ParFUM_internals.h.

References ck_fem_map_compare_int(), and qsort().

elemList** tupleTable::lookupTuple ( const int tuple  )  [inline]

Definition at line 2659 of file ParFUM_internals.h.

void tupleTable::addTuple ( const int tuple,
elemList nu 
) [inline]

Definition at line 2666 of file ParFUM_internals.h.

References dest, and elemList::setNext().

void tupleTable::beginLookup ( void   )  [inline]

Definition at line 2681 of file ParFUM_internals.h.

elemList* tupleTable::lookupNext ( void   )  [inline]

Definition at line 2684 of file ParFUM_internals.h.


Field Documentation

Definition at line 53 of file map.h.

Referenced by canonicalize(), and tupleTable().

Definition at line 54 of file map.h.

Referenced by beginLookup(), lookupNext(), and tupleTable().

Definition at line 2609 of file ParFUM_internals.h.


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

Generated on Fri May 25 08:05:53 2012 for Charm++ by  doxygen 1.5.5