Changeset 25721
- Timestamp:
- 10/29/20 13:57:15 (4 years ago)
- Location:
- issm/trunk-jpl/src/c
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Tria.cpp
r25720 r25721 2593 2593 flux += rho_ice*Jdet*gauss->weight*thickness*(vx*normal[0] + vy*normal[1]); 2594 2594 } 2595 2596 /*Cleanup and return*/ 2597 xDelete<IssmDouble>(xyz_list); 2598 xDelete<IssmDouble>(xyz_front); 2595 2599 delete gauss; 2596 2600 return flux; … … 2720 2724 flux += rho_ice*Jdet*gauss->weight*thickness*(vx*normal[0] + vy*normal[1]); 2721 2725 } 2726 2727 /*Cleanup and return*/ 2722 2728 delete gauss; 2729 xDelete<IssmDouble>(xyz_list); 2723 2730 return flux; 2724 2731 } … … 2846 2853 } 2847 2854 2855 /*Cleanup and return*/ 2856 delete gauss; 2857 xDelete<IssmDouble>(xyz_list); 2848 2858 return flux; 2849 2859 } … … 4321 4331 /*Clean up and return*/ 4322 4332 delete gauss; 4333 xDelete<IssmDouble>(xyz_list); 4323 4334 return flux; 4324 4335 } -
issm/trunk-jpl/src/c/classes/FemModel.cpp
r25627 r25721 149 149 xDelete<char>(petscfilename); 150 150 xDelete<char>(restartfilename); 151 xDelete<char>(modelname); 151 152 xDelete<char>(rootpath); 152 153 -
issm/trunk-jpl/src/c/cores/ProcessArguments.cpp
r25627 r25721 18 18 *solution_type = StringToEnumx(argv[1]); 19 19 char* rootpatharg = argv[2]; 20 char* modelname 20 char* modelname = xNew<char>(strlen(argv[3])+1); 21 21 xMemCpy<char>(modelname,argv[3],strlen(argv[3])+1); 22 22
Note:
See TracChangeset
for help on using the changeset viewer.