[Dune-devel] Checking whether a given point is contained in a given element

Dedner, Andreas A.S.Dedner at warwick.ac.uk
Fri Nov 9 13:57:49 CET 2012


Perhaps we should just remove that method from the interface and provide a
utility method/class in dune-geometry for that purpose - we already have a
similar hierarchic search utility in dune-grid...
Andreas
________________________________
From: dune-devel-bounces+a.s.dedner=warwick.ac.uk at dune-project.org [dune-devel-bounces+a.s.dedner=warwick.ac.uk at dune-project.org] on behalf of Oliver Sander [sander at igpm.rwth-aachen.de]
Sent: 09 November 2012 12:28
To: dune-devel at dune-project.org
Subject: Re: [Dune-devel] Checking whether a given point is contained in a given element

Am 09.11.2012 13:21, schrieb Jö Fahlke:
While we're talking about checkInside() and possibly reconsidering its interface, I want to highlight another shortcoming: currently it is impossible to specify a tolerance, neither for including nor for excluding the boundary of the geometry. Where needed, I'm currently solvin this by scaling the coordinate obtained from local() with 1+epsilon around the barycenter of the reference element before sticking it into checkInside(), but that is far from ideal... Regards, Jö.

I actually have my own private implementation of checkInside for that very reason.
An official implementation with a tolerance parameter would be nice.



_______________________________________________
Dune-devel mailing list
Dune-devel at dune-project.org<mailto:Dune-devel at dune-project.org>
http://lists.dune-project.org/mailman/listinfo/dune-devel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-devel/attachments/20121109/84e0b29b/attachment.htm>


More information about the Dune-devel mailing list