[Gmsh] Boundary points recovery

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jun 18 21:13:11 CEST 2014


On 16 Jun 2014, at 11:30, Amine Benaddi <aminebenaddi at gmail.com> wrote:

> Dear All,
> 
> I'm programming a FORTRAN code that converts the .msh file created by GMSH to an other one (.amd)
> But, for my work, I need tofind all boudary nodes, can you please help me to know where are boundary nodes located? And where this information is located in the .msh file?

Define the boundary surfaces as a physical surface (e.g. using "CombinedBoundary" in a .geo file) ; then simply loop over the boundary elements in the mesh and extract the vertices.


> 
> Thank you a lot for your help.
> 
> King regards,
> 
> Amine Benaddi
> _______________________________________________
> 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