~nickpapior/siesta/tddft-work

« back to all changes in this revision

Viewing changes to Src/pdos3g.F

  • Committer: Rafi Ullah
  • Date: 2017-09-27 12:02:36 UTC
  • mfrom: (611.1.22 trunk)
  • Revision ID: rraffiu@gmail.com-20170927120236-68zal54nt0bu1jxp
Merged with trunk-633

Show diffs side-by-side

added added

removed removed

Lines of Context:
174
174
          do ihist = 1, nhist
175
175
            ener = E1 + (ihist - 1) * delta
176
176
            do iband = 1, nuo*2
177
 
              call LocalToGlobalOrb(iband,Node,Nodes,ibandg)
 
177
              call LocalToGlobalOrb((iband+1)/2,Node,Nodes,ibandg)
 
178
              ibandg = ibandg * 2 - mod(iband, 2) 
178
179
              diff = (ener - eo(ibandg))**2 / (sigma ** 2)
179
180
              if (diff .gt. 15.0d0) cycle
180
181
              gauss = ( exp(-diff) )