-
Notifications
You must be signed in to change notification settings - Fork 626
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
subpixel smoothing gradients #1649
Comments
This might be an improvement, i.e. compute |
A rather straightforward approach to properly calculate the permittivity at each point is to use the Currently, to get around this, we pass in a copy of the |
We could just return the Basically, refactor |
(#1754 was only the refactoring part of this change, so it shouldn't have closed this issue.) |
Now that material grids have support for subpixel smoothing, it would be nice to enable gradient support.
Luckily, this should be rather straightforward given the current infrastructure. Since the current recombination step uses a finite difference to compute dA/dp, we just need to make sure that the finite difference routine also calls the new subpixel averaging routine (in this function).
We also need to store the adjoint D fields, rather than the E fields.
The text was updated successfully, but these errors were encountered: