← Back to team overview

dolfin team mailing list archive

Re: [Question #101686]: [Question #101686]: cell.intersects() functionality in 0.9.7? (i.e. GTS dependencies)

 

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

Attachment: signature.asc
Description: Digital signature


Follow ups

References