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

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

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 abs(), diff, and getFloatFormat().

Referenced by coordEqual(), and coordLessThan().

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

Definition at line 61 of file import.h.

References coordCompare().

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

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

void ParFUM_generateGlobalNodeNumbers ( int  fem_mesh,
MPI_Comm  comm 
)

void ParFUM_recreateSharedNodes ( int  meshid,
int  dim,
int  nParts 
)

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 341 of file import.C.

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

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

Definition at line 348 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 
)

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

Definition at line 357 of file import.C.

References qsort().


Generated on Sat May 26 08:08:10 2012 for Charm++ by  doxygen 1.5.5