[Dune] Barycentric coordinates

Aleksejs Fomins aleksejs.fomins at lspr.ch
Wed Feb 10 14:21:34 CET 2016


Hey Marco,

We are actively using Barycentric coordinates, however, at the moment they are part of our code Hades3d.

In our case, the basis function (aka shape function) is always given in local coordinates, where the barycentric coordinates are simply {x, y, z, 1-x-y-z}. Afterwards, the basis function is mapped to global coordinates using inverse Jacobi transform.

Are you talking about barycentric coordinates in local or global coordinates. If in global, please tell me what is your use case, I am interested :)

P.S. Computing global barycentric coordinates in curvilinear geometries is a hell. At some point I wanted to do it, then I gave up :D

Regards,
Aleksejs

On 10.02.2016 14:09, Agnese, Marco wrote:
> Hi,
> 
> 
> I need to compute the barycentric coordinates of a point.
> 
> Before reinventing the wheel, is there something already implemented within Dune? I have looked inside dune-grid and dune-geometry but I haven't found anything.
> 
> 
> If nothing is implemented, do you think would be useful to add this feature to Dune (I think it should be added as a method of Dune::Geometry)? 
> 
> Obviously I will implement such a method.
> 
> 
> Cheers,
> 
> Marco
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 




More information about the Dune mailing list