dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #16035
Python + interpolate
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?
Follow ups