[Gmsh] R: GRegion meshsize

Steffè Walter Walter.Steffe at thalesaleniaspace.com
Tue Sep 22 08:36:42 CEST 2020

Ok, thanks

-----Messaggio originale-----
Da: Christophe Geuzaine [mailto:cgeuzaine at uliege.be] 
Inviato: martedì 22 settembre 2020 08:36
A: Steffè Walter
Cc: gmsh at onelab.info
Oggetto: Re: [Gmsh] GRegion meshsize

> 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 

More information about the gmsh mailing list