Ignore:
Timestamp:
03/24/10 16:53:27 (15 years ago)
Author:
Mathieu Morlighem
Message:

Do not use throw ErrorException -> ISSMERROR macro
Removed all FUNCT definitions (now useless)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/Bamgx/objects/ListofIntersectionTriangles.h

    r3280 r3332  
    4343                                        double c01=lEnd-lBegin, c0=(lEnd-s)/c01, c1=(s-lBegin)/c01;
    4444                                        if (lBegin>s || s>lEnd){
    45                                                 throw ErrorException(__FUNCT__,exprintf("lBegin>s || s>lEnd"));
     45                                                ISSMERROR(exprintf("lBegin>s || s>lEnd"));
    4646                                        }
    4747                                        return e->F(sBegin*c0+sEnd*c1);
     
    9393                                        SegInterpolation * lEn =  new SegInterpolation[MaxNbSeg];
    9494                                        if (!lSegsI || NbSeg>=MaxNbSeg){
    95                                                 throw ErrorException(__FUNCT__,exprintf("!lSegsI || NbSeg>=MaxNbSeg"));
     95                                                ISSMERROR(exprintf("!lSegsI || NbSeg>=MaxNbSeg"));
    9696                                        }
    9797                                        for (int i=0;i< NbSeg;i++)
     
    109109                                register int newsize = MaxSize*2;
    110110                                IntersectionTriangles* nw = new IntersectionTriangles[newsize];
    111                                 if (!nw){ throw ErrorException(__FUNCT__,exprintf("!nw"));}
     111                                if (!nw) ISSMERROR("!nw");
    112112                                // recopy
    113113                                for (int i=0;i<MaxSize;i++) nw[i] = lIntTria[i];       
Note: See TracChangeset for help on using the changeset viewer.