On 5/22/23 06:21, Abbas Ballout wrote:
How does get_function_gradients calculateboth component gradient at a face?
Abbas,
since
u_h(x) = \sum_j U_j \varphi_j(x)
you get the gradient as
\nabla u_h(x) = \sum_j U_j \nabla\varphi_j(x)
and the only other thing you need to know is that \varphi_j is defined by
mapping shape functions from the reference cell to the real cell.
But I suspect that you have a reason to ask that question. What is it really
that you are after?
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/262e8edc-7a70-60cb-8d6b-55122805b780%40colostate.edu.