[Meep-discuss] Sign of force, flux and force/flux

2015-03-18 Thread Steve
Dear Steven and Meep Users, I've read in the Meep documentation that force and flux are always measured relative to the positive coordinate direction. So how does the sign of flux translate to the ratio Force/Flux. That is, if force is positive and flux is negative, is force/flux positive or

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Filip Dominec
Hi, Gib, it looks exactly like the bug that has been resolved in git commit https://github.com/stevengj/meep/commit/0640e9f6a2ccfa2a40375a89b5692ebb1fb87efb Could you check a recent version of MEEP either compiling it from source (blue box in http://f.dominec.eu/meep/index.html#install), or

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Gib Bogle
I don't think you were confused, but I'm wondering where I should get the fixed code from. Is this it? git clone https://github.com/stevengj/meep Gib From: Filip Dominec [filip.domi...@gmail.com] Sent: Thursday, 19 March 2015 12:05 p.m. To: Gib Bogle Cc:

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Gib Bogle
Hi Filip, I see that the version I have built (with Cygwin on Windows) has source code dated 29/3/2014. I downloaded meep-1.2.1.tar.gz from http://ab-initio.mit.edu/wiki/index.php/Meep_download in January this year. This claims to be the latest release - is this not the case? Cheers Gib

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Filip Dominec
Hi, Gib, perhaps I was a bit confused. The fact is that MEEP source has been fixed by the commit I mentioned, and it was not before April 2014. Therefore if the release 1.2.1 comes from March, it is probably not fixed (no matter it is currently the latest official release I am aware of). I guess

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Gib Bogle
Hi Filip, The Meep code has been updated on the cluster, and now the program does not crash at that point. It obviously is a memory hog, though, and I am still discovering how much it needs to avoid running out. On a different but connected topic: I would like to set up a cluster run that

[Meep-discuss] Frequency-domain solver

2015-03-18 Thread Gib Bogle
I am trying to use the frequency-domain solver for a 3D problem, 25x25x22 with resolution=10. The output from (meep-fields-solve-cw fields) is: Meep: using complex fields. on time step 1 (time=0.05), 41.9989 s/step final residual = 0 Finished solve_cw after 1 steps and 0 CG iters. It seems that