Complicated source functions

Ah yes, it should work like that but it don’t. Or at least I haven’t been able to make it work. I think the problem is kind of related to this question I’ve found: numerical-values-from-ufl-spatialcoordinate.