Changeset 2851


Ignore:
Timestamp:
01/15/10 09:14:44 (15 years ago)
Author:
Mathieu Morlighem
Message:

removed ErrorMesh class

Location:
issm/trunk/src/c/Bamgx
Files:
3 edited

Legend:

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

    r2850 r2851  
    120120const int IsVertexOnEdge = 32;
    121121/////////////////////////////////////////////////////////////////////////////////////
    122 #ifndef  NOTFREEFEM
    123 class ErrorMesh : public Error
    124 
    125 public:
    126     Triangles *Th;
    127     ErrorMesh(const char * Text,int l,Triangles * TTh=0, const char *t2="") :
    128         Error(MESH_ERROR,"Meshing error: ",Text,"\n number : ",l,", ",t2),Th(TTh)  {}
    129 };
    130 #endif
    131122
    132123//class from MeshGeom
  • issm/trunk/src/c/Bamgx/meshtype.h

    r2740 r2851  
    6767#endif
    6868 class Triangles;
    69 extern void MeshError(int Err,Triangles *Th=0) ;
    7069}
    7170#endif
  • issm/trunk/src/c/Bamgx/objects/Triangles.cpp

    r2850 r2851  
    59035903        }
    59045904        /*}}}1*/
    5905         /*FUNCTION MeshError{{{1*/
    5906         void MeshError(int Err,Triangles *Th){
    5907                 cerr << " Fatal error in the meshgenerator " << Err << endl ;
    5908                 exit(1);
    5909         }
    5910         /*}}}1*/
    59115905        /*FUNCTION  ostream& operator{{{1*/
    59125906        ostream& operator <<(ostream& f, const  Triangle & ta) {
Note: See TracChangeset for help on using the changeset viewer.