Changeset 3559
- Timestamp:
- 04/16/10 14:19:53 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/Partitioning.cpp
r3549 r3559 176 176 177 177 int i1,i2; 178 int cols; 178 179 double e1,e2; 179 180 int pos; … … 212 213 213 214 /*Get edges and elements*/ 214 IoModelFetchData(&iomodel->edges,&iomodel->numberofedges, NULL,iomodel_handle,"edges");215 IoModelFetchData(&iomodel->edges,&iomodel->numberofedges,&cols,iomodel_handle,"edges"); 215 216 IoModelFetchData(&iomodel->elements,NULL,NULL,iomodel_handle,"elements"); 217 if (cols!=4) ISSMERROR("field edges should have 4 columns"); 216 218 217 219 /*!All elements have been partitioned above, only create elements for this CPU: */
Note:
See TracChangeset
for help on using the changeset viewer.