Changeset 1707
- Timestamp:
- 08/14/09 13:43:31 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/ControlInitialization.cpp
r1671 r1707 91 91 inputs->Add("bedslopex",slopex,numberofdofspernode_sl,numberofnodes); 92 92 inputs->Add("bedslopey",slopey,numberofdofspernode_sl,numberofnodes); 93 VecFree(&slopex); VecFree(&slopey); 93 94 94 95 /*2: run a complete diagnostic to update spcs*/ … … 114 115 VecMerge(ug,ug_horiz,dofsetgen(2,&dof01[0],3,numberofnodes*3),numberofnodes*2); 115 116 VecMerge(ug,ug_vert,dofsetgen(1,&dof2[0],3,numberofnodes*3),numberofnodes*1); 117 VecFree(&ug_vert); VecFree(&ug_horiz); 116 118 117 119 //Create 4d u_g … … 125 127 //Add in inputs 126 128 inputs->Add("velocity",ug_stokes,numberofdofspernode_ds,numberofnodes); 129 VecFree(&ug_stokes); 127 130 128 131 //update spcs … … 140 143 //Add in inputs 141 144 inputs->Add("velocity",ug,numberofdofspernode_ds,numberofnodes); 145 VecFree(&ug); 142 146 143 147 /*Assign output*/
Note:
See TracChangeset
for help on using the changeset viewer.