Skip to content
Snippets Groups Projects
Commit 810b6317 authored by Jean-François Remacle's avatar Jean-François Remacle
Browse files

*** empty log message ***

parent 9516148a
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
......@@ -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();
......
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