Will it be possible to interpolate a function of a coefficient onto another mesh some time in the future?
That is, will u4 work?
from dolfin import *
mesh1 = RectangleMesh(0,0,1,1,3,3)
mesh2 = RectangleMesh(0,0,1,1,4,4)
V1 = FunctionSpace(mesh1,'CG',1)
V2 = FunctionSpace(mesh2,'CG',1)
u1 = Function(V1)
u2 = interpolate(u1,V2)
u3 = project(u1,V2) #fails in DOLFIN 1.2.0?
#u4 = interpolate(sin(u1),V2) #fails
u5 = project(sin(u1),V2)