-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix incorrect backward
EigenmodeCoefficient
gradients and update te…
…st case (#1593) * Fix backward gradients in EigenmodeCoefficient and update JAX adjoint test to check gradients in both forward and backward directions Flip sign of `amp` based on group velocity direction Original fix * Scale kpoint by abs(center_frequency) and apply yapf formatting * Fix parenthesis in center frequency calculation, fix eigenmode coefficient creation comprehension in test, fix design resolution calculation in test
- Loading branch information
1 parent
34ce8d0
commit 9ec7ba7
Showing
2 changed files
with
281 additions
and
234 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.