Changeset 2004
- Timestamp:
- 08/27/09 10:24:33 (15 years ago)
- Location:
- issm/trunk/src/c/parallel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/steadystate.cpp
r1997 r2004 178 178 xfree((void**)&u_g_initial); 179 179 xfree((void**)&p_g_initial); 180 delete model; 181 delete results; 182 delete inputs; 180 183 181 184 return 0; //unix success return; -
issm/trunk/src/c/parallel/thermal_core.cpp
r1954 r2004 31 31 double* t_g_serial=NULL; 32 32 double* m_g_serial=NULL; 33 34 /*intermediary*/ 35 Vec Vect=NULL; 36 Vec Vecm=NULL; 33 37 34 38 /*flags: */ … … 113 117 result=new Result(results->Size()+1,0,1,"m_g",m_g[0]); 114 118 results->AddObject(result); 119 120 /*free ressource*/ 121 Vect=t_g[0]; Vecm=m_g[0]; 122 VecFree(&Vect); VecFree(&Vecm); 115 123 } 116 124 else{ … … 121 129 result=new Result(results->Size()+1,time[i],i+1,"m_g",m_g[i]); 122 130 results->AddObject(result); 131 132 /*free ressource*/ 133 Vect=t_g[i]; Vecm=m_g[i]; 134 VecFree(&Vect); VecFree(&Vecm); 123 135 } 124 136 } 137 /*free ressource*/ 138 xfree((void**)&t_g); 125 139 } -
issm/trunk/src/c/parallel/thermal_core_nonlinear.cpp
r713 r2004 124 124 } 125 125 126 /*Free ressources: */ 127 MatFree(&Kgg_nopenalty); 128 VecFree(&pg_nopenalty); 129 VecFree(&tf); 130 126 131 /*Assign output pointers: */ 127 132 *ptg=tg;
Note:
See TracChangeset
for help on using the changeset viewer.