[Dune] Barycentric coordinates of a point w.r.t. an entity

Andreas Buhr andreas at andreasbuhr.de
Fri Apr 12 19:07:50 CEST 2013


On 04/12/2013 04:46 PM, Sacconi, Andrea wrote:
> If you are given a point and an entity, is there a direct method in DUNE
> to get the barycentric coordinates of that point with respect to the
> vertices of the entity?

Hi Andrea,

I think a p1basis is equivalent to barycentric coordinates.
Can you create a p1 basis and call evaluateFunction?

Best,
Andreas





More information about the Dune mailing list