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

try to setup an extended drude

to be tested
parent d04c3e14
Branches master
No related tags found
No related merge requests found
......@@ -17,7 +17,7 @@ program setepsdriver
double precision, allocatable :: tmp_osc(:,:)
integer, allocatable :: tmp_oscType(:)
integer :: i, j, k, l, noPoints
integer :: i, j, k, l, m, noPoints
write(*,*) 'setepsdriver-f90-new-1 start'
......@@ -72,6 +72,14 @@ program setepsdriver
osc(2, jos) = osc(3, jos)
osc(3, jos) = 0
endif
if (osc(1, jos) < 1e-7) then
m = nos(l) / 2
oscType(jos) = extendedDrude
osc(1, jos) = osc(1, jos + m)
osc(2, jos) = osc(3, jos)
osc(3, jos) = osc(3, jos + m)
nos(l) = nos(l) - 1
endif
enddo
endif
enddo
......
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