Dear Shreyas,

Sorry I didn't reply earlier.

You refer to the Scheme function:
(meep-fields-solve-cw fields tol maxiters L)

When I look into the Scheme wrapper of meep, I can see that this calls
the following C++ functions of the "fields" class:

bool solve_cw(double tol, int maxiters, complex<double> frequency, int
L=2)

bool solve_cw(double tol = 1e-8, int maxiters = 10000, int L=2)

So in Python-Meep, if you have a fields-object, you should be able to
readily call the solve_cw function. As the parameters of the Scheme and
C++ function are the same, I expect this to be pretty straightforward.
Please let me know this works out.

wbr
Emmanuel









On Fri, 2010-12-17 at 17:27 -0500, Shreyas Shah wrote:
> Hello,
> 
> I was wondering if there is any way in which we can use the frequency
> domain solver from MEEP using python-meep.
> 
> Sincerely,
> Shreyas Shah.



_______________________________________________
Mailing list: https://launchpad.net/~python-meep
Post to     : python-meep@lists.launchpad.net
Unsubscribe : https://launchpad.net/~python-meep
More help   : https://help.launchpad.net/ListHelp

Reply via email to