ndb.dipoles_fragment_xx

You can find here problems arising when using old releases of Yambo (< 5.0). Issues as parallelization strategy, performance issues and other technical aspects.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan

Locked
Yuan Pang
Posts: 17
Joined: Fri Mar 05, 2021 2:26 pm

ndb.dipoles_fragment_xx

Post by Yuan Pang » Sun Mar 13, 2022 5:37 am

Dear Developers,

I can find three variables which relate to the dipole matrix element in the ndb.dipoles_fragment_xx, i.e. “DIP_iR_k_0001_spin_0001”, "DIP_P_k_0001_spin_0001'' and DIP_v_k_0001_spin_0001. However, I have two questions about these three variables as following:

1. I want to know that the difference between these three variables.
2. What is the unit of these three variables.


Best,
Pang
School of Physics, Shandong University
Jinan, CHINA

User avatar
Daniele Varsano
Posts: 3824
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: ndb.dipoles_fragment_xx

Post by Daniele Varsano » Mon Mar 14, 2022 3:14 pm

Dear Pang,

they are respectively the matrix element <v|ir|c>, <v|p|c> and <v|V|c>, ie the matrix elements of position, momentum and velocity.
You can see here how they are related:
/src/dipoles/DIPOLE_transverse.F

Code: Select all

266            !
267            ! DIP_iR(c,v) = i <v|r|c> = i <v|[r,H]|c>/(Ec-Ev) =
268            !             = i <v|i p|c>/(Ec-Ev) + i<v|[x,Vnl]|c>/(Ec-Ev) =
269            !             = - <v|-i grad|c>/(Ec-Ev) +i<v|[x,Vnl]|c>/(Ec-Ev) =
270            !             =   <v|-i grad|c>/(Ev-Ec) -i<v|[x,Vnl]|c>/(Ev-Ec) =
271            !             =   P_vc/(Ev-Ec) -i<v|[x,Vnl]|c>/(Ev-Ec)
The units should be respectively bohr and bohr*Hartree

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

Yuan Pang
Posts: 17
Joined: Fri Mar 05, 2021 2:26 pm

Re: ndb.dipoles_fragment_xx

Post by Yuan Pang » Tue Mar 15, 2022 7:37 am

Dear Daniele,

Thanks for your reply and help!
I got it.


Best,
Pang
School of Physics, Shandong University
Jinan, CHINA

Locked