Hi,
I am wondering is there other simple way to assign a cg2 function to a cg1 function on refined mesh?e.g.
from dolfin import *
mesh=UnitSquareMesh(10,10)
refined=refine(mesh)
V2=FunctionSpace(mesh, “CG”, 2)
V1=FunctionSpace(refined, “CG”, 1)
u1=Function(V1)
u2=Function(V2)
u1.interpolate(u2)
u2.interpolate(u1)
Since u1 and u2 have the dof on same location, I wonder if there is a non-interpolate way to assign value between u1 and u2?