Go to the source code of this file.
Data Structures | |
class | dynChunk |
A dynamic (growing) representation of a chunk. More... | |
class | splitter |
Splitter is a big utility class used to separate an FEM_Mesh into pieces. More... | |
class | FEM_Entity_numberer |
Reassemble entities based on their global numbers. More... | |
Functions | |
static void | checkEquality (const char *what, int v1, const char *src1, int v2, const char *src2) |
static void | checkRange (const char *what, int v, int max) |
static void | checkArrayEntries (const int *arr, int nArr, int max, const char *what) |
static void | check (const FEM_Mesh *mesh) |
static void | check (const FEM_Partition &partition, const FEM_Mesh *mesh) |
void | FEM_Mesh_split (FEM_Mesh *mesh, int nChunks, const FEM_Partition &partition, FEM_Mesh_Output *out) |
CkHashCode | CkHashFunction_ints (const void *keyData, size_t keyLen) |
int | CkHashCompare_ints (const void *k1, const void *k2, size_t keyLen) |
int | ck_fem_map_compare_int (const void *a, const void *b) |
static void | renumberConn (const FEM_Elem &src_e, int l, FEM_Elem &dest_e, int g, const FEM_Mesh &mesh) |
FEM_Mesh * | FEM_Mesh_assemble (int nChunks, FEM_Mesh **chunks) |
Reassemble split chunks into a single mesh. |
static void checkEquality | ( | const char * | what, | |
int | v1, | |||
const char * | src1, | |||
int | v2, | |||
const char * | src2 | |||
) | [static] |
Definition at line 28 of file map.C.
Referenced by FEM_Ghost_Stencil::check().
Definition at line 38 of file map.C.
Referenced by FEM_Ghost_Stencil::check(), and checkArrayEntries().
Definition at line 47 of file map.C.
References checkRange().
Referenced by check(), and FEM_Mesh_split().
static void check | ( | const FEM_Mesh * | mesh | ) | [static] |
Definition at line 56 of file map.C.
References checkArrayEntries(), FEM_Mesh::elem, FEM_Entity_Types< T >::has(), FEM_Mesh::nElems(), FEM_Mesh::node, PUP::s, FEM_Entity::size(), FEM_Entity_Types< T >::size(), src, and PUP::t.
Referenced by xi::AstChildren< Child >::check(), FEM_T_List< FEM_Mesh >::destroy(), FEM_Mesh_split(), FEM_T_List< FEM_Mesh >::lookup(), main(), PUPmarshall(), and TraceCounter::registerArg().
static void check | ( | const FEM_Partition & | partition, | |
const FEM_Mesh * | mesh | |||
) | [static] |
Definition at line 76 of file map.C.
References checkArrayEntries(), FEM_Partition::getCanon(), FEM_Mesh::node, and FEM_Entity::size().
void FEM_Mesh_split | ( | FEM_Mesh * | mesh, | |
int | nChunks, | |||
const FEM_Partition & | partition, | |||
FEM_Mesh_Output * | out | |||
) |
Definition at line 429 of file map.C.
References splitter::aboutToCreate(), FEM_Mesh_Output::accept(), splitter::addGhosts(), splitter::buildCommLists(), c, check(), checkArrayEntries(), splitter::createMesh(), splitter::elem2chunk, FEM_Partition::getPartition(), FEM_Partition::getSymList(), FEM_Mesh::nElems(), PUP::s, splitter::separateSparse(), FEM_Mesh::setSymList(), CkThresholdTimer::start(), and stats::time().
CkHashCode CkHashFunction_ints | ( | const void * | keyData, | |
size_t | keyLen | |||
) |
int ck_fem_map_compare_int | ( | const void * | a, | |
const void * | b | |||
) |
Definition at line 576 of file map.C.
Referenced by tupleTable::canonicalize().
static void renumberConn | ( | const FEM_Elem & | src_e, | |
int | l, | |||
FEM_Elem & | dest_e, | |||
int | g, | |||
const FEM_Mesh & | mesh | |||
) | [static] |
Definition at line 1022 of file map.C.
References FEM_Entity::getGlobalno(), n, and FEM_Mesh::node.
Referenced by FEM_Mesh_assemble().
Reassemble split chunks into a single mesh.
Definition at line 1031 of file map.C.
References FEM_Entity_numberer::add(), FEM_Mesh::becomeGetting(), c, FEM_Mesh::copyShape(), elem, FEM_Mesh::elem, FEM_Entity_Types< T >::has(), PUP::l, PUP::m, FEM_Entity_numberer::mark(), FEM_Mesh::node, renumberConn(), FEM_Entity_Types< T >::set(), FEM_Entity_Types< T >::size(), FEM_Mesh::sparse, PUP::t, and FEM_Mesh::udata.