Changeset 18218
- Timestamp:
- 07/03/14 09:30:45 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp
r18210 r18218 7 7 #include "../cores/cores.h" 8 8 9 //#define FSANALYTICAL 2 9 //#define FSANALYTICAL 24 10 10 11 11 /*Model processing*/ … … 3188 3188 IssmDouble x_coord,y_coord,z_coord; 3189 3189 IssmDouble *xyz_list_base = NULL; 3190 IssmDouble *xyz_list = NULL; 3190 3191 Gauss* gauss = NULL; 3191 3192 … … 3205 3206 /*Retrieve all inputs and parameters*/ 3206 3207 element->GetVerticesCoordinatesBase(&xyz_list_base); 3208 element->GetVerticesCoordinates(&xyz_list); 3207 3209 Input* vx_input = element->GetInput(VxEnum); _assert_(vx_input); 3208 3210 Input* vy_input = element->GetInput(VyEnum); _assert_(vy_input); … … 3215 3217 gauss->GaussPoint(ig); 3216 3218 3217 x_coord=element->GetXcoord(xyz_list _base,gauss);3218 y_coord=element->GetYcoord(xyz_list _base,gauss);3219 if(dim==3) z_coord=element->GetZcoord(xyz_list _base,gauss);3219 x_coord=element->GetXcoord(xyz_list,gauss); 3220 y_coord=element->GetYcoord(xyz_list,gauss); 3221 if(dim==3) z_coord=element->GetZcoord(xyz_list,gauss); 3220 3222 else z_coord=0.; 3221 3223 … … 3236 3238 /*Clean up and return*/ 3237 3239 delete gauss; 3240 xDelete<IssmDouble>(xyz_list); 3238 3241 xDelete<IssmDouble>(xyz_list_base); 3239 3242 xDelete<IssmDouble>(B);
Note:
See TracChangeset
for help on using the changeset viewer.