[Gmsh] GRegion meshsize

Christophe Geuzaine cgeuzaine at uliege.be
Tue Sep 22 08:35:45 CEST 2020



> On 22 Sep 2020, at 08:27, Steffè Walter <Walter.Steffe at thalesaleniaspace.com> wrote:
> 
> Hello  Christophe, now I have a doubt about the implementation of the Netgen interface.
> 
> Lc is computed with :
>   SPoint3 pt = gr->bounds().center();
>   double lc = BGM_MeshSize(gr, 0, 0, pt.x(), pt.y(), pt.z());
> 
> But what happens if the region has a hole in the center and the center point does not belong to the region ?

It shouldn't matter, as it will fallback on gr->getMeshSize().

> 
> Walter
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine






More information about the gmsh mailing list