fdtd
fdtd copied to clipboard
A 3D electromagnetic FDTD simulator written in Python with optional GPU support
I've tried a minimal example: ``` wavelength = 1e-6 speed_of_light = 277972458 # Initialize FDTD grid grid = fdtd.Grid(shape=(20*wavelength, 50*wavelength, 1), grid_spacing=wavelength/10) # Initialize perfectly matched layer (PML) boundaries grid[0:10,...
None of your example files will generate a video on Windows. The error `ffmpeg not installed?` is thrown despite [`ffmpeg-python`](https://pypi.org/project/ffmpeg-python/) being installed. I looked up the relevant function `generate_video()` in...
Hi @flaport, Happy New Year! At FDTD calculations I need to periodically change the power of a source (initially F_0) dependently on the local field amplitude E_0. So first I...
Hi, thank you very much for this awesome repository! If I understand the code correctly at the moment it's not possible to use Objects with a frequency dependent permittivity (like...
Hello, I found that the calculation results in this project are the amplitude of electromagnetic field, and there is no complex electric field value. What should I do if I...
Hello, Thanks for your work. Is there a way to run this code in parallel on cpu? I assume that it's automatically parallelized if the cuda backend is used. Is...
Hi, Thanks for making this amazing package, this could be useful. May I ask if the PyTorch backend is differentiable? Thanks.
JAX might potentially offer considerable speedups and offers better overlap with the numpy api.
Hi @flaport , impressive project! Just wondering if GDS loading is on the roadmap. Thanks a lot!
I'm wondering what the units used for each quantity are, both for parameters which are passed in and for values stored internally or produced by the calculation. A lot of...