Changeset 566 for issm/trunk
- Timestamp:
- 05/21/09 14:14:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/MeshPartitionx/MeshPartitionx.cpp
r339 r566 75 75 } 76 76 } 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 } 77 88 } 78 89
Note:
See TracChangeset
for help on using the changeset viewer.