mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 21:40:33 +05:00
add virtual method to restrict localh to geometry
This commit is contained in:
parent
36e56e5d6c
commit
54b36c6a40
@ -21,9 +21,7 @@ namespace netgen
|
|||||||
mparam.grading);
|
mparam.grading);
|
||||||
|
|
||||||
if(mparam.uselocalh)
|
if(mparam.uselocalh)
|
||||||
{
|
RestrictLocalMeshsize(mesh, mparam);
|
||||||
// TODO set local h
|
|
||||||
}
|
|
||||||
mesh.LoadLocalMeshSize(mparam.meshsizefilename);
|
mesh.LoadLocalMeshSize(mparam.meshsizefilename);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -38,6 +38,8 @@ namespace netgen
|
|||||||
virtual Mesh::GEOM_TYPE GetGeomType() const { return Mesh::NO_GEOM; }
|
virtual Mesh::GEOM_TYPE GetGeomType() const { return Mesh::NO_GEOM; }
|
||||||
virtual void Analyse(Mesh& mesh,
|
virtual void Analyse(Mesh& mesh,
|
||||||
const MeshingParameters& mparam);
|
const MeshingParameters& mparam);
|
||||||
|
virtual void RestrictLocalMeshsize(Mesh& mesh,
|
||||||
|
const MeshingParameters& mparam) const {}
|
||||||
virtual void FindEdges(Mesh& mesh, const MeshingParameters& mparam) {}
|
virtual void FindEdges(Mesh& mesh, const MeshingParameters& mparam) {}
|
||||||
virtual void MeshSurface(Mesh& mesh, const MeshingParameters& mparam) {}
|
virtual void MeshSurface(Mesh& mesh, const MeshingParameters& mparam) {}
|
||||||
virtual void OptimizeSurface(Mesh& mesh, const MeshingParameters& mparam);
|
virtual void OptimizeSurface(Mesh& mesh, const MeshingParameters& mparam);
|
||||||
|
Loading…
Reference in New Issue
Block a user