Changeset 3755


Ignore:
Timestamp:
05/17/10 07:52:46 (15 years ago)
Author:
Mathieu Morlighem
Message:

fixed ISSM_DEBUG outputs not needed

Location:
issm/trunk/src/mex
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/mex/ContourToMesh/ContourToMesh.cpp

    r3332 r3755  
    8282        }
    8383
    84         #ifdef _ISSM_DEBUG_
     84        /*
    8585        for(i=0;i<numcontours;i++){
    8686                printf("\nContour echo: contour number  %i / %i\n",i+1,numcontours);
     
    9191                }
    9292        }
    93         #endif
     93        */
    9494
    9595        /*Recover  interptype: */
  • issm/trunk/src/mex/TriMesh/TriMesh.cpp

    r1904 r3755  
    9898        }
    9999       
    100         #ifdef _ISSM_DEBUG_
    101         printf("Domain name: %s\n",domainname);
    102         printf("Rift name: %s\n",riftname);
    103         printf("Maximum area: %16.16lf\n",area);
    104         printf("Order: %s\n",order);
    105         #endif
    106        
    107        
    108100        /*Start reading the domain outline file: */
    109101        noerr=DomainOutlineRead(&nprof,&profngrids,&pprofx,&pprofy,domainname);
     
    121113                }
    122114        }
    123 
    124         #ifdef _ISSM_DEBUG_
    125         printf("# points in domain outline: %i\n",nprof);
    126         #endif
    127         #ifdef _DEBUG2_
    128         for (i=0;i<nprof;i++){
    129                 printf("Profile #%i\n",i);
    130                 x=pprofx[i];
    131                 y=pprofy[i];
    132                 for (j=0;j<profngrids[i];j++){
    133                         printf("   %lf %lf\n",x[j],y[j]);
    134                 }
    135         }
    136         #endif
    137 
    138 
    139         #ifdef _ISSM_DEBUG_
    140         printf("# points in rift outline: %i\n",numrifts);
    141         #endif
    142         #ifdef _DEBUG2_
    143         for (i=0;i<numrifts;i++){
    144                 printf("Profile #%i\n",i);
    145                 x=riftsgridsx[i];
    146                 y=riftsgridsy[i];
    147                 for (j=0;j<riftsnumgrids[i];j++){
    148                         printf("   %lf %lf\n",x[j],y[j]);
    149                 }
    150         }
    151         #endif
    152115
    153116        /*Create initial triangulation to call triangulate():*/
     
    198161                in.pointmarkerlist[i] = 0;
    199162        }
    200        
    201163
    202164        /*Build segments: */
  • issm/trunk/src/mex/TriMeshNoDensity/TriMeshNoDensity.cpp

    r2739 r3755  
    8787                }
    8888        }
    89 
    90         #ifdef _ISSM_DEBUG_
    91         printf("Domain name: %s\n",domainname);
    92         printf("Rift name: %s\n",riftname);
    93         #endif
    94        
    9589       
    9690        /*Start reading the domain outline file: */
     
    109103                }
    110104        }
    111 
    112         #ifdef _ISSM_DEBUG_
    113         printf("# points in domain outline: %i\n",nprof);
    114         #endif
    115         #ifdef _DEBUG2_
    116         for (i=0;i<nprof;i++){
    117                 printf("Profile #%i\n",i);
    118                 x=pprofx[i];
    119                 y=pprofy[i];
    120                 for (j=0;j<profngrids[i];j++){
    121                         printf("   %lf %lf\n",x[j],y[j]);
    122                 }
    123         }
    124         #endif
    125 
    126 
    127         #ifdef _ISSM_DEBUG_
    128         printf("# points in rift outline: %i\n",numrifts);
    129         #endif
    130         #ifdef _DEBUG2_
    131         for (i=0;i<numrifts;i++){
    132                 printf("Profile #%i\n",i);
    133                 x=riftsgridsx[i];
    134                 y=riftsgridsy[i];
    135                 for (j=0;j<riftsnumgrids[i];j++){
    136                         printf("   %lf %lf\n",x[j],y[j]);
    137                 }
    138         }
    139         #endif
    140105
    141106        /*Create initial triangulation to call triangulate():*/
  • issm/trunk/src/mex/TriMeshProcessRifts/TriMeshProcessRifts.cpp

    r3567 r3755  
    142142        }
    143143
    144         #ifdef _ISSM_DEBUG_
     144        /*
    145145        printf("Index: \n");
    146146        for (i=0;i<nel;i++){
     
    162162                printf("\n");
    163163        }
    164         #endif
     164        */
    165165
    166166        /*First, do some fixing on the existing mesh: we do not want any element belonging entirely to the segment list (ie:
  • issm/trunk/src/mex/TriMeshRefine/TriMeshRefine.cpp

    r1904 r3755  
    159159        }
    160160
    161 
    162         #ifdef _ISSM_DEBUG_
    163161        /*printf("Index: \n");
    164162        for (i=0;i<nel;i++){
     
    185183        }*/
    186184        //if(nrhs==6)printf("Order: %s\n",order);
    187         #endif
    188185
    189186        /*Create initial triangulation to call triangulate():*/
Note: See TracChangeset for help on using the changeset viewer.