meow icon indicating copy to clipboard operation
meow copied to clipboard

Definition of plane_center for bend mode solving

Open mpasson opened this issue 7 months ago • 1 comments

It seems that for modal simulation tidy3d requires the definition of the center of the simulation.

I added a sensible default to the inner _compute_mode call, but right now this argument is not exposed. Do you think it would be better to expose it, maybe as an additional attribute to the mesh object?

mpasson avatar Apr 28 '25 08:04 mpasson

Yeah, exposing it makes sense. Do you want to make a PR?

flaport avatar May 02 '25 06:05 flaport

Hi! Thanks for the feedback! I added it to the mesh object, and made a jupyter example with a bent waveguide on this pull request. Let me know if it is ok or you prefer something different.

mpasson avatar May 16 '25 19:05 mpasson

Thank you!

flaport avatar May 16 '25 20:05 flaport