Skip to content

Bug in Optimization Examples #36

@ASU-ScopeX-Lab

Description

@ASU-ScopeX-Lab

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.....

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions