All requests for technical support from the VASP group must be addressed to: vasp.materialphysik@univie.ac.at

# CHGCAR

This file contains the lattice vectors, atomic coordinates, the total charge density multiplied by the volume ${\displaystyle \rho (r)*V_{{{\rm {cell}}}}}$ on the fine FFT-grid (NG(X,Y,Z)F), and the PAW one-center occupancies. CHGCAR can be used to restart VASP from an existing charge density. For visualisation the CHG file should be used, since the PAW-one centre occupancies are difficult to parse. It is possible to avoid that the CHGCAR is written by setting LCHARGE=.FALSE. in the INCAR file. In VASP, the density is written using the following commands in Fortran:
WRITE(IU,FORM) (((C(NX,NY,NZ),NX=1,NGXC),NY=1,NGYZ),NZ=1,NGZC)