Moved here.

git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@12253 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
puma 2016-03-25 14:43:57 +00:00
parent c55053d511
commit 9e864e77ee
1 changed files with 23 additions and 0 deletions

23
Modules/zvscal.f90 Normal file
View File

@ -0,0 +1,23 @@
!
! Copyright (C) 2003 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 .
!
!
SUBROUTINE zvscal(n,lda,m,v,zin,zout)
IMPLICIT NONE
INTEGER :: n, lda, m
real(8) :: v(n), zin(2,lda,m), zout(2,lda,m)
INTEGER :: i,j
!
DO j = 1,m
DO i = 1,n
zout(1,i,j) = zin(1,i,j)*v(i)
zout(2,i,j) = zin(2,i,j)*v(i)
ENDDO
ENDDO
!
RETURN
END SUBROUTINE zvscal