We seem to have a problem with Python and interpolating functions. When 
I try

   P1 = FunctionSpace(mesh_post, "CG", 1)
   u_post = interpolate(u, P1);

I get the below error.

Garth


Traceback (most recent call last):
   File "demo.py", line 128, in <module>
     u_post = interpolate(u, P1);
   File 
"/home/garth/code/fenics/dolfin/dolfin-all/local/lib/python2.6/site-packages/dolfin/interpolate.py",
 
line 28, in interpolate
     Pv.interpolate(v)
RuntimeError: *** Error: Treating Function as UFC function. Is that correct?

_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@fenics.org
http://www.fenics.org/mailman/listinfo/dolfin-dev

Reply via email to