Is it possible to find the gradient of an expression without interpolating?
I have an expression ‘u’ and a vector ‘v’ and I would like to do something like:
p = Expression(‘dot(grad(u), v)’, degree=3, u=u, v=v).
Is there a way to do this?
Is it possible to find the gradient of an expression without interpolating?
I have an expression ‘u’ and a vector ‘v’ and I would like to do something like:
p = Expression(‘dot(grad(u), v)’, degree=3, u=u, v=v).
Is there a way to do this?
No, this is only possible in dolfinx.