Changeset 11933 for issm/trunk-jpl/src/mex/Xy2ll/Xy2ll.cpp
- Timestamp:
- 04/05/12 14:48:35 (13 years ago)
- Location:
- issm/trunk-jpl/src/mex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/mex
- Property svn:ignore
-
old new 1 __pycache__ 1 2 Makefile 2 3 .ignore.txt
-
- Property svn:ignore
-
issm/trunk-jpl/src/mex/Xy2ll/Xy2ll.cpp
r8910 r11933 35 35 /*Input datasets: */ 36 36 if (verbose) printf("Fetching inputs:\n"); 37 Fetch MatlabData(&x,&nx,X_IN);37 FetchData(&x,&nx,X_IN); 38 38 if (verbose) 39 39 if (nx == 1) printf(" x=%g\n",x[0]); 40 40 else printf(" x=[%d values]\n",nx); 41 41 // for (i=0; i<nx; i++) printf(" x[%d]=%g\n",i,x[i]); 42 Fetch MatlabData(&y,&ny,Y_IN);42 FetchData(&y,&ny,Y_IN); 43 43 if (verbose) 44 44 if (ny == 1) printf(" y=%g\n",y[0]); 45 45 else printf(" y=[%d values]\n",ny); 46 46 // for (i=0; i<ny; i++) printf(" y[%d]=%g\n",i,y[i]); 47 Fetch MatlabData(&sgn,SGN_IN);47 FetchData(&sgn,SGN_IN); 48 48 if (verbose) printf(" sgn=%d\n",sgn); 49 49 … … 84 84 85 85 /*Write data: */ 86 Write MatlabData(LAT_OUT,lat,ncoord);87 Write MatlabData(LON_OUT,lon,ncoord);86 WriteData(LAT_OUT,lat,ncoord); 87 WriteData(LON_OUT,lon,ncoord); 88 88 89 89 /*Clean-up*/
Note:
See TracChangeset
for help on using the changeset viewer.