On 7/8/24 08:51, Nik Markus Leuenberger wrote:
I'm opening a new thread because the question is no longer whether or how to
use deal.ii for DG/finite volume implementations, but what I hope is a more
specific question regarding a combination of step-74 and step-72.
I want to use automatic differentiation to obtain the Jacobian for a
(non)-linear residual of a Poisson equation. (Non) is in brackets because I
would like to solve the linear case first in a single Newton-Raphson step.
The question described in more detail in the attached .pdf is how to use
automatic differentiation for the boundary_worker function of step-74.
Nik:
I'm not sure anyone can help with this problem short of debugging it in detail
-- which I think you'll have to do yourself. But it may be useful to see how
others have done something similar, for example in this recent code gallery
program:
https://dealii.org/developer/doxygen/deal.II/code_gallery_nonlinear_heat_transfer_with_AD_NOX.html
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/15834e9c-a00c-4f1a-a30e-602c2aaca296%40colostate.edu.