Changeset 8689 for issm/trunk/src/mex/Ll2xy/Ll2xy.cpp
- Timestamp:
- 06/22/11 15:51:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/mex/Ll2xy/Ll2xy.cpp
r8681 r8689 18 18 /* output: */ 19 19 double *x=NULL,*y=NULL; 20 int iret=0; 20 21 21 22 /*Boot module: */ … … 38 39 if (nlat == 1) printf(" lat=%g\n",lat[0]); 39 40 else printf(" lat=[%d values]\n",nlat); 41 // for (i=0; i<nlat; i++) printf(" lat[%d]=%g\n",i,lat[i]); 40 42 FetchData(&lon,&nlon,LON_IN); 41 43 if (verbose) 42 44 if (nlon == 1) printf(" lon=%g\n",lon[0]); 43 45 else printf(" lon=[%d values]\n",nlon); 46 // for (i=0; i<nlon; i++) printf(" lon[%d]=%g\n",i,lon[i]); 44 47 FetchData(&sgn,SGN_IN); 45 48 if (verbose) printf(" sgn=%d\n",sgn); … … 71 74 if (verbose) printf("Calling core:\n"); 72 75 if (options->GetOption("central_meridian") && options->GetOption("standard_parallel")) 73 Ll2xyx(x,y,74 75 76 iret=Ll2xyx(x,y, 77 lat,lon,ncoord, 78 sgn,cm,sp); 76 79 else 77 Ll2xyx(x,y, 78 lat,lon,ncoord, 79 sgn); 80 iret=Ll2xyx(x,y, 81 lat,lon,ncoord, 82 sgn); 83 if (verbose) printf(" iret=%d\n",iret); 80 84 81 85 /*Write data: */
Note:
See TracChangeset
for help on using the changeset viewer.