I know this might be me doing something wrong here so first I'd like to see if anyone can reproduce
from dolfin import *
mesh = IntervalMesh(3,0.0,1000)
f = project(Constant(1.0),mesh=mesh)
print f([1.1])
I get this error although the point is inside the mesh and I think project uses CG 1 by default.
*** Error: Unable to evaluate function at point.
*** Reason: The point is not inside the domain. Consider calling "Function::set_allow_extrapolation(true)" on this Function to allow extrapolation.
*** Where: This error was encountered inside Function.cpp.