What K lattice points are the optical matrix elements based on?
Posted: Fri Jul 08, 2022 9:46 am
				
				Dear all,
I use the PW to do the gound state calculation, then use the yambo 4.5.3 to run the BSE calculation.
As a test, I run the jobs using the 2D-hBN monolayer with the kgrid of 3x3x1.
PW prints three reduced k points and correspoinding weight:
I modify the yambo code, yambo-4.5.3\src\dipoles\DIPOLE_driver.F, to print the k points which the optical momentum elements are calculated based on.
at line 252, I add the following code
I obtain the following results,
I find that the third k point is different from that given by PW, though they have the same weigth (i.e., 0.22222).
So, my questions are
1. what K lattice points the optical momentum elements are based on in yambo?
2. what is the Xk%ptbz and how to output it? I think it is the unreduced k-grids becasue its shape is (9,3) as output above.
However, if I try to output it by write (*,*) "ptbz1", Xk%ptbz(1,:) for a test. Yambo prints nothing for it.
Any help will be appreciated.
			I use the PW to do the gound state calculation, then use the yambo 4.5.3 to run the BSE calculation.
As a test, I run the jobs using the 2D-hBN monolayer with the kgrid of 3x3x1.
PW prints three reduced k points and correspoinding weight:
Code: Select all
0.0000000   0.0000000   0.0000000  0.11111
0.0000000   0.3333333   0.0000000  0.66666
0.3333333   0.3333333   0.0000000  0.22222
at line 252, I add the following code
Code: Select all
........
    do i_sp_pol=1,n_sp_pol
      write (*,*) "nibz",Xk%nibz
      write (*,*) "pt1", Xk%pt(1,:)
      write (*,*) "pt2", Xk%pt(2,:)
      write (*,*) "pt3", Xk%pt(3,:)
      write (*,*) "ptbz",shape(Xk%ptbz)
      write (*,*) "ptbz1", Xk%ptbz(1,:)
      write (*,*) "w",Xk%weights
      do ik=1,Xk%nibz
        !
        if (.not.PAR_IND_DIPk_ibz%element_1D(ik)) cycle
  .......
Code: Select all
 
 nibz           3
 pt1   0.00000000       0.00000000       0.00000000    
 pt2   0.00000000      0.333333313       0.00000000    
 pt3  0.333333343      0.499999970       0.00000000    
 ptbz           9           3
 ptbz1
 w  0.111111112      0.666666687      0.222222224    
So, my questions are
1. what K lattice points the optical momentum elements are based on in yambo?
2. what is the Xk%ptbz and how to output it? I think it is the unreduced k-grids becasue its shape is (9,3) as output above.
However, if I try to output it by write (*,*) "ptbz1", Xk%ptbz(1,:) for a test. Yambo prints nothing for it.
Any help will be appreciated.