I'm having some trouble. I would like to have a finite element space defined on the boundary mesh of a bulk mesh. Fore example, piecewise linear on the boundary of a square. So I did this:
bdy_H1 = H1(mesh, order=1, definedon="top|left|right|bottom")
Is this right? If so, I now create a GridFunction:
bdy_u = GridFunction(bdy_H1, "bdy_func")
bdy_u.Set(1)
Here I set it to 1, but it could be anything. In fact, bdy_u could end up being the solution of some boundary PDE.
Anyway, I now want to plot bdy_u. From what I have read, I have to create a bulk GridFunction, and somehow transfer the bdy_u values to the bulk GridFunction. But I don't know how to do that.
-Shawn