Hi,
I would like to know whether it is possible to use the interpolate
routines (or dolfinx.fem.Expression
) when the function evaluation comes from cppyy
bindings. Something like this wouldn’t work:
u.interpolate(lambda x: cppyy.gbl.my_func(x))
neither it works to define a dolfinx.fem.Expression(...)