Skip to content
Discussion options

You must be logged in to vote

Does it happen within this call?

Yes

I see extraction of J (or at least I believe that is what is happening)

That's the extraction part, yes.

But where is the multiplication of J by the input vector occurring

If you're using the dual number approach, the derivative part of the dual (gradient part) is interpolated here and assigned here, by being called on the properly overloaded types here.

For example a matrix with it's dual entries is assigned with the direction here.

This is a rather long chain of invocations but if you want to plug in your favorite AD library, you can include a header that overloads these functions with the appropriate types and now dFEM is using your favorite b…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@lindsayad
Comment options

lindsayad Oct 21, 2025
Collaborator Author

@jandrej
Comment options

jandrej Oct 21, 2025
Collaborator

@lindsayad
Comment options

lindsayad Oct 21, 2025
Collaborator Author

@jandrej
Comment options

jandrej Oct 21, 2025
Collaborator

Answer selected by lindsayad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants