Added shift_field and outer_dot_shifted function to ElectroMagneticFi…
…eldData Class
@momchil-flex Based on your suggestion a few weeks ago, I started adding functions to the ElectroMagneticFieldData class so that we can easily shift fields and do mode overlaps. Let me know if this is what you were thinking of for implementation. I checked the results of the new outer_dot_shifted with the results fromouter_dot when the relative shift is (0,0) and things are consistent.
@momchil-flex thanks for the feedback and the detailed explanation. I think the approach you described makes sense now. Let me try to implement that sometime next week and I'll let you know if I run into any issues.
Will this resolve this issue? https://github.com/flexcompute/tidy3d/issues/1526
Will this resolve this issue? #1526
Yeah I reference it in my comment. It just needs to be done a bit more carefully and tested.
Will this resolve this issue? #1526
Yeah I reference it in my comment. It just needs to be done a bit more carefully and tested.
Maybe the link was wrong in your comment?
Ah you are right sorry! Updated it just in case someone clicks it in the future.