### Evaluate gradient of function at point

160
views
0
5 months ago by
Let u be the solution to a given problem solved using FEniCS

solve(a==L, u, bcs)

and x a Point. How do I evaluate the gradient of u at x ?

g = grad(u)
g(x)