diff --git a/libsrc/meshing/basegeom.cpp b/libsrc/meshing/basegeom.cpp index 93a7c6ca..429a5d58 100644 --- a/libsrc/meshing/basegeom.cpp +++ b/libsrc/meshing/basegeom.cpp @@ -21,9 +21,7 @@ namespace netgen mparam.grading); if(mparam.uselocalh) - { - // TODO set local h - } + RestrictLocalMeshsize(mesh, mparam); mesh.LoadLocalMeshSize(mparam.meshsizefilename); } diff --git a/libsrc/meshing/basegeom.hpp b/libsrc/meshing/basegeom.hpp index a1c9ef28..86d19546 100644 --- a/libsrc/meshing/basegeom.hpp +++ b/libsrc/meshing/basegeom.hpp @@ -38,6 +38,8 @@ namespace netgen virtual Mesh::GEOM_TYPE GetGeomType() const { return Mesh::NO_GEOM; } virtual void Analyse(Mesh& mesh, const MeshingParameters& mparam); + virtual void RestrictLocalMeshsize(Mesh& mesh, + const MeshingParameters& mparam) const {} virtual void FindEdges(Mesh& mesh, const MeshingParameters& mparam) {} virtual void MeshSurface(Mesh& mesh, const MeshingParameters& mparam) {} virtual void OptimizeSurface(Mesh& mesh, const MeshingParameters& mparam);