Ignore:
Timestamp:
08/02/12 17:13:12 (13 years ago)
Author:
cborstad
Message:

merged trunk-jpl into trunk-jpl-damage through revision 12877

Location:
issm/branches/trunk-jpl-damage
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/branches/trunk-jpl-damage

  • issm/branches/trunk-jpl-damage/src/modules/MeshProfileIntersection/MeshProfileIntersection.cpp

    r12060 r12878  
    5454        //index
    5555        FetchData(&double_index,&nel,&dummy,INDEX);
    56         if(dummy!=3 && dummy!=6)_error_(" element triangulation should be of 3 or 6 column width!");
     56        if(dummy!=3 && dummy!=6)_error2_("element triangulation should be of 3 or 6 column width!");
    5757        index=(int*)xmalloc(nel*3*sizeof(int));
    5858        for(i=0;i<nel;i++){
     
    8181        /* Debugging of contours :{{{1*/
    8282        /*for(i=0;i<numcontours;i++){
    83                 printf("\nContour echo: contour number  %i / %i\n",i+1,numcontours);
     83                _printLine_("\nContour echo: contour number  " << i+1 << " / " << numcontours);
    8484                contouri=*(contours+i);
    85                 printf("   Number of vertices %i\n",contouri->nods);
     85                _printLine_("   Number of vertices " << contouri->nods);
    8686                for (j=0;j<contouri->nods;j++){
    87                         printf("   %lf %lf\n",*(contouri->x+j),*(contouri->y+j));
     87                        _printLine_("   " << *(contouri->x+j) << "f " << *(contouri->y+j) << "f");
    8888                }
    8989        }*/
     
    102102
    103103void MeshProfileIntersectionUsage(void){
    104         printf("   usage:\n");
    105         printf("   [segments]=MeshProfileIntersection(index,x,y,filename);\n");
    106         printf("   where:\n");
    107         printf("   input:\n");
    108         printf("        index,x,y is a triangulation\n");
    109         printf("        filename: name of Argus style .exp file containing the segments (can be groups of disconnected segments)\n");
    110         printf("   output:\n");
    111         printf("        segments: array made of x1,y1,x2,y2,element_id lines (x1,y1) and (x2,y2) are segment extremitis for a segment \n");
    112         printf("        belonging to the elemnt_id element. there are as many lines in segments as there are segments intersecting the \n");
    113         printf("        mesh.\n");
     104        _printLine_("   usage:");
     105        _printLine_("   [segments]=MeshProfileIntersection(index,x,y,filename);");
     106        _printLine_("   where:");
     107        _printLine_("   input:");
     108        _printLine_("        index,x,y is a triangulation");
     109        _printLine_("        filename: name of Argus style .exp file containing the segments (can be groups of disconnected segments)");
     110        _printLine_("   output:");
     111        _printLine_("        segments: array made of x1,y1,x2,y2,element_id lines (x1,y1) and (x2,y2) are segment extremitis for a segment ");
     112        _printLine_("        belonging to the elemnt_id element. there are as many lines in segments as there are segments intersecting the ");
     113        _printLine_("        mesh.");
    114114}
Note: See TracChangeset for help on using the changeset viewer.