Changeset 2005
- Timestamp:
- 08/27/09 10:41:09 (15 years ago)
- Location:
- issm/trunk/src/c/objects
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Icefront.cpp
r1784 r2005 1163 1163 } //for(i=0;i<4;i++) 1164 1164 } //for(ig=0;ig<num_gauss;ig++) 1165 1166 /*Free ressources: */ 1167 xfree((void**)&first_gauss_area_coord); 1168 xfree((void**)&second_gauss_area_coord); 1169 xfree((void**)&third_gauss_area_coord); 1170 xfree((void**)&gauss_weights); 1165 1171 1166 1172 /*Delete fake tria: */ … … 1414 1420 } //for(i=0;i<4;i++) 1415 1421 } //for(ig=0;ig<num_gauss;ig++) 1422 1423 /*Free ressources: */ 1424 xfree((void**)&first_gauss_area_coord); 1425 xfree((void**)&second_gauss_area_coord); 1426 xfree((void**)&third_gauss_area_coord); 1427 xfree((void**)&gauss_weights); 1416 1428 1417 1429 /*Delete fake tria: */ -
issm/trunk/src/c/objects/Penta.cpp
r1907 r2005 963 963 } 964 964 965 xfree((void**)&first_gauss_area_coord); xfree((void**)&second_gauss_area_coord); xfree((void**)&third_gauss_area_coord); xfree((void**)&area_gauss_weights); 965 966 GaussTria (&num_area_gauss, &first_gauss_area_coord, &second_gauss_area_coord, &third_gauss_area_coord, &area_gauss_weights, 2); 966 967 … … 1040 1041 1041 1042 cleanup_and_return: 1043 1044 /*Free ressources:*/ 1045 xfree((void**)&first_gauss_area_coord); 1046 xfree((void**)&second_gauss_area_coord); 1047 xfree((void**)&third_gauss_area_coord); 1048 xfree((void**)&area_gauss_weights); 1049 xfree((void**)&vert_gauss_coord); 1050 xfree((void**)&vert_gauss_weights); 1042 1051 1043 1052 return; … … 3238 3247 } 3239 3248 } 3240 3249 3250 xfree((void**)&first_gauss_area_coord); xfree((void**)&second_gauss_area_coord); xfree((void**)&third_gauss_area_coord); xfree((void**)&area_gauss_weights); 3241 3251 GaussTria (&num_area_gauss, &first_gauss_area_coord, &second_gauss_area_coord, &third_gauss_area_coord, &area_gauss_weights, 2); 3242 3252 … … 3289 3299 /*Add P_terms to global vector pg: */ 3290 3300 VecSetValues(pg,numdof,doflist,(const double*)P_terms,ADD_VALUES); 3301 3302 /*Free ressources:*/ 3303 xfree((void**)&first_gauss_area_coord); 3304 xfree((void**)&second_gauss_area_coord); 3305 xfree((void**)&third_gauss_area_coord); 3306 xfree((void**)&area_gauss_weights); 3307 xfree((void**)&vert_gauss_coord); 3308 xfree((void**)&vert_gauss_weights); 3291 3309 3292 3310 }
Note:
See TracChangeset
for help on using the changeset viewer.