Dear all,
I am trying to read the content from the unformatted ‘.epmatwp’ file. How can we know the data structure of the ‘.epmatwp’ file from the code? Thank you!
Regards,
Vince
Dear all,
I am trying to read the content from the unformatted ‘.epmatwp’ file. How can we know the data structure of the ‘.epmatwp’ file from the code? Thank you!
Regards,
Vince
Hello,
The content is:
[code:1q9a5rko] DO irq = 1, nrr_q
i = 0
DO imode = 1, nmodes
DO irk = 1, nrr_k
DO jbnd = 1, nbndsub
DO ibnd = 1, nbndsub
i = i + 1
aux (i) = epmatwp(ibnd,jbnd,irk,imode,irq)
ENDDO
ENDDO
ENDDO
ENDDO
CALL davcio ( aux, lrepmatw, iunepmatwp, irq, +1 )
ENDDO[/code:1q9a5rko]
You can find it in ephwann_shuffle.f90
Best,
Samuel
Hi Samuel,
Thank you for your answering. I have two follow-up questions on this:
Regards,
Vince
Hello,
Best,
Samuel
Hi Samuel,
About question 2, I mean how can we output the e-ph matrix elements in electron wannier - fine bloch phonon grid? Are they already output to a file by the code, or do we have to write them into a file by ourselves in the code?
Thanks,
Vince
Hello,
I’m not sure of what you mean exactly by "electron wannier - fine bloch phonon grid".
I think it should be the unformatted file ".epmatwe1".
Hi Samuel,
Sorry for the late reply. But ".epmatwe1" is before the Wannier interpolation procedure, right? What is the corresponding file after we interpolate it back into the phonon bloch space?
Thanks,
Vince
Hello,
The .epmatwe1 is an intermediary quantity between coarse reciprocal space and real space. But yet again, I’m not sure of what you are looking for.
The electron-phonon matrix element can be in 3 states:
Which quantity do you want?
Best,
Samuel.