Changeset 21876
- Timestamp:
- 07/26/17 13:54:13 (8 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Dakota/IssmParallelDirectApplicInterface.cpp
r20637 r21876 49 49 FemModel* femmodel; 50 50 51 char **responses_descriptors = NULL; //these are our! there are only numresponsedescriptors of them, not d_numresponses!!! 51 char **responses_descriptors = NULL; //these are ours! there are only numresponsedescriptors of them, not d_numresponses!!! 52 char *response_descriptor = NULL; 52 53 int numresponsedescriptors; 53 54 int solution_type; … … 128 129 } 129 130 xDelete<char*>(variable_descriptors); 131 for(i=0;i<numFns;i++){ 132 response_descriptor=responses_descriptors[i]; 133 xDelete<char>(response_descriptor); 134 } 135 if(responses_descriptors) xDelete<char*>(responses_descriptors); 130 136 xDelete<IssmDouble>(responses); 131 137 delete femmodel; -
issm/trunk-jpl/src/c/classes/Elements/Penta.cpp
r21872 r21876 172 172 } 173 173 /*}}}*/ 174 void Penta::BasalNodeIndices(int* pnumindices,int** pindices,int finiteelement){/*{{{*/174 void Penta::BasalNodeIndices(int* pnumindices,int** pindices,int finiteelement){/*{{{*/ 175 175 176 176 PentaRef::BasalNodeIndices(pnumindices,pindices,finiteelement); … … 2213 2213 void Penta::ResetHooks(){/*{{{*/ 2214 2214 2215 if(this->nodes) xDelete<Node*>(this->nodes); 2215 2216 this->nodes=NULL; 2216 2217 this->vertices=NULL; -
issm/trunk-jpl/src/c/classes/Elements/Tetra.cpp
r21068 r21876 808 808 void Tetra::ResetHooks(){/*{{{*/ 809 809 810 if(this->nodes) xDelete<Node*>(this->nodes); 810 811 this->nodes=NULL; 811 812 this->vertices=NULL; -
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r21808 r21876 2680 2680 void Tria::ResetHooks(){/*{{{*/ 2681 2681 2682 if(this->nodes) xDelete<Node*>(this->nodes); 2682 2683 this->nodes=NULL; 2683 2684 this->vertices=NULL; -
issm/trunk-jpl/src/c/main/issm_dakota.cpp
r19698 r21876 84 84 env.execute(); 85 85 86 xDelete<char>(dakota_input_file); 87 xDelete<char>(dakota_output_file); 88 xDelete<char>(dakota_error_file); 89 86 90 /*Return unix success: */ 87 91 return 0; … … 90 94 return 1; 91 95 #endif 96 92 97 }
Note:
See TracChangeset
for help on using the changeset viewer.