On 3 January 2012 09:03, Johan Hake <email address hidden> wrote:
> 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.
From C++ we can require a user to supply the FunctionSpace. From
Python it can be generated via JIT.
> 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?
>
Maybe, but MeshFunctions and FE functions in these cases are not
really the same thing.
On 3 January 2012 09:03, Johan Hake <email address hidden> wrote: double/ int>. It should be very simple to
> 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<
>> 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.
From C++ we can require a user to supply the FunctionSpace. From
Python it can be generated via JIT.
> 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?
>
Maybe, but MeshFunctions and FE functions in these cases are not
really the same thing.
Garth
> Johan /bugs.launchpad .net/bugs/ 908146 /bugs.launchpad .net/dolfin/ +bug/908146/ +subscriptions
>
> --
> You received this bug notification because you are a member of DOLFIN
> Core Team, which is subscribed to DOLFIN.
> https:/
>
> Title:
> Should be a method to create a P0 Function from a CellFunction
>
> To manage notifications about this bug go to:
> https:/