CHGCAR structure

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


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
opvu
Newbie
Newbie
Posts: 14
Joined: Thu Apr 13, 2006 12:43 am
Location: SungKyunKwan Univ.

CHGCAR structure

#1 Post by opvu » Tue May 09, 2006 4:50 pm

Dear all,

According to VASP manual, CHGCAR is written by
WRITE(IU,FORM) (((C(NX,NY,NZ),NX=1,NGXC),NY=1,NGYZ),NZ=1,NGZC)
But from this I can not understand the structure of CHGCAR with 5 column.

Anybody can explain to me the stucture of CHGCAR
Thank very much!
Last edited by opvu on Tue May 09, 2006 4:50 pm, edited 1 time in total.

graeme
Jr. Member
Jr. Member
Posts: 54
Joined: Sat Jul 02, 2005 6:11 am
Location: Austin, TX
Contact:

CHGCAR structure

#2 Post by graeme » Tue May 09, 2006 7:11 pm

The data can be written with a formatted statement such as:

WRITE(IU,'(5E18.11)') (((C(NX,NY,NZ), &
& NX=1,NGXC),NY=1,NGYC),NZ=1,NGZC)

The 5 columns have no significance except that the resulting
lines are of a reasonable length.
Last edited by graeme on Tue May 09, 2006 7:11 pm, edited 1 time in total.

sjtuzhanglei
Newbie
Newbie
Posts: 12
Joined: Wed Aug 20, 2014 4:58 pm
License Nr.: VASP-group 5-727 at Georgia Tech

Re: CHGCAR structure

#3 Post by sjtuzhanglei » Sun Feb 14, 2016 8:54 pm

May I know the format of CHGCAR in a spin polarized calculation?

Is it that (spin-up)+(spin-down), (spin-up)-(spin-down) the most immediate factor, and then NGX, NGY, NGZ as the non-spin polarized CHGCAR?

I need to confirm this before I seperate total charge density and spin charge density.

Thank you!

Post Reply