Abbas,

\dfrac{\partial f(x) \phi_i}{\partial x} is just \dfrac{\partial
f(x)}{\partial x} \phi_i+f(x)\dfrac{f(x)}{\partial x} which I would use.
There is no need to integrate by parts.

Best,
Daniel

On Tue, Jan 23, 2024 at 2:37 PM Abbas Ballout <abbas.ballou...@gmail.com>
wrote:

> I know I can query the standard shape gradient at a quadrature point with  
> fe_values.shape_grad(i,
> q).
> Is it possible to query for something like the gradient of the shape
> function multiplied by another function? I need \dfrac{\partial f(x)
> \phi_i}{\partial x} but I don't want to integrate by parts.
>
> Abbas
>
> --
> 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/64e24fc5-9876-4e34-97c4-ba6bc77d22a4n%40googlegroups.com
> <https://groups.google.com/d/msgid/dealii/64e24fc5-9876-4e34-97c4-ba6bc77d22a4n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAOYDWb%2BpXJ3F%2Bs7MS7vEpoka4mcPscAPxpkRM_yrpQz6QU%3DXHw%40mail.gmail.com.

Reply via email to