Question #101686 on DOLFIN changed: https://answers.launchpad.net/dolfin/+question/101686
Anders Logg proposed the following answer: On Fri, Mar 05, 2010 at 09:55:35AM -0000, Andre Massing wrote: > Question #101686 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/101686 > > Andre Massing posted a new comment: > Hi Marc! > > Just for your information, the code has been merged into the main trunk of > DOLFIN, so there is again a intersects() member function available, now being > member of the MeshEntity class. It computes exactly without limit precision > related errors. > Hence it is slower then its inexact counterpart (which uses only double > precision). If you need more speed you can also access the static > do_intersect function of the PrimitiveIntersector class. The > MeshEntity::intersects member only delegates to the static > *do_intersect_exact* function of the PrimitiveIntersector class. > > Any feedback is highly appreciated! I just added two new functions: intersects_exactly(point) intersects_exactly(entity) which map to do_intersect_exact and changed intersects() to map to the fast version. -- Anders -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

