Changeset 1959
- Timestamp:
- 08/26/09 15:10:46 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Result.cpp
r1271 r1959 69 69 } 70 70 71 field=result_field; //do not copy, as the results are large in memory size.71 VecDuplicatePatch(&field,result_field); 72 72 dfield=NULL; 73 73 cfield=NULL; … … 90 90 } 91 91 92 dfield=result_field; //do not copy, as the results are large in memory size. 92 dfield=(double*)xmalloc(result_size*sizeof(double)); 93 memcpy(dfield,result_field,result_size*sizeof(double)); 93 94 size=result_size; 94 95 field=NULL;
Note:
See TracChangeset
for help on using the changeset viewer.