2003-01-20 05:58:50 +08:00
|
|
|
!
|
|
|
|
! Copyright (C) 2001 PWSCF group
|
|
|
|
! This file is distributed under the terms of the
|
|
|
|
! GNU General Public License. See the file `License'
|
|
|
|
! in the root directory of the present distribution,
|
|
|
|
! or http://www.gnu.org/copyleft/gpl.txt .
|
|
|
|
!
|
|
|
|
!
|
2003-02-08 00:04:36 +08:00
|
|
|
subroutine write_igk
|
2003-01-20 05:58:50 +08:00
|
|
|
!
|
|
|
|
use pwcom
|
|
|
|
use phcom
|
2003-11-10 02:30:08 +08:00
|
|
|
USE io_files, ONLY : iunigk
|
2003-01-20 05:58:50 +08:00
|
|
|
implicit none
|
2003-02-08 00:04:36 +08:00
|
|
|
if (nksq.ne.1) return
|
|
|
|
rewind (unit = iunigk)
|
|
|
|
write (iunigk) npw, igk
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-02-08 00:04:36 +08:00
|
|
|
if (.not.lgamma) write (iunigk) npwq, igkq
|
|
|
|
return
|
2003-01-20 05:58:50 +08:00
|
|
|
end subroutine write_igk
|