spinsphotonics / fdtdz

Fast, scalable, accessible photonic simulation
MIT License
111 stars 13 forks source link

Different sources #12

Closed Yaraslaut closed 1 year ago

Yaraslaut commented 1 year ago

Hi, thanks for the great tool :) At the moment I see that only dipole sources are implemented, and there is no easy way for user to create a point source or am i missing something? So I'm wondering if other sources like point, plane wave, gausian will be implemented?

Also, what should I do if I want to calcualte structures that are longer in z direction than restriction for the grid size?

And maybe last question :) How I can take snapshots of field distribution at some time ?

jlu-spins commented 1 year ago

Hi @Yaraslaut!

Hope this helps! Please keep the questions coming!

Yaraslaut commented 1 year ago

Thanks for the answer @jlu-spins, I think that i can close the issue and open new one if will face any chalanges :)

Since you plan to keep fdtdz very low-level, are you also planning to implement some wrapper package?

jlu-spins commented 1 year ago

Yes, currently working on https://github.com/spinsphotonics/pjz with inverse design as the target application.