Evaluate gradient of function at point
5 months ago by
solve(a==L, u, bcs)
and x a Point. How do I evaluate the gradient of u at x ?
g = grad(u) g(x)
raises an error about dimensions:
UFLException: Expecting dim to match the geometric dimension, got dim=1 and gdim=2.
Community: FEniCS Project
Please login to add an answer/comment or follow this question.