from dolfin import *
mesh = UnitSquareMesh(2,2)
V = FunctionSpace(mesh, "CG", 1)
f = Function(V)
e = Function(V)
f.interpolate(e)
f.interpolate(2*e)
The first interpolate works but the second one doesn't. Shouldn't this be possible in dolfin? All interpolate has to do is to evaluate 2*e for the dofs of f.