truncating of CHGCAR

Question on input files/tags, interpreting output, etc.

Please check whether the answer to your question is given in the VASP online manual or has been discussed in this forum previously!

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Borninger
Newbie
Newbie
Posts: 11
Joined: Mon Nov 13, 2006 9:49 am

truncating of CHGCAR

#1 Post by Borninger » Fri Jan 25, 2008 12:14 pm

Hello everyone,

I have a problem that I'm occupied with for some months now. I want to calculate the difference of two CHGCARs. One of them is an onedimensional infinite wire and the other is one atome in a supercell of 10 times the cell of the infinite chain. What I want to do is:

I want to cut out the chargedensity in the center part of the supercell.

After that I can do the rest (difference ...). Until now I thought that I just have to take the CHGCAR, cut the first lines, then truncate the rest into 20 parts and catting the 10th and 11th part and the first lines (with adapted NGX as NGX_original / 10). But this does not work out, so I'm hoping that some of you can help me.

Thx.

Borninger
Last edited by Borninger on Fri Jan 25, 2008 12:14 pm, edited 1 time in total.

Post Reply