Dear Meep users, During the course of the my PhD I have added some functionality to Meep. This includes: - output of fields / field components in the frequency domain. Meep includes discrete Fourier transforms used mostly for flux plane calculations. I've written a wrapper class that uses this build in DFT to output fields to hdf5 files in the frequency domain.
- Near to far field transform. Using the algorithm described in "Computational Electrodynamics: The Finite-Difference Time-Domain Method" by Taflove, the addition to Meep can perform near to far field transforms and output them to hdf5 files. The output is given in a spherical coordinate system, see the Matlab post processing script for more information. - Mode volumes in the frequency domain. Meep is able to calculate mode volumes, however it can only do this for one mode at a time. The addition to Meep is able to perform mode volume calculations for several modes at once in the frequency domain if the modes are excited. I have included a scheme interface with this functionality. See the control file example for details. The code is fully MPI compatible. In order to use my additions for Meep, you can download the modified source files from here: https://github.com/Arthur-Thijssen/MEEP-actt Simply replace those files with the original Meep code and compile normally. A few notes: - The near to far field transform has not been implemented using a FFT algorithm. This might be added in the future. - I prefer to use single precision floating point numbers when using Meep. This is the default setting for the code given here. - I have not gotten to optimizing hdf5 output yet and is thus not as fast as it could be. Let me know what you think and if you have any questions. Thanks, Arthur Thijssen
_______________________________________________ meep-discuss mailing list meep-discuss@ab-initio.mit.edu http://ab-initio.mit.edu/cgi-bin/mailman/listinfo/meep-discuss