Skip to content
Snippets Groups Projects
Commit 871bd72f authored by Karl-Michael Schindler's avatar Karl-Michael Schindler
Browse files

Update doeels.f90

revert accidental change
parent 669b7b2e
No related branches found
No related tags found
No related merge requests found
......@@ -204,7 +204,18 @@ subroutine doeels (e0, theta, phia, phib, wmin, wmax, dw, comment, comment_size,
wn = wmin + (iw - 1) * dw
! if (debug) write (*,*) 'wn: ', wn
if (wn >= 0.0d0) then
q
if (wn /= 0.0d0) then
if (.not. user) call seteps(neps, nos, oscType, osc, epsinf, wn, eps, layers)
x = wn / (2 * ener * psia)
if (rational) then
f = qrat(x, alpha, beta, c1, c2) * dimag(-2 / (1.0d0 + eps(1)))
else
call queels(x, f, aerr, rerr, facru, eps, thick, layers, nper)
endif
f = prefac * f / wn
endif ! wn /= 0.0d0
wn_array(iw) = wn
f_array(iw) = f
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment