[Gmsh] A small patch to allow face related mesh sizes

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Oct 7 16:31:57 CEST 2015


Hi Walter - Thanks for the patch; I've merged a modified version in SVN (r22078).

Thanks,

Christophe

> On 05 Oct 2015, at 19:12, steffe at tiscali.it wrote:
> 
> Hello,
> 
>   I am developing an open source Electromagnetic Modeler (called
> "EmCAD") which makes use of Gmsh in two ways:  It calls the Gmsh library
> for the generation of a surface mesh and it calls the Gmsh application
> for the visualization.
> 
> You can find the source code (and also a windows installer) at the
> following web page:
> 
> http://hierarchical-electromagnetics.com/technology/emcad/
> 
> 
> For this application I need to specify mesh sizes which are associated
> with geometrical faces. So I added a "meshSize" field to the
> "meshAttributes" structure inside of the "GFace" class.
> Then I added a few lines into the "BackgroundMeshTools.cpp" file which
> take into account of the new data for the mesh settings.
> 
> The details are given in the annexed patch files which should be applied
> to the last version of Gmsh (version 2.10.1).
> 
> Would it be possible to include these small changes in the next official
> releases ? I think it should not introduce any relevant penalization for
> the normal usage of Gmsh. In that way I will be able to link my
> application with that official versions.
> 
> Many thanks
> Walter Steffè
> 
> 
> 
> 
> 
> 
> 
> Connetti gratis il mondo con la nuova indoona: hai la chat, le chiamate, le video chiamate e persino le chiamate di gruppo.
> E chiami gratis anche i numeri fissi e mobili nel mondo!
> Scarica subito l’app Vai su https://www.indoona.com/
> 
> <patches.zip>_______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

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

Tetrahedron V, July 4-5 2016: http://tetrahedron.montefiore.ulg.ac.be
Free software: http://gmsh.info | http://getdp.info | http://onelab.info