Ignore:
Timestamp:
Jun 5, 2006, 5:03:48 PM (19 years ago)
Author:
ole
Message:

Moved pyvolution.mesh.py to pyvolution.test_mesh.py in order to avoid confusion with pmesh.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/pymetis/metis-4.0/Lib/meshpart.c

    r2051 r3085  
    3131  esize = esizes[*etype];
    3232
     33  printf("Inside METIS_PartMeshNodal\n");
     34 
    3335  if (*numflag == 1)
    3436    ChangeMesh2CNumbering((*ne)*esize, elmnts);
     
    3739  adjncy = idxmalloc(20*(*nn), "METIS_MESHPARTNODAL: adjncy");
    3840
     41  printf("Calling METIS_MeshToNodal\n");
    3942  METIS_MeshToNodal(ne, nn, elmnts, etype, &pnumflag, xadj, adjncy);
    40 
     43  printf("After METIS_MeshToNodal\n");
     44   
    4145  adjncy = realloc(adjncy, xadj[*nn]*sizeof(idxtype));
    4246
    4347  options[0] = 0;
     48  printf("Calling METIS_PartGraphKway\n"); 
    4449  METIS_PartGraphKway(nn, xadj, adjncy, NULL, NULL, &wgtflag, &pnumflag, nparts, options, edgecut, npart);
    4550
    4651  /* OK, now compute an element partition based on the nodal partition npart */
     52  printf("Starting loop 1\n"); 
    4753  idxset(*ne, -1, epart);
    4854  pwgts = idxsmalloc(*nparts, 0, "METIS_MESHPARTNODAL: pwgts");
     
    5965  }
    6066
     67  printf("Starting loop 2\n");   
    6168  maxpwgt = 1.03*(*ne)/(*nparts);
    6269  for (i=0; i<*ne; i++) {
     
    96103  }
    97104
     105  printf("ChangeMesh2FNumbering2\n");   
    98106  if (*numflag == 1)
    99107    ChangeMesh2FNumbering2((*ne)*esize, elmnts, *ne, *nn, epart, npart);
    100108
     109  printf("Free\n");       
    101110  GKfree(&xadj, &adjncy, &pwgts, LTERM);
     111  printf("Done\n");     
    102112
    103113}
Note: See TracChangeset for help on using the changeset viewer.