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/ContourToMesh/ContourToMesh.cpp

    r11695 r11933  
    5858
    5959        /*Fetch inputs: */
    60         FetchMatlabData(&index,&nel,NULL,INDEXHANDLE);
    61         FetchMatlabData(&x,&nods,NULL,XHANDLE);
    62         FetchMatlabData(&y,NULL,NULL,YHANDLE);
    63         FetchMatlabData(&edgevalue,EDGEVALUEHANDLE);
     60        FetchData(&index,&nel,NULL,INDEXHANDLE);
     61        FetchData(&x,&nods,NULL,XHANDLE);
     62        FetchData(&y,NULL,NULL,YHANDLE);
     63        FetchData(&edgevalue,EDGEVALUEHANDLE);
    6464
    6565        //Fetch contours
     
    7878
    7979        /*Fetch  interptype: */
    80         FetchMatlabData(&interptype,INTERPTYPEHANDLE);
     80        FetchData(&interptype,INTERPTYPEHANDLE);
    8181
    8282        /* Debugging of contours :{{{1*/
     
    9696        /* output: */
    9797        if (strcmp(interptype,"node")==0){
    98                 WriteMatlabData(PLHS0,in_nod);
     98                WriteData(PLHS0,in_nod);
    9999        }
    100100        else if (strcmp(interptype,"element")==0){
    101                 WriteMatlabData(PLHS0,in_elem);
     101                WriteData(PLHS0,in_elem);
    102102        }
    103103        else if (strcmp(interptype,"element and node")==0){
    104                 WriteMatlabData(PLHS0,in_nod);
    105                 WriteMatlabData(PLHS1,in_elem);
     104                WriteData(PLHS0,in_nod);
     105                WriteData(PLHS1,in_elem);
    106106        }
    107107        else _error_(" wrong interpolation type");
Note: See TracChangeset for help on using the changeset viewer.