PPL Logo

libs/ck-libs/ParFUM/import.C File Reference

Go to the source code of this file.

Functions

bool coord_leq (double *a, double *b, int dim)
void ParFUM_desharing (int meshid)
void ParFUM_deghosting (int meshid)
void ParFUM_recreateSharedNodes (int meshid, int dim, MPI_Comm newComm)
 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 qsort (double *nodes, int *ids, int dim, int first, int last)
void sortNodes (double *nodes, double *sorted_nodes, int *sorted_ids, int numNodes, int dim)
void merge (double *nodes, int *ids, int dim, int first, int mid, int last)


Function Documentation

bool coord_leq ( double *  a,
double *  b,
int  dim 
)

Definition at line 463 of file import.C.

References PUP::d.

Referenced by merge(), and qsort().

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Here is the caller graph for this function:

void ParFUM_recreateSharedNodes ( int  meshid,
int  dim,
MPI_Comm  newComm 
)

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

Here is the call graph for this function:

Here is the caller graph for this function:

void ParFUM_createComm ( int  meshid,
int  dim,
MPI_Comm  comm 
)

void ParFUM_import_nodes ( int  meshid,
int  numNodes,
double *  nodeCoords,
int  dim 
)

Definition at line 342 of file import.C.

References FEM_Mesh_become_get(), FEM_Mesh_become_set(), and FEM_Mesh_data().

Here is the call graph for this function:

void ParFUM_import_elems ( int  meshid,
int  numElems,
int  nodesPer,
int conn,
int  type 
)

Definition at line 349 of file import.C.

References FEM_Mesh_become_get(), FEM_Mesh_become_set(), and FEM_Mesh_data().

Here is the call graph for this function:

void qsort ( double *  nodes,
int ids,
int  dim,
int  first,
int  last 
)

Definition at line 381 of file import.C.

References coord_leq(), and merge().

Referenced by tupleTable::canonicalize(), decompose(), arrInfo::distrib(), generate_random_sol(), group_nodes(), next_bucket_elem(), partial_sort(), NList::sort(), sortNodes(), and super_fast_grouping().

Here is the call graph for this function:

Here is the caller graph for this function:

void sortNodes ( double *  nodes,
double *  sorted_nodes,
int sorted_ids,
int  numNodes,
int  dim 
)

Definition at line 358 of file import.C.

References qsort().

Here is the call graph for this function:

void merge ( double *  nodes,
int ids,
int  dim,
int  first,
int  mid,
int  last 
)

Definition at line 404 of file import.C.

References coord_leq(), free(), int, and malloc().

Referenced by qsort().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Sep 21 08:10:50 2020 for Charm++ by  doxygen 1.5.5