CONTCAR

Queries about input and output files, running specific calculations, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Dr Vitaly V. G. Chaban
Newbie
Newbie
Posts: 19
Joined: Wed Dec 29, 2010 4:42 pm
License Nr.: 5-813

CONTCAR

#1 Post by Dr Vitaly V. G. Chaban » Fri Apr 29, 2011 4:46 pm

How can I make vasp to output Cartesian coordinates, rather than direct, in the contcar file?
Last edited by Dr Vitaly V. G. Chaban on Fri Apr 29, 2011 4:46 pm, edited 1 time in total.

forsdan
Sr. Member
Sr. Member
Posts: 339
Joined: Mon Apr 24, 2006 9:07 am
License Nr.: 173
Location: Gothenburg, Sweden

CONTCAR

#2 Post by forsdan » Fri Apr 29, 2011 7:21 pm

You will need to rewrite the write-function for the CONTCAR file.

For which purpose do you need this? If you should do some post-processing, just write a small script that reads and then multiplies matrix for the basis vectors with the matrix for the direct coordinates.

Cheers,
/Dan
Last edited by forsdan on Fri Apr 29, 2011 7:21 pm, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

CONTCAR

#3 Post by admin » Wed May 11, 2011 6:00 pm

an alternative would be to read (grep) the positions in cartesian coordinates from OUTCAR. If you want to continue your run
from a modified CONTCAR, simply plug the data into CONTCAR accordingly
Last edited by admin on Wed May 11, 2011 6:00 pm, edited 1 time in total.

Post Reply