ahbarnett / mpspack

2D Helmholtz scattering and eigenvalue problems via particular solutions and integral equations
Other
32 stars 5 forks source link

testqpscatt_fmm fails for transmission problem #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Set the value of 'ob' to 't' in testqpscatt_fmm.m and run it.

What is the expected output? What do you see instead?
Error using iterapp (line 59)
user supplied function ==> @(co)pr.applybcmatrixFMM(co,o) failed with the 
following error:

 Matrix dimensions must agree.

Error in gmres (line 213)
r = b - iterapp('mtimes',afun,atype,afcnstr,x,varargin{:});

Error in bvp/linsolve (line 99)
        [co] = gmres(A, pr.rhs, o.restart, o.eps, maxit);

Error in bvp/solvecoeffs (line 138)
      co = pr.linsolve(o); % do the linear solve (o controls which type)

Error in qpscatt/solvecoeffs (line 463)
      co = solvecoeffs@bvp(pr,o);      % pass to usual solver

Error in testqpscatt_fmm (line 48)
tic; p.solvecoeffs(o); toc,      % (fill and) least-squares soln

What version of the product are you using? On what operating system?
Matlab2014b on MacOS 10.9.5 with installed and working fmmlib2d-1.2 and lp2d 
tools.

Please provide any additional information below.

Original issue reported on code.google.com by vgerlin...@gmail.com on 15 Oct 2014 at 7:24

ahbarnett commented 8 years ago

I don't understand what 'ob' you changed. Please re-try with the new version I've just pushed.