[Gmsh] Barycentric coordinates in tetrahedral elements

Christophe Geuzaine cgeuzaine at uliege.be
Tue Mar 26 20:34:35 CET 2019



> On 25 Mar 2019, at 17:29, Yuri Barros <yuribarros03 at gmail.com> wrote:
> 
> Hi,
> 
> I am trying to make a cell centered finite volume formulation, and for this I need that nodes are represented at the barycenter of the tetrahedron. Is there any data structure in GMSH that gives the information of the barycentric coordinates of each element?
> 

No, but you can easily generate that from the mesh (e.g. using the api).

Christophe


> Thanks in advance!
> _______________________________________________
> 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