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

Oliver Sander sander at igpm.rwth-aachen.de
Fri Nov 9 13:28:51 CET 2012


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
> 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/a4720923/attachment.htm>


More information about the Dune-devel mailing list