On Wed, Oct 07, 2009 at 10:33:31AM +0100, Garth N. Wells wrote:
>
>
> Anders Logg wrote:
> > On Wed, Oct 07, 2009 at 10:25:49AM +0100, Garth N. Wells wrote:
> >> How costly is this call in Function::restrict
> >>
> >> _function_space->has_element(element, dolfin_cell)
> >
> > Very cheap (I thin
Anders Logg wrote:
> On Wed, Oct 07, 2009 at 10:25:49AM +0100, Garth N. Wells wrote:
>> How costly is this call in Function::restrict
>>
>> _function_space->has_element(element, dolfin_cell)
>
> Very cheap (I think).
>
I expect that this one isn't:
boost::scoped_array
dofs(new uin
On Wed, Oct 07, 2009 at 10:25:49AM +0100, Garth N. Wells wrote:
> How costly is this call in Function::restrict
>
> _function_space->has_element(element, dolfin_cell)
Very cheap (I think).
> ? It is called for every coefficient on every cell during assembly.
This is why I worked on the hash
How costly is this call in Function::restrict
_function_space->has_element(element, dolfin_cell)
? It is called for every coefficient on every cell during assembly.
Garth
___
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailm