- changed version to dev
interpolation of restricted function broken
Relating to this thread, the interpolation of a function on a restricted space onto the full space is broken.
As a side remark, it would be nice if FunctionAssigner did support restricted functions. Moreover, getting access to a restricted_to_global dof mapping would be useful. Currently, the information one can obtain about the restricted space is pretty incomplete (no mesh, dof, mapping...).
Comments (14)
-
reporter -
-
assigned issue to
-
assigned issue to
-
This looks pretty tricky to fix.
FunctionSpace::interpolate
would need to know that theGenericFunction v
(which is interpolated) is a restrictedFunction
. At the moment one can only check that for a properFunction
(via itsFunctionSpace
). -
The problem is in Function.restrict, where w[] is not filled with zeros. I have a fix coming up.
-
- changed milestone to 1.4
-
assigned issue to
-
Although interpolate is not fully defined in this case, semi-arbitrary things will happen on the boundary of the restricted space where there is a discontinuity. But the same problem shows up in a projection.
-
- changed status to resolved
Fix issue 165, making Function.restrict set dofs to zero for spaces on a Restriction.
→ <<cset 1feed0391120>>
-
-
Apparently bitbucket marks issues as resolved before they are merged into master?
-
- changed status to open
Not merged yet.
-
Bitbucket marks it as fixed because you wrote "Fix issue 165" in the commit message and pushed it to a dolfin branch.
-
I got that, just wish it wouldn't be marked before it reached master.
-
- changed status to resolved
Fixed.
-
- removed milestone
Removing milestone: 1.4 (automated comment)
- Log in to comment