these matrix elements are not stored in any database.
In the code they are stored in memory in the variable
Code: Select all
Xo_scatt%rhotw
The variable is a function of G. Other indexes are in the loop.
Around the line 200 you can add a write(*,*) to print them
Code: Select all
Xo_scatt%is=(/ic,ik,is,i_spin/)
Xo_scatt%os=(/iv,ikp,isp,i_spin/)
Xo_scatt%qs=(/qindx_X(iq,ikbz,2),iq,1/)
!
call DEV_SUB(scatter_Bamp)(Xo_scatt)
!
endif
!
write(*,*) Xo_scatt%rhotw(:)
D.