/[escript]/trunk/finley/src/Mesh_optimizeDOFDistribution.c
ViewVC logotype

Diff of /trunk/finley/src/Mesh_optimizeDOFDistribution.c

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

revision 1763 by gross, Mon Sep 8 02:47:55 2008 UTC revision 1776 by ksteube, Tue Sep 9 06:03:53 2008 UTC
# Line 137  void Finley_Mesh_optimizeDOFDistribution Line 137  void Finley_Mesh_optimizeDOFDistribution
137           options[0] = 3;           options[0] = 3;
138           options[1] = 15;           options[1] = 15;
139    
 {  
 int k=distribution[in->MPIInfo->rank+1]-distribution[in->MPIInfo->rank];  
 int min_i,max_i;  
 printf("INPUT PARMETIS: %d\n",k);  
 for(i=0;i<in->MPIInfo->size+1;++i) printf("%d ",distribution[i]);  
 printf("\n");  
 min_i=pattern->index[0];  
 max_i=pattern->index[0];  
 for(i=0;i<pattern->ptr[k];++i) {  
 min_i=MIN(min_i,pattern->index[i]);  
 max_i=MAX(max_i,pattern->index[i]);  
 }  
 printf("index range = %d : %d\n",min_i,max_i);  
   
 for(i=0;i<k+1;++i) printf("%d ",pattern->ptr[i]);  
 printf("\n");  
 /*  
 for(i=0;i<pattern->ptr[k];++i) printf("%d ",pattern->index[i]);  
 printf("\n");  
 */  
 }  
   
140           ParMETIS_V3_PartGeomKway(distribution,           ParMETIS_V3_PartGeomKway(distribution,
141                                   pattern->ptr,                                   pattern->ptr,
142                                   pattern->index,                                   pattern->index,

Legend:
Removed from v.1763  
changed lines
  Added in v.1776

  ViewVC Help
Powered by ViewVC 1.1.26