[Meep-discuss] How to use cell density every where?

2010-10-21 Thread cecil chalmers
Dear MEEP users, The basic FDTD algorithm is based on a constant cell size grid. Thus, if you want to resolve a small object, for example sphere somewhere in the problem space, you have to use that some cell density everywhere, even in the free space regions. Can some body tell me,

[Meep-discuss] gaussian src in scheme and C++

2010-10-21 Thread Bin Huang
Hi guys, I have been trying to implement some example problems from http://ab-initio.mit.edu/wiki/index.php/Meep_Tutorial/Band_diagram%2C_resonant_modes%2C_and_transmission_in_a_holey_waveguide in C++. Most of it works out, however, the amplitude of harminv result in the Resonant Mode example is