Changeset 566 for issm/trunk


Ignore:
Timestamp:
05/21/09 14:14:00 (16 years ago)
Author:
seroussi
Message:

need to extrude npart for hutter 3d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/MeshPartitionx/MeshPartitionx.cpp

    r339 r566  
    7575                        }
    7676                }
     77
     78                /*Extrude npart2d to npart, using numlayers: */
     79                npart=(int*)xmalloc(numberofgrids*sizeof(int));
     80               
     81                count=0;
     82                for(i=0;i<(numlayers-1);i++){
     83                        for(j=0;j<numberofgrids2d;j++){
     84                                npart[count]=npart2d[j];
     85                                count++;
     86                        }
     87                }
    7788        }
    7889
Note: See TracChangeset for help on using the changeset viewer.