Skip to content

Commit

Permalink
Fix waveguide dimensions in mode-converter adjoint-optimization tutor…
Browse files Browse the repository at this point in the history
…ial (#2933)

* fix WAVEGUIDE_UM in mode_converter.py

* fix WAVEGUIDE_UM in tutorial documentation
  • Loading branch information
oskooi authored Nov 15, 2024
1 parent b47d9ba commit 26ac065
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/docs/Python_Tutorials/Adjoint_Solver.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ import numpy as np
RESOLUTION_UM = 50
WAVELENGTH_MIN_UM = 1.26
WAVELENGTH_MAX_UM = 1.30
WAVEGUIDE_UM = mp.Vector3(0.4, 3.0, 0)
WAVEGUIDE_UM = mp.Vector3(3.0, 0.4, 0)
PADDING_UM = 0.6
PML_UM = 1.0
DESIGN_WAVELENGTHS_UM = (1.265, 1.270, 1.275, 1.285, 1.290, 1.295)
Expand Down
2 changes: 1 addition & 1 deletion python/examples/adjoint_optimization/mode_converter.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
RESOLUTION_UM = 50
WAVELENGTH_MIN_UM = 1.26
WAVELENGTH_MAX_UM = 1.30
WAVEGUIDE_UM = mp.Vector3(0.4, 3.0, 0)
WAVEGUIDE_UM = mp.Vector3(3.0, 0.4, 0)
PADDING_UM = 0.6
PML_UM = 1.0
DESIGN_WAVELENGTHS_UM = (1.265, 1.270, 1.275, 1.285, 1.290, 1.295)
Expand Down

0 comments on commit 26ac065

Please sign in to comment.