BoundaryMesh projection
Hi everyone,
I'd like to project a function defined on a function space over a boundary mesh to a function space defined over the full mesh.
I thought this could be achieved by integrating over the boundary of the full mesh but I get 'matrices are not alligned error '.
The error can be reproduced by the code below.
from dolfin import *
mesh = UnitSquareMesh(4,4)
V = FunctionSpace(
mesh_e = BoundaryMesh(
V_e = FunctionSpace(
v_e = Function(V_e)
v = TrialFunction(V)
u = TestFunction(V)
L = v_e*u*ds
assemble(L)
In terms of math, I think the integral makes sense, as both v_e and u are defined over the domain of intergration. Is there a
way to achieve this? Thanks for help, Miro
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Miro for more information if necessary.