G-vectors in wavedes
Posted: Wed Mar 04, 2009 4:16 pm
Hello,
I am trying to calculate a few things using the wavefunctions from VASP-4.6. In order to perform my calculations, I need the reciprocal space components of the wavefunctions
psi_{k} = \sum_G C_(k-G) e^(iG dot r)
The wavefunctions stored in WAVECAR appear to be what I need. I've written a quick fortran code to read in the wavefunctions (record length, number of bands, number of plane waves, eigenvalues, k-coordinate, etc) in much the same way it is done in fileio.f90
Unfortunately I also need the coordinates of the G-vector associated with C_(k-G), and as far as I can tell this information is not stored in the file.
Is it printed out somewhere, or is there a standard method of calculating/ennumerating these vectors? I can't seem to find it with random 'grep'-ping of the code
Thank you
I am trying to calculate a few things using the wavefunctions from VASP-4.6. In order to perform my calculations, I need the reciprocal space components of the wavefunctions
psi_{k} = \sum_G C_(k-G) e^(iG dot r)
The wavefunctions stored in WAVECAR appear to be what I need. I've written a quick fortran code to read in the wavefunctions (record length, number of bands, number of plane waves, eigenvalues, k-coordinate, etc) in much the same way it is done in fileio.f90
Unfortunately I also need the coordinates of the G-vector associated with C_(k-G), and as far as I can tell this information is not stored in the file.
Is it printed out somewhere, or is there a standard method of calculating/ennumerating these vectors? I can't seem to find it with random 'grep'-ping of the code
Thank you