Changeset 2851
- Timestamp:
- 01/15/10 09:14:44 (15 years ago)
- Location:
- issm/trunk/src/c/Bamgx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/Bamgx/Mesh2.h
r2850 r2851 120 120 const int IsVertexOnEdge = 32; 121 121 ///////////////////////////////////////////////////////////////////////////////////// 122 #ifndef NOTFREEFEM123 class ErrorMesh : public Error124 {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 #endif131 122 132 123 //class from MeshGeom -
issm/trunk/src/c/Bamgx/meshtype.h
r2740 r2851 67 67 #endif 68 68 class Triangles; 69 extern void MeshError(int Err,Triangles *Th=0) ;70 69 } 71 70 #endif -
issm/trunk/src/c/Bamgx/objects/Triangles.cpp
r2850 r2851 5903 5903 } 5904 5904 /*}}}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*/5911 5905 /*FUNCTION ostream& operator{{{1*/ 5912 5906 ostream& operator <<(ostream& f, const Triangle & ta) {
Note:
See TracChangeset
for help on using the changeset viewer.