Changeset 15163
- Timestamp:
- 05/30/13 10:14:25 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/InterpFromMeshToGridx/InterpFromMeshToGridx.cpp
r15104 r15163 59 59 /*Compute coordinates lists*/ 60 60 ymin=ymax-(nlines-1)*yposting; 61 for(i=0;i<nlines;i++) y_grid[i]= ymin + yposting*i;62 for(i=0;i<ncols; i++) x_grid[i]= xmin + xposting*i;61 for(i=0;i<nlines;i++) y_grid[i]= ymin + fabs(yposting)*i; 62 for(i=0;i<ncols; i++) x_grid[i]= xmin + fabs(xposting)*i; 63 63 64 64 /*Initialize coordintes and griddata*/
Note:
See TracChangeset
for help on using the changeset viewer.