Open kdotom opened 1 month ago
@simbilod
if you have some time maybe you can take a look at the meep plugin
@simbilod If you need backup on the updates, let me know. I could probably put something together; I just want to make sure it lines up with any scaling changes you guys have in mind for future versions.
Hi @kdotom , I actually don't use MEEP anymore so if you have ideas on how to improve the plugin feel free to make any changes you see fit!
Describe the bug
/path/to/miniconda3/envs/mp/lib/python3.11/site-packages/gplugins/gmeep/meep_adjoint_optimization.py:148: UserWarning: Setting
rectangle_S5_5_LWG_CFal_d89a89d8_2500_2500.centerin um is deprecated and will change to DataBaseUnits in gdsfactory9. Please use
rectangle_S5_5_LWG_CFal_d89a89d8_2500_2500.dcenterinstead.
To Reproduce
Expected behavior Warning should not occur and design with a waveguide and design region (properly sized) should be produced.
Suggested fix Potentially, Change block.center to block.dcenter on line 148 of path/to/site-packages/gplugins/gmeep/meep_adjoint_optimization.py I haven't updated this as I'm not sure how changes will propagate through the gmeep library, given the new units update.