firedrake.interpolate(expr, V) recently changed to return a symbolic expression instead of a Function (see Firedrake PR #2297). This was raising a load of deprecation warnings if using it in the "old" style.
This PR just updates all instances of u = fd.interpolate(expr, V) to u = fd.Function(V).interpolate(expr).
firedrake.interpolate(expr, V)
recently changed to return a symbolic expression instead of aFunction
(see Firedrake PR #2297). This was raising a load of deprecation warnings if using it in the "old" style.This PR just updates all instances of
u = fd.interpolate(expr, V)
tou = fd.Function(V).interpolate(expr)
.