Wrapper for serial 3d fft no longer needed

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@2814 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
giannozz 2006-02-14 14:44:15 +00:00
parent 3b39f80c94
commit e7d47f99da
1 changed files with 0 additions and 24 deletions

View File

@ -1,24 +0,0 @@
!
! Copyright (C) 2003 A. Smogunov
! 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 .
!
!----------------------------------------------------------------------
subroutine cft3sp (f,n1,n2,n3,nx1,nx2,nx3,sign)
!----------------------------------------------------------------------
!
! Just usual FFT (even in MPI running)
!
implicit none
integer :: n1, n2, n3, nx1, nx2, nx3, sign
complex(kind(0.d0)) :: f(nx1*nx2*nx3)
if (sign.eq.1) then
call cft_3(f,n1,n2,n3,nx1,nx2,nx3,2, 1)
else if (sign.eq.-1) then
call cft_3(f,n1,n2,n3,nx1,nx2,nx3,2,-1)
endif
return
end subroutine cft3sp