Comment 1 for bug 908146

Revision history for this message
Johan Hake (johan-hake) wrote : Re: [Bug 908146] [NEW] Should be a method to create a P0 Function from a CellFunction

On Friday December 23 2011 16:24:37 Garth Wells wrote:
> Public bug reported:
>
> It would be useful to have a simple and robust way to create a P0
> Function from a CellFunction<double/int>. It should be very simple to
> implement, but it must make no assumptions on the dof map.
>
> ** Affects: dolfin
> Importance: Undecided
> Status: New

Then we need to precompile the ufc::element and ufc::dof_map. I am not against
this but we had some objections against it when it was removed. If we deside
on it it would be nice to have a similare functionality for VertexFunctions
which maps to P1 continuous Functions, maybe also something for the
FacetFunctions?

Johan