Changeset 14217


Ignore:
Timestamp:
01/09/13 08:36:52 (12 years ago)
Author:
Mathieu Morlighem
Message:

CHG: MeshProfileIntersection now writes integers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/wrappers/MeshProfileIntersection/MeshProfileIntersection.cpp

    r13864 r14217  
    4545       
    4646        //contours
    47         DataSet *domain = NULL;
    48         Contour<double>** contours=NULL;
    49         int       numcontours;
    50         Contour<double>contouri=NULL;
     47        DataSet          *domain      = NULL;
     48        Contour<double> **contours=NULL;
     49        int               numcontours;
     50        Contour<double>  *contouri=NULL;
    5151
    5252        /* output: */
    53         double* segments=NULL;
    54         int     numsegs;
     53        int* segments=NULL;
     54        int  numsegs;
    5555
    5656        /*Boot module: */
     
    8282                *(contours+i)=(Contour<double>*)domain->GetObjectByOffset(i);
    8383
    84         /* Debugging of contours :{{{1*/
    85         /*for(i=0;i<numcontours;i++){
    86                 _printLine_("\nContour echo: contour number  " << i+1 << " / " << numcontours);
    87                 contouri=*(contours+i);
    88                 _printLine_("   Number of vertices " << contouri->nods);
    89                 for (j=0;j<contouri->nods;j++){
    90                         _printLine_("   " << *(contouri->x+j) << "f " << *(contouri->y+j) << "f");
    91                 }
    92         }*/
    93         /*}}}*/
    94 
    9584        /*Run interpolation routine: */
    9685        MeshProfileIntersectionx(&segments,&numsegs,index,x,y,nel,nods,contours,numcontours);
Note: See TracChangeset for help on using the changeset viewer.