← Back to team overview

dolfin team mailing list archive

Re: Data in GenericFunction

 

On Wed, Dec 01, 2010 at 04:44:36PM +0000, Garth N. Wells wrote:
>
>
> On 01/12/10 14:59, Anders Logg wrote:
> >On Wed, Dec 01, 2010 at 02:52:57PM +0000, Garth N. Wells wrote:
> >>
> >>
> >>On 01/12/10 13:29, Martin Sandve Alnæs wrote:
> >>>Or add it to ufc::cell?
> >>>
> >>
> >>That's a good idea - it would clean-up some of our interfaces too.
> >
> >Agree. It's good to have you back on the list Martin. :-)
> >
>
> Could we also add a mesh identifier string/key to a ufc::cell? The
> string/key would indicate whether or not a cell came from a
> particular mesh. This would help with evaluating functions on
> different meshes.

How would we determine that value? A cast to int of the hash of the
pointer?

--
Anders



References