From c381b5fcfb1e464cf5f7af2dd4d78526dfe22708 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Wed, 19 Mar 2008 20:09:45 +0000
Subject: [PATCH] remove BGMReset

---
 Geo/GModel.cpp          | 3 +--
 Mesh/BackgroundMesh.cpp | 6 +-----
 Mesh/BackgroundMesh.h   | 1 -
 3 files changed, 2 insertions(+), 8 deletions(-)

diff --git a/Geo/GModel.cpp b/Geo/GModel.cpp
index 44b4ae67ae..588c131748 100644
--- a/Geo/GModel.cpp
+++ b/Geo/GModel.cpp
@@ -1,4 +1,4 @@
-// $Id: GModel.cpp,v 1.73 2008-03-19 17:26:48 geuzaine Exp $
+// $Id: GModel.cpp,v 1.74 2008-03-19 20:09:45 geuzaine Exp $
 //
 // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
 //
@@ -110,7 +110,6 @@ void GModel::destroy()
 #if !defined(HAVE_GMSH_EMBEDDED)
   _fields->reset();
   gmshSurface::reset();
-  BGMReset();
 #endif
 }
 
diff --git a/Mesh/BackgroundMesh.cpp b/Mesh/BackgroundMesh.cpp
index 6ca9d79272..5d3f4ff546 100644
--- a/Mesh/BackgroundMesh.cpp
+++ b/Mesh/BackgroundMesh.cpp
@@ -1,4 +1,4 @@
-// $Id: BackgroundMesh.cpp,v 1.43 2008-03-19 17:26:48 geuzaine Exp $
+// $Id: BackgroundMesh.cpp,v 1.44 2008-03-19 20:09:45 geuzaine Exp $
 //
 // Copyright (C) 1997-2008 C. Geuzaine, J.-F. Remacle
 //
@@ -38,10 +38,6 @@ bool BGMExists()
   return (GModel::current()->getFields()->background_field > 0); 
 }
 
-void BGMReset()
-{
-}
-
 // computes the characteristic length of the mesh at a vertex in order
 // to have the geometry captured with accuracy. A parameter called
 // CTX.mesh.min_circ_points tells the minimum number of points per
diff --git a/Mesh/BackgroundMesh.h b/Mesh/BackgroundMesh.h
index 97abe35381..b614a428e1 100644
--- a/Mesh/BackgroundMesh.h
+++ b/Mesh/BackgroundMesh.h
@@ -23,7 +23,6 @@
 class GEntity;
 double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double Z);
 bool BGMExists();
-void BGMReset();
 bool Extend1dMeshIn2dSurfaces ();
 bool Extend2dMeshIn3dVolumes  ();
 double LC_MVertex_CURV(GEntity *ge, double U, double V);
-- 
GitLab