Re: [Meep-discuss] Frequency-domain solver for bigger domain/higher resolution?

2019-09-24 Thread Steven G. Johnson
Unfortunately, there is not much you can do besides increase the L parameter and the number of iterations. Increasing the diameter of a simulation relative to the wavelength increases the condition number, which worsens the convergence of iterative solvers. The general way to improve this is

[Meep-discuss] Frequency-domain solver for bigger domain/higher resolution?

2019-09-24 Thread Alexis Hotte
Hello to the meep community, I was hoping to use the frequency domain solver for my own application, but I've encountered a stumbling block. I've played around with the ring resonator tutorial example, and it seems that when I increase the domain size (let's say a radius of 10 micrometers)

Re: [Meep-discuss] Frequency domain solver

2017-08-01 Thread damien . baron
Hi Saket, This is an error message sent by Guile because (meep-fields-solve-cw fields tol maxiters L) is not called properly. For example, this message appears if maxiters has type double instead of integer. See

Re: [Meep-discuss] Frequency-domain solver

2015-03-19 Thread Filip Dominec
: meep-discuss Subject: Re: [Meep-discuss] Frequency-domain solver Exactly, this is the trunk repository with the most fresh code. F. D. 2015-03-19 0:11 GMT+01:00, Gib Bogle g.bo...@auckland.ac.nz: I don't think you were confused, but I'm wondering where I should get the fixed code from

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
: meep-discuss Subject: Re: [Meep-discuss] Frequency-domain solver 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

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Gib Bogle
From: Filip Dominec [filip.domi...@gmail.com] Sent: Thursday, 19 March 2015 11:26 a.m. To: Gib Bogle Cc: meep-discuss Subject: Re: [Meep-discuss] Frequency-domain solver Hi, Gib, it looks exactly like the bug that has been resolved in git commit https

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Filip Dominec
:26 a.m. To: Gib Bogle Cc: meep-discuss Subject: Re: [Meep-discuss] Frequency-domain solver 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

Re: [Meep-discuss] Frequency-domain solver

2015-03-18 Thread Gib Bogle
, 19 March 2015 12:16 p.m. To: Gib Bogle Cc: meep-discuss Subject: Re: [Meep-discuss] Frequency-domain solver Exactly, this is the trunk repository with the most fresh code. F. D. 2015-03-19 0:11 GMT+01:00, Gib Bogle g.bo...@auckland.ac.nz: I don't think you were confused, but I'm wondering where

[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

[Meep-discuss] frequency domain solver c++

2013-04-22 Thread Ali Naqavi
Dear MEEP users/developers Is it possible to use MEEP's frequency-domain solver in the c++ interface? If yes, what are the corresponding commands? Thanks for your answer in advance, Ali ___ meep-discuss mailing list meep-discuss@ab-initio.mit.edu

Re: [Meep-discuss] frequency domain solver c++

2013-04-22 Thread Wu Chuanren
Hello Ali, you can use the solve_cw() function. However you may have to fall back the norm2() in the CG-algorithm of meep 1.2 to the old one, which was from meep 1.1 or earlier. Regards Chuanren 2013/4/22 Ali Naqavi anaq...@gmail.com Dear MEEP users/developers Is it possible to use MEEP's

[Meep-discuss] Frequency-domain solver seems not working in meep-1.2

2012-12-18 Thread Munehiro Nishida
There seems to be a bug in bicgstab.cpp in meep-1.2. Without the following patch physical.cpp test gives nan ratio, although make check passed. Best regards Munehiro --- bicgstab.cpp.orig 2012-12-18 22:52:19.159110261 +0900 +++ bicgstab.cpp2012-12-18 22:53:44.655994596 +0900 @@ -84,7

[Meep-discuss] Frequency domain solver

2011-01-11 Thread Marell, M.J.H.
Hi everybody, I was wondering if anybody managed to get some experience with the frequency domain solver in MEEP. I succeeded in getting my simulations up and running, but so far they all ended in CONVERGENCE FAILLURE. I don't know if there's any relevance to my problem, but if I output my

Re: [Meep-discuss] frequency domain solver

2008-02-07 Thread Steven G. Johnson
On Feb 7, 2008, at 7:53 PM, Jonathan Breeze wrote: I have heard that an undocumented frequency domain solver exists within MEEP. Is this true? I would be keen to find out, since I have some problems which would be ideal for an eigensolver approach in 2D cylindrical coordinates (dielectric