← Back to team overview

dolfin team mailing list archive

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

 

Question #101686 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/101686

Andre Massing proposed the following answer:

Anders Logg wrote:
> 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.

Ok, cool, was going to ask about that, but you replied faster then I ask
:)

> 
> --
> Anders
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References