-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Element-based topology optimization #2
Comments
Thanks Steven. I will take a look at how you worked around the non-differentiability of Gridap. I suppose you have to define one adjoint for each physics. I am hoping that one day Enzyme will be able to diff through the entire code base without needing custom adjoints EnzymeAD/Enzyme.jl#447. |
In my experience any sufficiently complicated problem will require custom adjoints, and the fact that there is currently no good way to do this with Enzyme (EnzymeAD/Enzyme.jl#172) makes it unlikely for me to use Enzyme in any real problem. (That being said, in this example we probably did more manual differentiation than we needed to. @fverdugo found that he could use ForwardDiff to differentiate the weak form, for example.) |
Fair enough. I need to study your example. |
gridap/Gridap.jl#633
The text was updated successfully, but these errors were encountered: