Skip to content
Snippets Groups Projects
Commit 74b3cfc3 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

- fixed a couple of warnings

- JF: bds.classify crashes in recur_tag on simple examples (demos/sphere-stl.stl)
parent e5c3f30a
No related branches found
No related tags found
No related merge requests found
...@@ -40,7 +40,7 @@ public: ...@@ -40,7 +40,7 @@ public:
return iD < other.iD; return iD < other.iD;
} }
BDS_Point ( int id, double x=0, double y=0, double z=0 ) BDS_Point ( int id, double x=0, double y=0, double z=0 )
: iD(id),X(x),Y(y),Z(z),g(0) : iD(id),g(0),X(x),Y(y),Z(z)
{ {
} }
}; };
...@@ -110,7 +110,7 @@ public: ...@@ -110,7 +110,7 @@ public:
return false; return false;
} }
BDS_Triangle ( BDS_Edge *A, BDS_Edge *B, BDS_Edge *C , double nx=0, double ny=0, double nz=0) BDS_Triangle ( BDS_Edge *A, BDS_Edge *B, BDS_Edge *C , double nx=0, double ny=0, double nz=0)
: NX(nx),NY(ny),NZ(nz),g(0) : g(0),NX(nx),NY(ny),NZ(nz)
{ {
if (*A < *B && *A < *C) if (*A < *B && *A < *C)
{ {
......
# $Id: Makefile,v 1.80 2005-04-11 08:53:15 remacle Exp $ # $Id: Makefile,v 1.81 2005-04-12 17:05:39 geuzaine Exp $
# #
# Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle
# #
...@@ -271,6 +271,7 @@ depend: ...@@ -271,6 +271,7 @@ depend:
Face.h Edge.h ../Geo/ExtrudeParams.h DiscreteSurface.h \ Face.h Edge.h ../Geo/ExtrudeParams.h DiscreteSurface.h \
../Common/VertexArray.h ../Common/SmoothNormals.h Metric.h Matrix.h \ ../Common/VertexArray.h ../Common/SmoothNormals.h Metric.h Matrix.h \
Create.h ../Numeric/Numeric.h ../Common/Context.h Create.h ../Numeric/Numeric.h ../Common/Context.h
BDS.o: BDS.cpp BDS.h
MeshQuality.o: MeshQuality.cpp ../Common/Gmsh.h ../Common/Message.h \ MeshQuality.o: MeshQuality.cpp ../Common/Gmsh.h ../Common/Message.h \
../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \ ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h Mesh.h \ ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h Mesh.h \
...@@ -315,7 +316,7 @@ DiscreteSurface.o: DiscreteSurface.cpp ../Common/Gmsh.h \ ...@@ -315,7 +316,7 @@ DiscreteSurface.o: DiscreteSurface.cpp ../Common/Gmsh.h \
../Numeric/Numeric.h Mesh.h Vertex.h Element.h Simplex.h Face.h Edge.h \ ../Numeric/Numeric.h Mesh.h Vertex.h Element.h Simplex.h Face.h Edge.h \
../Geo/ExtrudeParams.h DiscreteSurface.h ../Common/VertexArray.h \ ../Geo/ExtrudeParams.h DiscreteSurface.h ../Common/VertexArray.h \
../Common/SmoothNormals.h Metric.h Matrix.h ../Geo/CAD.h ../Geo/Geo.h \ ../Common/SmoothNormals.h Metric.h Matrix.h ../Geo/CAD.h ../Geo/Geo.h \
Create.h Interpolation.h ../Common/Context.h Create.h Interpolation.h ../Common/Context.h BDS.h
SwapEdge.o: SwapEdge.cpp ../Common/Gmsh.h ../Common/Message.h \ SwapEdge.o: SwapEdge.cpp ../Common/Gmsh.h ../Common/Message.h \
../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \ ../DataStr/Malloc.h ../DataStr/List.h ../DataStr/Tree.h \
../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h Mesh.h \ ../DataStr/avl.h ../DataStr/Tools.h ../Numeric/Numeric.h Mesh.h \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment