Skip to content
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

Adjoint gradients with symmetries are only calculated for part of the domain #2145

Open
smartalecH opened this issue Jul 22, 2022 · 0 comments

Comments

@smartalecH
Copy link
Collaborator

smartalecH commented Jul 22, 2022

If an optimization problem has a prescribed symmetry condition, then gradients are only computed where the fields are physically stored (and not for any of the fields inferred by symmetry). For example, if we are designing a symmetric splitter,

image

then only half the gradient is computed,

image

whereas if we remove the simulation symmetry,

image

This is because we only loop over actual DFT chunks after merging #1855. Will require some thought to fix efficiently.

(cc @oskooi, @mochen4, @joelslaby)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant