Skip to content

Geometrical derivatives #109

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

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Geometrical derivatives #109

wants to merge 26 commits into from

Conversation

JordiManyer
Copy link
Member

@JordiManyer JordiManyer commented Apr 14, 2025

This PR brings code from GridapTopOpt.

Given a mesh cut by a finite-element-defined level set φh, and a functional j(uh,φh), the changes allow the user to compute the gradient of j w.r.t. the geometry, i.e ∂ j(uh,φh) / ∂ φh.

We provide two methods, which are equivalent up to machine error:

  • A discretise then differentiate framework
  • A fully-autodiff framework

While I was doing this, I also added a fully-fledged documentation.

@JordiManyer JordiManyer marked this pull request as ready for review April 19, 2025 04:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant