Page 1 of 1
Can I output the Dipole/momentum matrix elements
Posted: Thu May 14, 2020 10:22 am
by lyzhao
Dear all,
Can I output the Dipole/momentum matrix elements?
or Could you tell me which source.code.file calculate the dipole/momentum matrix elements?
Best regards.
Youzhao Lan
Re: Can I output the Dipole/momentum matrix elements
Posted: Thu May 14, 2020 10:43 am
by Daniele Varsano
Dear Youzhao,
please sign your posts with your affiliation, this is a rule of the forum and you can fill your signature once for all in your user profile.
Please have a look to this
thread:
there you can find some info on how to write them on disk inserting few lines in the code or read them from the database (ndb.dipoles) with a python script.
Actually the thread is quite old and maybe something can have changed since them, find here in attachment a script that should work, of course, you would need to modify to point to your databases and select the elements you need.
Inside there is an example, anyway, the vectors are organized as follow:
float DIP_iR_k_0001_spin_0001(valence_index, conduction_index, spatial direction, real/imag part)
Best,
Daniele