← Back to team overview

dolfin team mailing list archive

Re: [Question #94104]: Functionspace Restriction

 

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

Kent

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups