Go to the source code of this file.
Functions | |
int | getFloatFormat (void) |
int | coordCompare (const double *key1, const double *key2, int dim) |
Returns: 0 if key1 == key2 1 if key1 > key2 -1 if key1 < key2. | |
int | coordEqual (const double *key1, const double *key2, int dim) |
int | coordLessThan (const double *key1, const double *key2, int dim) |
void | ParFUM_desharing (int meshid) |
void | ParFUM_deghosting (int meshid) |
void | ParFUM_generateGlobalNodeNumbers (int fem_mesh, MPI_Comm comm) |
void | ParFUM_recreateSharedNodes (int meshid, int dim, int nParts) |
Recreate the shared nodes. An alternate incorrect version can be enabled by undefining CORRECT_COORD_COMPARISON. | |
void | ParFUM_createComm (int meshid, int dim, MPI_Comm comm) |
void | ParFUM_import_nodes (int meshid, int numNodes, double *nodeCoords, int dim) |
void | ParFUM_import_elems (int meshid, int numElems, int nodesPer, int *conn, int type) |
void | ParFUM_findMatchingCoords (int dim, int extent_a, double *a, int extent_b, double *b, std::vector< int > &matches_a, std::vector< int > &matches_b) |
void | sortNodes (double *nodes, double *sorted_nodes, int *sorted_ids, int numNodes, int dim) |
int getFloatFormat | ( | void | ) |
Definition at line 65 of file pup_xlater.C.
References PUP::c.
Referenced by coordCompare(), and PUP::machineInfo::current().
Returns: 0 if key1 == key2 1 if key1 > key2 -1 if key1 < key2.
Definition at line 21 of file import.h.
References PUP::a, abs(), PUP::b, and getFloatFormat().
Referenced by coordEqual(), and coordLessThan().
Definition at line 61 of file import.h.
References coordCompare().
Definition at line 65 of file import.h.
References coordCompare().
void ParFUM_desharing | ( | int | meshid | ) |
Definition at line 5 of file import.C.
References FEM_Mesh::clearSharedNodes(), FEM_chunk::get(), and mesh.
Referenced by ParFUM_createComm().
void ParFUM_deghosting | ( | int | meshid | ) |
Definition at line 11 of file import.C.
References FEM_Mesh::clearGhostElems(), FEM_Mesh::clearGhostNodes(), FEM_chunk::get(), and mesh.
Referenced by ParFUM_createComm().
Definition at line 13 of file global_numbering.C.
References addToLists(), FEM_Attribute::get(), FEM_chunk::get(), IDXL_List::getDest(), IDXL_Side::getLocalList(), list, FEM_Entity::lookup(), mesh, MPI_Comm_rank, MPI_Irecv, MPI_Waitall, FEM_Mesh::node, FEM_Node::shared, CkVec< T >::size(), IDXL_List::size(), IDXL_Side::size(), FEM_Entity::size(), and status.
Referenced by ParFUM_createComm().
Recreate the shared nodes. An alternate incorrect version can be enabled by undefining CORRECT_COORD_COMPARISON.
The highest partition # to which I send my coordinates(wraps around)
The lowest partition # to which I send my coordinates(wraps around)
Definition at line 20 of file import.C.
References IDXL_Side::addList(), Converse::CkMyPe(), comm, coordEqual(), FEM_Mesh_become_get(), FEM_Mesh_data(), FEM_Mesh_get_length(), free(), FEM_chunk::get(), high, int, length, list, PUP::m, malloc(), mesh, MPI_Barrier, MPI_Comm_rank, MPI_Status::MPI_LENGTH, MPI_Probe, MPI_Status::MPI_SOURCE, FEM_Mesh::node, IDXL_List::push_back(), rank, FEM_Node::shared, source, and status.
Referenced by ParFUM_createComm().
Definition at line 312 of file import.C.
References gatherGhosts(), FEM_chunk::get(), ghostdata::layers, makeGhosts(), mesh, MPI_Bcast_pup(), MPI_Comm_rank, ghostdata::numLayers, ParFUM_deghosting(), ParFUM_desharing(), ParFUM_generateGlobalNodeNumbers(), ParFUM_recreateSharedNodes(), and rank.
Definition at line 342 of file import.C.
References FEM_Mesh_become_get(), FEM_Mesh_become_set(), and FEM_Mesh_data().
Definition at line 349 of file import.C.
References FEM_Mesh_become_get(), FEM_Mesh_become_set(), and FEM_Mesh_data().
void ParFUM_findMatchingCoords | ( | int | dim, | |
int | extent_a, | |||
double * | a, | |||
int | extent_b, | |||
double * | b, | |||
std::vector< int > & | matches_a, | |||
std::vector< int > & | matches_b | |||
) |