I use MeshFunction a lot, it's very helpful. But sometimes due to 
rounding error, I evaluate a MeshFunction at a point just outside the 
mesh, and hence the evaluation fails.

I'd like to prevent this type of failure.

I was thinking of perturbing the evaluation point in various directions 
(p + (delta,0,0), p + (0,delta,0), etc) until I find a point that is 
inside the mesh. This seems like it would work, but it's not very 
elegant. I was wondering if anyone has any other ideas about how to go 
about this?

Thanks,
David


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to