momentum matrix element calculation
Posted: Mon May 23, 2016 4:10 pm
Hi,
I want to use abinit to calculate and print momentum matrix elements along certain lines of the FBZ just like bandstructure.
So far I tried to use The lesson on Optic input file as it generates ddk files from which I can calculate matrix elements.
But I have 2 problems:
1. ddk output is binary and I couldn't figure out how to print it as txt file. I solved this one by modifying source code of optic to save it to txt after reading, not very elegant but it works.
2. ddk are generated only for kgrid for which I run ground state calculations, is there a way to generate it for kgrid that is determined by kptbounds? I need ddk in particular points of the FBZ.
Is there an easier way of getting those elements?
Thank you and best wishes
Jacek
I want to use abinit to calculate and print momentum matrix elements along certain lines of the FBZ just like bandstructure.
So far I tried to use The lesson on Optic input file as it generates ddk files from which I can calculate matrix elements.
But I have 2 problems:
1. ddk output is binary and I couldn't figure out how to print it as txt file. I solved this one by modifying source code of optic to save it to txt after reading, not very elegant but it works.
2. ddk are generated only for kgrid for which I run ground state calculations, is there a way to generate it for kgrid that is determined by kptbounds? I need ddk in particular points of the FBZ.
Is there an easier way of getting those elements?
Thank you and best wishes
Jacek