Can the ADKernel also compute off-diagonal Jacobian? #32154
Unanswered
Yaode-Yin
asked this question in
Q&A General
Replies: 1 comment
-
|
Hello Yes ADKernel / residual-contributing-objects also take care of computing off-diagonal contributions to the Jacobian. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Check these boxes if you have followed the posting rules.
Question
Hello MOOSE team,
I am working with MOOSE and using ADKernel to implement a custom residual term with automatic differentiation (AD). I understand that ADKernel should automatically compute the Jacobian entries for the diagonal blocks (i.e., derivatives with respect to the same variable the residual is defined for). However, I am not seeing contributions to off-diagonal Jacobian entries (i.e., derivatives with respect to other coupled variables). Does ADKernel automatically compute off-diagonal Jacobian terms, or is it limited to only diagonal contributions?
Beta Was this translation helpful? Give feedback.
All reactions