← Back to team overview

dolfin team mailing list archive

Re: [Question #94104]: Functionspace Restriction

 


Niclas Jansson wrote:
> Question #94104 on DOLFIN changed:
> https://answers.launchpad.net/dolfin/+question/94104
> 
> Niclas Jansson proposed the following answer:
> Kent <question94104@xxxxxxxxxxxxxxxxxxxxx> writes:
> 
>> Question #94104 on DOLFIN changed:
>> https://answers.launchpad.net/dolfin/+question/94104
>>
>> Kent proposed the following answer:
>>> Question #94104 on DOLFIN changed:
>>> https://answers.launchpad.net/dolfin/+question/94104
>>>
>>>     Status: Open => Answered
>>>
>>> Anders Logg proposed the following answer:
>>> On Mon, Dec 14, 2009 at 11:49:18PM -0000, jhameed2@xxxxxxxxxxxx wrote:
>>>> New question #94104 on DOLFIN:
>>>> https://answers.launchpad.net/dolfin/+question/94104
>>>>
>>>> Hello,
>>>>
>>>> I hope this is the right list to ask this question. I am trying to
>>>> restrict a function space in C++, but I get an error saying
>>>>
>>>> Error: FunctionSpace::attach is not working. Please fix the dof map
>>>> builder.
>>>>
>>>> I am trying to restrict the function space using
>>>>
>>>> boost::shared_ptr<FunctionSpace> W = V.restriction(cells);
>>>>
>>>> Anyone help me figure out whats going wrong here?
>>>>
>>>> -Jehanzeb
>>> Restrictions have been broken for a while after the work on
>>> parallelization of DOLFIN in August.
>>>
>>> This needs to be reimplemented. I don't have time for this now so it
>>> will take a while if no one else is willing to fix it.
>>>
>>> --
>>> Anders
>>>
>> I am sorry, but the implementation is not suited for parallel meshes. I am
>> not sure
>> how to fix it just now.
>>
>> My best advice is to use some kind of penalty method to "remove" the extra
>> degrees
>> of freedom.
>>
>> Kent
>>
> 
> I can have a look at it during the holidays...but I need to get bzr to
> work first.
>

This needs a good re-think. The original implementation was ad-hoc.

Garth

> Niclas
> 





Follow ups

References