Hello,
I would like to compute surface gradient of a function u over a surface mesh (e.g. spherical surface) embedded in 3D:
surface_grad = (nabla_grad(u) - dot(nabla_grad(u), n)*n) *ds
where n is a unit normal to the surface. Any helps are appreciated.
I am using FEniCS 1.3.0 C++ version.
Thanks!
Dang