25 |
|
|
26 |
#include "Util.h" |
#include "Util.h" |
27 |
#include "Mesh.h" |
#include "Mesh.h" |
|
#ifdef USE_QSORTG |
|
|
#include "qsortG.h" |
|
|
#endif |
|
28 |
/**************************************************************/ |
/**************************************************************/ |
29 |
|
|
30 |
static double Finley_Mesh_lockingGridSize=0; |
static double Finley_Mesh_lockingGridSize=0; |
97 |
printf("locking grid size is %e\n",Finley_Mesh_lockingGridSize); |
printf("locking grid size is %e\n",Finley_Mesh_lockingGridSize); |
98 |
#endif |
#endif |
99 |
/* sort the elements by center center coordinates (lexigraphical)*/ |
/* sort the elements by center center coordinates (lexigraphical)*/ |
|
#ifdef USE_QSORTG |
|
|
qsortG(center,faces->numElements,sizeof(Finley_Mesh_findMatchingFaces_center),Finley_Mesh_findMatchingFaces_compar); |
|
|
#else |
|
100 |
qsort(center,faces->numElements,sizeof(Finley_Mesh_findMatchingFaces_center),Finley_Mesh_findMatchingFaces_compar); |
qsort(center,faces->numElements,sizeof(Finley_Mesh_findMatchingFaces_center),Finley_Mesh_findMatchingFaces_compar); |
|
#endif |
|
101 |
/* find elements with matching center */ |
/* find elements with matching center */ |
102 |
*numPairs=0; |
*numPairs=0; |
103 |
/* OMP */ |
/* OMP */ |