/[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 753 by woo409, Mon Jun 26 02:51:25 2006 UTC revision 754 by woo409, Mon Jun 26 08:00:38 2006 UTC
# Line 25  Line 25 
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;
# Line 100  void Finley_Mesh_findMatchingFaces(Finle Line 97  void Finley_Mesh_findMatchingFaces(Finle
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 */

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

  ViewVC Help
Powered by ViewVC 1.1.26