On Sat, 4 Sep 2010, Karen Lee wrote:

> I'm having an issue with the contains_point function in the Elem class. I'm
> some inconsistencies. Namely, For the same mesh and same points (not nodes)
> to test whether the points are in the mesh, I'm getting true sometimes and
> false some other time. To provide an example of my results:

Could you provide a small code which demonstrates the problem?
Elem::contains_point can give false positives (due to floating point
geometry and tolerance-based comparisons) near element boundaries, and
on a sufficiently distorted second order mesh I guess it might be able
to give false negatives (due to inverse mapping Newton tolerances) but
under no circumstances should it be non-deterministic!
---
Roy

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to