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 2408 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().

Here is the call graph for this function:

tupleTable::tupleTable ( int  tupleLen_  )  [inline]

Definition at line 2410 of file ParFUM_internals.h.

tupleTable::~tupleTable (  )  [inline]

Definition at line 2420 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().

Here is the caller graph for this function:

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

Definition at line 58 of file map.h.

References int, and roundUp().

Here is the call graph for this function:

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 104 of file map.h.

References canonicalize(), and MAX_TUPLE.

Here is the call graph for this function:

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

Definition at line 111 of file map.h.

References canonicalize(), dest, MAX_TUPLE, CkHashtable::put(), and elemList::setNext().

Referenced by splitter::addLayer(), FEM_Mesh::createElemElemAdj(), and update_new_element_e2e().

Here is the call graph for this function:

Here is the caller graph for this function:

void tupleTable::beginLookup ( void   )  [inline]

Definition at line 126 of file map.h.

References it, and CkHashtable::iterator().

Referenced by splitter::addLayer(), FEM_Mesh::createElemElemAdj(), update_new_element_e2e(), and ~tupleTable().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 129 of file map.h.

References it, and CkHashtableIterator::next().

Referenced by splitter::addLayer(), FEM_Mesh::createElemElemAdj(), update_new_element_e2e(), and ~tupleTable().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 2378 of file ParFUM_internals.h.

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

Definition at line 2381 of file ParFUM_internals.h.

References int.

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

Definition at line 2391 of file ParFUM_internals.h.

References ck_fem_map_compare_int(), and qsort().

Here is the call graph for this function:

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

Definition at line 2427 of file ParFUM_internals.h.

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

Definition at line 2434 of file ParFUM_internals.h.

References dest, and elemList::setNext().

Here is the call graph for this function:

void tupleTable::beginLookup ( void   )  [inline]

Definition at line 2449 of file ParFUM_internals.h.

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

Definition at line 2452 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 2377 of file ParFUM_internals.h.


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

Generated on Mon Sep 21 08:31:33 2020 for Charm++ by  doxygen 1.5.5