% -*- texinfo -*- % % @deftypefn {Function File} {[@var{gx},@var{gy}]} = BIM2Cpdegrad(@var{mesh},@var{u}) % % Build the P1 approximation to the gradient of a computed solution. % % Input: % @itemize @minus % @item @var{mesh}: PDEtool-like mesh with required field 'p', 'e', 't'. % @item @var{u}: piecewise linear conforming scalar function. % @end itemize % % @seealso{BIM2Cglobalflux} % @end deftypefn