Re: [Meep-discuss] Unstability of a long non-dispersive simulation

2012-04-12 Thread Abdullah Al Rashid
Hi, I am not sure exactly what is wrong here. However, if I were to venture a guess, I would think it has something to do with the size of your PMLs. I would try something like (1.5*lambda) or larger and see if the results are reproduced. Good luck! On Thu, Apr 12, 2012 at 12:00 PM, Filip

Re: [Meep-discuss] Unstability of a long non-dispersive simulation

2012-04-12 Thread Georg Wachter
Hello, When you have almost no fields and propagate for a very long time I would not think that it is surprising that numerical errors accumulate. (What you're seeing is the interaction between periodic images of your sphere, amplified by numerical errors.) Why would you want to simulate for

[Meep-discuss] Cylindrical symmetry, symmetry mirror in C++ code

2012-04-12 Thread Roger Garay AvendaƱo
Dear teacher Steven and Meep Users, I am working in cylindrical coordinates. I need to place a mirror at any another ponit different than the origin (by default). Whe I use: const symmetry S = mirror(R, grid_vol); the mirror symmetry is placed at R = 0 by default. How could I do to place the