← Back to team overview

dolfin team mailing list archive

Re: [Branch ~dolfin-core/dolfin/rognes] Rev 5765: Add barycenter based alternative for finding associated cells.

 


On 15/03/11 19:35, Anders Logg wrote:
> B1;2600;0cOn Tue, Mar 15, 2011 at 08:19:43PM +0100, Marie E. Rognes wrote:
>> On 03/15/2011 08:16 PM, Garth N. Wells wrote:
>>> The mesh classes shouldn't have a dependency on ufc.
>>
>>
>> I assumed so, but didn't quite know how to not ;-) Will revise.
> 
> Should be easy to just move the supporting_cell function somewhere
> else.
> 

I don't think that the function is needed - just use

   int any_intersected_entity(const Point& point) const;

It would involve computing the barycentre before the call.

Garth

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



References