/[escript]/branches/intelc_win32/finley/src/Mesh_findMatchingFaces.c
ViewVC logotype

Diff of /branches/intelc_win32/finley/src/Mesh_findMatchingFaces.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 752 by woo409, Mon Jun 26 02:25:41 2006 UTC revision 753 by woo409, Mon Jun 26 02:51:25 2006 UTC
# Line 25  Line 25 
25    
26  #include "Util.h"  #include "Util.h"
27  #include "Mesh.h"  #include "Mesh.h"
28    #ifdef USE_QSORTG
29  #include "qsortG.h"  #include "qsortG.h"
30    #endif
31  /**************************************************************/  /**************************************************************/
32    
33  static double  Finley_Mesh_lockingGridSize=0;  static double  Finley_Mesh_lockingGridSize=0;
# Line 98  void Finley_Mesh_findMatchingFaces(Finle Line 100  void Finley_Mesh_findMatchingFaces(Finle
100         printf("locking grid size is %e\n",Finley_Mesh_lockingGridSize);         printf("locking grid size is %e\n",Finley_Mesh_lockingGridSize);
101         #endif         #endif
102         /* sort the elements by center center coordinates (lexigraphical)*/         /* sort the elements by center center coordinates (lexigraphical)*/
103    #ifdef USE_QSORTG
104         qsortG(center,faces->numElements,sizeof(Finley_Mesh_findMatchingFaces_center),Finley_Mesh_findMatchingFaces_compar);         qsortG(center,faces->numElements,sizeof(Finley_Mesh_findMatchingFaces_center),Finley_Mesh_findMatchingFaces_compar);
105    #else
106           qsort(center,faces->numElements,sizeof(Finley_Mesh_findMatchingFaces_center),Finley_Mesh_findMatchingFaces_compar);
107    #endif
108         /* find elements with matching center */         /* find elements with matching center */
109         *numPairs=0;         *numPairs=0;
110         /* OMP */         /* OMP */

Legend:
Removed from v.752  
changed lines
  Added in v.753

  ViewVC Help
Powered by ViewVC 1.1.26