Changeset 1960
- Timestamp:
- 08/26/09 15:11:05 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/control_core.cpp
r1881 r1960 145 145 result=new Result(results->Size()+1,0,1,"J",J,nsteps); 146 146 results->AddObject(result); 147 148 /*Free ressources: */ 149 xfree((void**)&control_type); 150 xfree((void**)&fit); 151 xfree((void**)&optscal); 152 xfree((void**)&maxiter); 153 PetscSynchronizedPrintf(MPI_COMM_WORLD,"ok2\n"); 154 PetscSynchronizedFlush(MPI_COMM_WORLD); 155 VecFree(&new_grad_g); //do not VecFree grad_g and grad_g_old, they point to new_grad_g 156 xfree((void**)&grad_g_double); 157 xfree((void**)¶m_g); 158 VecFree(&u_g); 159 xfree((void**)&J); 160 147 161 }
Note:
See TracChangeset
for help on using the changeset viewer.