Changeset 12878 for issm/branches/trunk-jpl-damage/src/c/toolkits/petsc/patches/GetOwnershipBoundariesFromRange.cpp
- Timestamp:
- 08/02/12 17:13:12 (13 years ago)
- Location:
- issm/branches/trunk-jpl-damage
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/branches/trunk-jpl-damage
- Property svn:mergeinfo changed
-
issm/branches/trunk-jpl-damage/src/c/toolkits/petsc/patches/GetOwnershipBoundariesFromRange.cpp
r9320 r12878 28 28 29 29 /*Gather all range values into allranges, for all nodes*/ 30 allranges= (int*)xmalloc(num_procs*sizeof(int));30 allranges=xNew<int>(num_procs); 31 31 MPI_Allgather(&range,1,MPI_INT,allranges,1,MPI_INT,MPI_COMM_WORLD); 32 32 … … 42 42 *plower_row=lower_row; 43 43 *pupper_row=upper_row; 44 45 /*Free ressources:*/ 46 xfree((void**)&allranges); 47 44 xDelete<int>(allranges); 48 45 }
Note:
See TracChangeset
for help on using the changeset viewer.