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!
CHGCAR structure
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 14
- Joined: Thu Apr 13, 2006 12:43 am
- Location: SungKyunKwan Univ.
CHGCAR structure
Last edited by opvu on Tue May 09, 2006 4:50 pm, edited 1 time in total.
-
- Jr. Member
- Posts: 54
- Joined: Sat Jul 02, 2005 6:11 am
- Location: Austin, TX
- Contact:
CHGCAR structure
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.
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.
-
- Newbie
- Posts: 12
- Joined: Wed Aug 20, 2014 4:58 pm
- License Nr.: VASP-group 5-727 at Georgia Tech
Re: CHGCAR structure
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!
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!