Changeset 3812
- Timestamp:
- 05/18/10 13:21:19 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/ModelProcessorx/CreateSingleNodeToElementConnectivity.cpp
r3784 r3812 21 21 22 22 /*output*/ 23 double* connectivity=NULL;23 int* connectivity=NULL; 24 24 25 25 /*Some checks if debugging*/ … … 29 29 30 30 /*Allocate ouput*/ 31 connectivity=( double*)xcalloc(iomodel->numberofvertices,sizeof(double));31 connectivity=(int*)xcalloc(iomodel->numberofvertices,sizeof(int)); 32 32 33 33 if (strcmp(iomodel->meshtype,"2d")==0){ … … 49 49 } 50 50 } 51 52 iomodel->singlenodetoelementconnectivity=connectivity; 53 54 /*Do not free connectivity!!!*/ 51 55 }
Note:
See TracChangeset
for help on using the changeset viewer.