source:
issm/oecreview/Archive/21724-22754/ISSM-21875-21876.diff@
22755
Last change on this file since 22755 was 22755, checked in by , 7 years ago | |
---|---|
File size: 3.4 KB |
-
../trunk-jpl/src/c/classes/Elements/Tria.cpp
2679 2679 /*}}}*/ 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; 2684 2685 this->material=NULL; -
../trunk-jpl/src/c/classes/Elements/Penta.cpp
171 171 this->inputs->AddInput(new PentaInput(input_enum,values,interpolation_enum)); 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); 177 177 … … 2212 2212 /*}}}*/ 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; 2217 2218 this->material=NULL; -
../trunk-jpl/src/c/classes/Elements/Tetra.cpp
807 807 /*}}}*/ 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; 812 813 this->material=NULL; -
../trunk-jpl/src/c/classes/Dakota/IssmParallelDirectApplicInterface.cpp
48 48 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; 54 55 bool control_analysis = false; … … 127 128 xDelete<char>(variable_descriptor); 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; 132 138 -
../trunk-jpl/src/c/main/issm_dakota.cpp
83 83 /* Execute the environment:*/ 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; 88 92 #else … … 89 93 Cout << "ISSM Dakota executable was compiled without support of Dakota! Will just return now!" << "\n"; 90 94 return 1; 91 95 #endif 96 92 97 }
Note:
See TracBrowser
for help on using the repository browser.