Re: [Meep-discuss] Field divergence in coordinate transforming (stretching)

2013-11-08 Thread Tran Quyet Thang
tran quyet thang hereiam2005@... writes: Dear professor Johnson and Meep users, It has been mentioned multiple times that a capacity similar to variable mesh size can be emulated in meep by applying the coordinate transformation technique formulated in Coordinate Transformation

[Meep-discuss] Field divergence in coordinate transforming (stretching)

2013-11-07 Thread tran quyet thang
Dear professor Johnson and Meep users, It has been mentioned multiple times that a capacity similar to variable mesh size can be emulated in meep by applying the coordinate transformation technique formulated in Coordinate Transformation Invariance in Electromagnetism. However my attempts in

Re: [Meep-discuss] Field divergence

2008-11-16 Thread jinkyu . yang
I also met this problem before. If your structure is so large and calculation time is too long, you should activate non-averaging to avoid divergence issue just like; (set! eps-averaging? false) Quoting dy zhao [EMAIL PROTECTED]: Dear Dr. Steven and meep users, Recently, I have met the

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-31 Thread Jefferson Thomas
Thanks. One more thing about adding the sources in case of symmetries : If I have a box of sizes 4, 4, 4 with odd symmetry on X and I want to add a source with Ex with f.add_point_source(Ex, src, vec(1, 1, 1), 10); where 10 means the amplitude then as far as I understand I have to add a

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-30 Thread Jefferson Thomas
Hi Steven, What you are saying is really very helpful. In fact I had no idea I have to supply the symmetric source. I will try it right now and see how it goes. On the other hand I dont understand the thing with the symmetric eps. Although I dont know how meep works internally with the

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-30 Thread Steven G. Johnson
On Jul 30, 2008, at 9:20 PM, Jefferson Thomas wrote: What you are saying is really very helpful. In fact I had no idea I have to supply the symmetric source. I will try it right now and see how it goes. See: http://ab-initio.mit.edu/wiki/index.php/Exploiting_symmetry_in_Meep If you don't

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-30 Thread Jefferson Thomas
You are right. When I symmetrized the eps function the divergences disappeared. I really didnt know that this one last pixel could have such a big influence. I have also some other kind of divergences in other cases. They seem not to be connected to symmetries but arise from PML layers. I am

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-29 Thread Steven G. Johnson
Your problem seems to stem from the fact that neither your structure nor your sources obey the symmetry you specified. On Jul 22, 2008, at 9:40 PM, Jefferson Thomas wrote: meep::symmetry S=meep::identity(); S = S+ meep::mirror(meep::X, v)*(-1); /// Introducing symmetries on X and Y

Re: [Meep-discuss] Field divergence in meep after many steps for a photonic crystal

2008-07-19 Thread Steven G. Johnson
On Jul 16, 2008, at 10:11 PM, Jefferson Thomas wrote: - exciting with one gaussian_src_time with freq 0.7, width 3.0 for the Try using a narrower-bandwidth source centered on your mode frequency. That will also help harminv out, in that with a narrower bandwidth source harminv has cleaner