One of my expressions, for a boundary condition, uses Pointwise evaluation to get the value of a different FunctionSpace at the current coordinate (i.e., CG4 density at the location for a CG3 velocity).
There are no issues up until a fairly large mesh (150x150 UnitSquare for example), where I start to get extrapolation errors:
*** Error: Unable to evaluate function at point.
*** Reason: The point is not inside the domain. Consider setting "allow_extrapolation" to allow extrapolation.
*** Where: This error was encountered inside Function.cpp.
It appears that this is because the function fails to find a local cell containing the point, as it's on a different rank. However, the point is within a ghost cell - should I simply enable extrapolation to extrapolate into the ghost cell, or is it possible to evaluate within the actual ghost cell?