Skip to content
Snippets Groups Projects
Commit 2df59914 authored by Manuel Dias's avatar Manuel Dias
Browse files

fixed array dimensions for potential mixing

parent cc1170fc
No related branches found
No related tags found
No related merge requests found
......@@ -92,7 +92,11 @@ contains
data mit/1/, zero, one/0.0_dp, 1.0_dp/
ntird = (irmd*ntperd+(irnsd+1)*(lmpotd-1)*natypd)*nspindd
! write(*,'("irmd=",i8," ntperd=",i8," irnsd=",i8," lmpotd=",i8," natypd=",i8," nspindd=",i8)') irmd, ntperd, irnsd, lmpotd, natypd, nspindd
! MdSD: old one, works if the radial mesh dimensions are large enough
! ntird = (irmd*ntperd+(irnsd+1)*(lmpotd-1)*natypd)*nspindd
! MdSD: new one
ntird = (irmd*ntperd+(irnsd+1)*(lmpotd-1)*natypd)*nspin
allocate (am(2:itdthd-1), bm(2:itdthd-1), fm(ntird), fm1(ntird), g(ntird), sm(ntird), sm1(ntird), vi3(ntird), wit(2:200), ui2(ntird), ui3(ntird), vi2(ntird))
......
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