~albertog/siesta/trunk-elsi-dm

« back to all changes in this revision

Viewing changes to Util/TS/TBtrans/m_tbt_tri_init.F90

  • Committer: Alberto Garcia
  • Date: 2019-09-02 14:50:38 UTC
  • mfrom: (660.1.118 trunk)
  • Revision ID: albertog@icmab.es-20190902145038-bw6j71uayu72a1h6
Sync to trunk-778 (notably nc/soc wfs support)

Show diffs side-by-side

added added

removed removed

Lines of Context:
490
490
    call attach(tmpSp1, n_col = ncol, list_ptr = l_ptr, &
491
491
         list_col = l_col , nrows_g = no , nnzs = n_nzs )
492
492
    ! Check whether we are dealing with a 1-orbital system
493
 
    one_orb = no == lasto(na_u)
 
493
    one_orb = no == na_u
494
494
 
495
495
    fmethod = 'orb+none'
496
496
    if ( IONode ) write(*,fmt) 'orb','none'
508
508
       if ( one_orb ) then
509
509
          ! Same as 'atom'
510
510
          corb = 'atom'
511
 
       else
512
 
          if ( leqi(fdf_get('TBT.BTD.Analyze','atom'),'atom') ) cycle
 
511
        else
 
512
          if ( leqi(fdf_get('TBT.BTD.Analyze','atom'),'atom') ) cycle orb_atom_switch
513
513
       end if
514
514
 
515
515
       call rgn_copy(r_pvt,full)
702
702
       call tri(r_El)
703
703
    end if
704
704
 
705
 
 
 
705
#if defined(TS_PVT_GGPS) || defined(TBT_PVT_GGPS)
706
706
    fmethod = trim(corb)//'+GGPS'
707
707
    if ( IONode ) write(*,fmt) trim(corb),'GGPS'
708
708
    call sp_pvt(n,tmpSp2,r_tmp, PVT_GGPS, sub = full)
742
742
       call rgn_atom2orb(r_tmp,na_u,lasto,r_El)
743
743
       call tri(r_El)
744
744
    end if
 
745
#endif
745
746
 
746
747
    end do orb_atom_switch
747
748