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

Bug in Optimization Examples #36

Open
ScopeX-ASU opened this issue Sep 1, 2024 · 0 comments
Open

Bug in Optimization Examples #36

ScopeX-ASU opened this issue Sep 1, 2024 · 0 comments

Comments

@ScopeX-ASU
Copy link

None of the optimization examples works, as it wrongly multiplies design_region in the objective

epsr = epsr_min + (epsr_max-epsr_min)*operator_proj(_rho, beta=beta, eta=eta) * design_region
simulation.eps_r = epsr

should be

epsr = epsr_min + (epsr_max-epsr_min)*operator_proj(_rho, beta=beta, eta=eta)
simulation.eps_r = epsr

otherwise there is no waveguide ports in simulation.....

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

No branches or pull requests

1 participant