Open MikaelSlevinsky opened 8 years ago
This appears to have improved in 0.6.0-pre.alpha.173
:
julia> using ApproxFun, SingularIntegralEquations
julia> x = 10complex.(2rand(1000)-1,2rand(1000)-1);y = 10complex.(2rand(1000)-1,2rand(1000)-1);E = 0.0;
julia> @time lhelmfs(x,y,E);
0.016189 seconds (11 allocations: 63.500 KiB)
julia> x = 10complex.(2rand(1000)-1,2rand(1000)-1);y = 10complex.(2rand(1000)-1,2rand(1000)-1);E = 10.0;
julia> @time lhelmfs(x,y,E);
0.027834 seconds (11 allocations: 63.500 KiB)
julia> x = 10complex.(2rand(1000)-1,2rand(1000)-1);y = 10complex.(2rand(1000)-1,2rand(1000)-1);E = -10.0;
julia> @time lhelmfs(x,y,E);
0.024978 seconds (11 allocations: 63.500 KiB)
Somehow, the GreensFun
constructor still stalls on lhelmfs
.
Due to certain regressions affecting ApproxFun in Julia v0.5 (https://github.com/ApproxFun/ApproxFun.jl/issues/385), the fundamental solution of the Gravity Helmholtz equation is about 100-200 times slower than in v0.4. Compare the following timings with the original post #42.