Dear Arthur,
thank you for sharing your code! I cloned your source, downloaded the
meep 1.2.1 sources and copied your files over the original directory.
Then I used my old compilation procedure on Ubuntu [1] to compile meep
and rebuilt the python-meep interface.

The new functions  of snapshot() and nf2ff() appear in the meep-mpi
module. This looks promising. I will try out your functions using my
Python scripts.

There is a lot of functions that would make MEEP easier to use in some
cases (so far I had to write them on my own). I have some code to
contribute, would you be interested to extend the functions in your
repository? (Of course the best practice would be to incorporate it in
the trunk source!)
Regards,
Filip

[1]: http://fzu.cz/~dominecf/misc/meep/#install


2014-03-27 17:10 GMT+01:00, Arthur Thijssen <thijssen.art...@gmail.com>:
> 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

Reply via email to