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

cleanup

parent cfbac30b
No related branches found
No related tags found
No related merge requests found
...@@ -247,12 +247,14 @@ bool Extend2dMeshIn3dVolumes() ...@@ -247,12 +247,14 @@ bool Extend2dMeshIn3dVolumes()
// ---------- backgroundMesh class ----------- // ---------- backgroundMesh class -----------
void backgroundMesh::set (GFace *gf){ void backgroundMesh::set(GFace *gf)
{
if (_current) delete _current; if (_current) delete _current;
_current = new backgroundMesh(gf); _current = new backgroundMesh(gf);
} }
void backgroundMesh::unset (){ void backgroundMesh::unset()
{
if (_current) delete _current; if (_current) delete _current;
_current = 0; _current = 0;
} }
...@@ -396,9 +398,7 @@ void backgroundMesh::updateSizes(GFace *_gf) ...@@ -396,9 +398,7 @@ void backgroundMesh::updateSizes(GFace *_gf)
itv->second = std::min(itv->second, CTX::instance()->mesh.lcMax); itv->second = std::min(itv->second, CTX::instance()->mesh.lcMax);
} }
// return; // return;
// ---------------------
// now do some diffusion // now do some diffusion
// ---------------------
std::list<GEdge*> e = _gf->edges(); std::list<GEdge*> e = _gf->edges();
std::list<GEdge*>::const_iterator it = e.begin(); std::list<GEdge*>::const_iterator it = e.begin();
......
...@@ -16,8 +16,6 @@ class MElement; ...@@ -16,8 +16,6 @@ class MElement;
class MVertex; class MVertex;
class GEntity; class GEntity;
// this background mesh makes use
class backgroundMesh : public simpleFunction<double> class backgroundMesh : public simpleFunction<double>
{ {
Octree *_octree; Octree *_octree;
...@@ -39,12 +37,9 @@ public: ...@@ -39,12 +37,9 @@ public:
void print (const std::string &filename, GFace *gf) const; void print (const std::string &filename, GFace *gf) const;
}; };
double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double Z); double BGM_MeshSize(GEntity *ge, double U, double V, double X, double Y, double Z);
SMetric3 BGM_MeshMetric(GEntity *ge, double U, double V, double X, double Y, double Z); SMetric3 BGM_MeshMetric(GEntity *ge, double U, double V, double X, double Y, double Z);
bool Extend1dMeshIn2dSurfaces(); bool Extend1dMeshIn2dSurfaces();
bool Extend2dMeshIn3dVolumes(); bool Extend2dMeshIn3dVolumes();
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment