[Dune] Barycentric coordinates

Carsten Gräser graeser at mi.fu-berlin.de
Wed Feb 10 14:35:46 CET 2016


Hi Marco,
to map local coordinates to barycentric coordinates you
can just evaluate the P1 shape functions at this point.

Best,
Carsten

Am 10.02.2016 um 14:09 schrieb Agnese, Marco:
> 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20160210/55fbc9f8/attachment.sig>


More information about the Dune mailing list