/[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 1763 by gross, Mon Sep 8 02:47:55 2008 UTC revision 1811 by ksteube, Thu Sep 25 23:11:13 2008 UTC
# Line 1  Line 1 
1    
 /* $Id$ */  
   
2  /*******************************************************  /*******************************************************
3   *  *
4   *           Copyright 2003-2007 by ACceSS MNRF  * Copyright (c) 2003-2008 by University of Queensland
5   *       Copyright 2007 by University of Queensland  * Earth Systems Science Computational Center (ESSCC)
6   *  * http://www.uq.edu.au/esscc
7   *                http://esscc.uq.edu.au  *
8   *        Primary Business: Queensland, Australia  * Primary Business: Queensland, Australia
9   *  Licensed under the Open Software License version 3.0  * Licensed under the Open Software License version 3.0
10   *     http://www.opensource.org/licenses/osl-3.0.php  * http://www.opensource.org/licenses/osl-3.0.php
11   *  *
12   *******************************************************/  *******************************************************/
13    
14    
15  /**************************************************************/  /**************************************************************/
16    
# Line 137  void Finley_Mesh_optimizeDOFDistribution Line 136  void Finley_Mesh_optimizeDOFDistribution
136           options[0] = 3;           options[0] = 3;
137           options[1] = 15;           options[1] = 15;
138    
139    /*
140  {  {
141  int k=distribution[in->MPIInfo->rank+1]-distribution[in->MPIInfo->rank];  int k=distribution[in->MPIInfo->rank+1]-distribution[in->MPIInfo->rank];
142  int min_i,max_i;  int min_i,max_i;
# Line 153  printf("index range = %d : %d\n",min_i,m Line 153  printf("index range = %d : %d\n",min_i,m
153    
154  for(i=0;i<k+1;++i) printf("%d ",pattern->ptr[i]);  for(i=0;i<k+1;++i) printf("%d ",pattern->ptr[i]);
155  printf("\n");  printf("\n");
 /*  
156  for(i=0;i<pattern->ptr[k];++i) printf("%d ",pattern->index[i]);  for(i=0;i<pattern->ptr[k];++i) printf("%d ",pattern->index[i]);
157  printf("\n");  printf("\n");
 */  
158  }  }
159    */
160           ParMETIS_V3_PartGeomKway(distribution,           ParMETIS_V3_PartGeomKway(distribution,
161                                   pattern->ptr,                                   pattern->ptr,
162                                   pattern->index,                                   pattern->index,

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

  ViewVC Help
Powered by ViewVC 1.1.26