crystal to alat conversion

Post here any question you encounter when running the scripts of the yambo-py suite. Post here problem strictly to the python interface as problem coming from the yambo runs should go in the appropriate subforum.

Moderators: palful, amolina, mbonacci

Post Reply
sitangshu
Posts: 185
Joined: Thu Jan 05, 2017 8:08 am

crystal to alat conversion

Post by sitangshu » Thu Feb 02, 2017 3:23 pm

Dear Sir,

When I try to run a relax/scf/nscf/bands using the ground state script, I always find that the atomic positions are given in "crystal". In some cases, particularly, in MoS2 band structure calculations, when I am trying to run via usual process of quantum espresso, the band structure comes nicely, however, when I try to run the same via yambopy script, the correct pricture does not seems to come.
Is there a way to change "crystal" to "alat" in atomic position card?

WIth regards,
Sitangshu
Sitangshu Bhattacharya
Indian Institute of Information Technology-Allahabad
India
Web-page: http://profile.iiita.ac.in/sitangshu/
Institute: http://www.iiita.ac.in/

miranda.henrique
Posts: 16
Joined: Thu Jul 23, 2015 2:34 pm

Re: crystal to alat conversion

Post by miranda.henrique » Fri Feb 03, 2017 3:28 pm

Dear Sitangshu,

You can change the type of atomic positions by changing the following variable of your PwIn() object:

Code: Select all

qe = PwIn()
qe.atomic_pos_type = 'alat'
Hope this helps.
Henrique Pereira Coutada Miranda
Institute of Condensed Matter and Nanosciences
http://henriquemiranda.github.io/
UNIVERSITÉ CATHOLIQUE DE LOUVAIN

sitangshu
Posts: 185
Joined: Thu Jan 05, 2017 8:08 am

Re: crystal to alat conversion

Post by sitangshu » Sat Feb 04, 2017 8:10 am

Thank you Miranda!
It ran wonderfully!!
Sitangshu Bhattacharya
Indian Institute of Information Technology-Allahabad
India
Web-page: http://profile.iiita.ac.in/sitangshu/
Institute: http://www.iiita.ac.in/

Post Reply