add virtual method to restrict localh to geometry

This commit is contained in:
Christopher Lackner 2019-10-24 17:34:53 +02:00
parent 36e56e5d6c
commit 54b36c6a40
2 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,7 @@ namespace netgen
mparam.grading);
if(mparam.uselocalh)
{
// TODO set local h
}
RestrictLocalMeshsize(mesh, mparam);
mesh.LoadLocalMeshSize(mparam.meshsizefilename);
}

View File

@ -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);