Question #94104 on DOLFIN changed: https://answers.launchpad.net/dolfin/+question/94104
Garth Wells proposed the following answer: Niclas Jansson wrote: > Question #94104 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/94104 > > Niclas Jansson proposed the following answer: > Kent <[email protected]> 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, [email protected] 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 > -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

