Re: [Meep-discuss] Monitor one point to control the running time?

2008-07-29 Thread Yiling Qi
Dear Steven, Thanks so much for your help. I have read meep.scm and found texts shown as follows: ; condition function, designed to be used in conjunction with run-sources+, ; that returns true when |field|^2 at a given point has decayed more than ; a certain amount, always running for at least

Re: [Meep-discuss] Monitor one point to control the running time?

2008-07-29 Thread Steven G. Johnson
On Jul 29, 2008, at 7:32 AM, Yiling Qi wrote: I am sorry but since I am still a green hand, could you please do me a favor to explain a little more of what I should base my function according to above? No, I'm afraid not. I (and other people on the mailing list) may occasionally have

[Meep-discuss] Monitor one point to control the running time?

2008-07-28 Thread Yiling Qi
Dear all, I would like to simulate a continuous source propagating in a photonic crystal. Instead of defining run period by an exact number(like 500 times period), I am wondering if I could monitor the source by find one point in the area and run until like electric field at this point to be

Re: [Meep-discuss] Monitor one point to control the running time?

2008-07-28 Thread Steven G. Johnson
On Jul 28, 2008, at 12:41 PM, Yiling Qi wrote: I would like to simulate a continuous source propagating in a photonic crystal. Instead of defining run period by an exact number(like 500 times period), I am wondering if I could monitor the source by find one point in the area and run until