PPL Logo

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

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)


Function Documentation

int getFloatFormat ( void   ) 

Definition at line 65 of file pup_xlater.C.

References PUP::c.

Referenced by coordCompare(), and PUP::machineInfo::current().

Here is the caller graph for this function:

int coordCompare ( const double *  key1,
const double *  key2,
int  dim 
) [inline]

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

Here is the call graph for this function:

Here is the caller graph for this function:

int coordEqual ( const double *  key1,
const double *  key2,
int  dim 
) [inline]

Definition at line 61 of file import.h.

References coordCompare().

Here is the call graph for this function:

int coordLessThan ( const double *  key1,
const double *  key2,
int  dim 
) [inline]

Definition at line 65 of file import.h.

References coordCompare().

Here is the call 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_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.

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

Definition at line 358 of file import.C.

References qsort().

Here is the call graph for this function:


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