On 5/23/23 04:06, Abbas Ballout wrote:

I was under the impression that get_function_gradientsĀ calculates the gradient based on the \sum_j U_j that are on the face.

No, it takes the entire sum and evaluates it at a point that happens to be on the face. But other than where the point happens to be located, the sum is exactly the same as if it were a point in the interior of the cell.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bange...@colostate.edu
                           www: http://www.math.colostate.edu/~bangerth/


--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/2d31de58-2aa6-f834-141e-b6ff58215d74%40colostate.edu.

Reply via email to