From 810b6317870fe0124386f8c41348966b2a78255b Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Thu, 27 Nov 2008 14:22:00 +0000 Subject: [PATCH] *** empty log message *** --- Geo/Geo.cpp | 2 +- Geo/gmshSurface.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 9ceab9c533..302b465c00 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -126,7 +126,7 @@ Vertex *Create_Vertex(int Num, double u, double v, gmshSurface *surf, double lc) pV->u = u; pV->geometry = surf; pV->pntOnGeometry = SPoint2(u,v); - surf->is_parametric_surface=true; + surf->vertex_defined_on_surface=true; return pV; } diff --git a/Geo/gmshSurface.h b/Geo/gmshSurface.h index 0a3083b0a9..4480df9d67 100644 --- a/Geo/gmshSurface.h +++ b/Geo/gmshSurface.h @@ -22,13 +22,13 @@ protected: static std::map<int, gmshSurface*> allGmshSurfaces; public: //there are points define in this surface parameterization - bool is_parametric_surface; + bool vertex_defined_on_surface; virtual ~gmshSurface(){} static void reset() { std::map<int, gmshSurface*>::iterator it = allGmshSurfaces.begin(); for (; it != allGmshSurfaces.end(); ++it){ - if(!it->second->is_parametric_surface) + if(!it->second->vertex_defined_on_surface) delete it->second; } allGmshSurfaces.clear(); -- GitLab