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

Oliver Sander sander at igpm.rwth-aachen.de
Fri Apr 12 16:49:52 CEST 2013


Try 'local' (on the geometry of the entity) together with 'checkInside'
(on the corresponding reference element).
--
O

Am 12.04.2013 16:46, schrieb Sacconi, Andrea:
> Hi everyone,
>
> I have a quick question about barycentric coordinates. 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?
> I need to determine if a point is inside or outside that entity, so if I don't get a convex combination, it goes without saying that the point is outside.
>
> Thanks for your help!
>
> Andrea
> __________________________________________________________
>
> Andrea Sacconi
> PhD student, Applied Mathematics
> AMMP Section, Department of Mathematics, Imperial College London,
> London SW7 2AZ, UK
> a.sacconi11 at imperial.ac.uk
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune





More information about the Dune mailing list