Ignore:
Timestamp:
04/05/12 14:48:35 (13 years ago)
Author:
Eric.Larour
Message:

New FetchData and WriteData interface

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__
        12Makefile
        23.ignore.txt
  • issm/trunk-jpl/src/mex/Xy2ll/Xy2ll.cpp

    r8910 r11933  
    3535        /*Input datasets: */
    3636        if (verbose) printf("Fetching inputs:\n");
    37         FetchMatlabData(&x,&nx,X_IN);
     37        FetchData(&x,&nx,X_IN);
    3838        if (verbose)
    3939                if   (nx == 1) printf("  x=%g\n",x[0]);
    4040                else           printf("  x=[%d values]\n",nx);
    4141//      for (i=0; i<nx; i++) printf("  x[%d]=%g\n",i,x[i]);
    42         FetchMatlabData(&y,&ny,Y_IN);
     42        FetchData(&y,&ny,Y_IN);
    4343        if (verbose)
    4444                if   (ny == 1) printf("  y=%g\n",y[0]);
    4545                else           printf("  y=[%d values]\n",ny);
    4646//      for (i=0; i<ny; i++) printf("  y[%d]=%g\n",i,y[i]);
    47         FetchMatlabData(&sgn,SGN_IN);
     47        FetchData(&sgn,SGN_IN);
    4848        if (verbose) printf("  sgn=%d\n",sgn);
    4949
     
    8484
    8585        /*Write data: */
    86         WriteMatlabData(LAT_OUT,lat,ncoord);
    87         WriteMatlabData(LON_OUT,lon,ncoord);
     86        WriteData(LAT_OUT,lat,ncoord);
     87        WriteData(LON_OUT,lon,ncoord);
    8888
    8989        /*Clean-up*/
Note: See TracChangeset for help on using the changeset viewer.