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

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

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

revision 1776 by ksteube, Tue Sep 9 06:03:53 2008 UTC revision 1804 by gross, Wed Sep 24 07:52:19 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    
140    /*
141    {
142    int k=distribution[in->MPIInfo->rank+1]-distribution[in->MPIInfo->rank];
143    int min_i,max_i;
144    printf("INPUT PARMETIS: %d\n",k);
145    for(i=0;i<in->MPIInfo->size+1;++i) printf("%d ",distribution[i]);
146    printf("\n");
147    min_i=pattern->index[0];
148    max_i=pattern->index[0];
149    for(i=0;i<pattern->ptr[k];++i) {
150    min_i=MIN(min_i,pattern->index[i]);
151    max_i=MAX(max_i,pattern->index[i]);
152    }
153    printf("index range = %d : %d\n",min_i,max_i);
154    
155    for(i=0;i<k+1;++i) printf("%d ",pattern->ptr[i]);
156    printf("\n");
157    for(i=0;i<pattern->ptr[k];++i) printf("%d ",pattern->index[i]);
158    printf("\n");
159    }
160    */
161           ParMETIS_V3_PartGeomKway(distribution,           ParMETIS_V3_PartGeomKway(distribution,
162                                   pattern->ptr,                                   pattern->ptr,
163                                   pattern->index,                                   pattern->index,

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

  ViewVC Help
Powered by ViewVC 1.1.26