quantum-espresso/CPV/cpr_mod.f90

42 lines
1.0 KiB
Fortran
Raw Normal View History

!
! Copyright (C) 2002 CP90 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 .
!
module stre
implicit none
save
real(kind=8) stress(3,3)
end module stre
module dqrad_mod
implicit none
save
real(kind=8),allocatable:: dqrad(:,:,:,:,:,:,:)
contains
subroutine deallocate_dqrad_mod
IF( ALLOCATED( dqrad ) ) DEALLOCATE( dqrad )
end subroutine
end module dqrad_mod
module betax
implicit none
save
integer, parameter:: mmx=5001
real(kind=8) :: refg
real(kind=8),allocatable:: betagx(:,:,:), dbetagx(:,:,:), &
qradx(:,:,:,:,:), dqradx(:,:,:,:,:)
contains
subroutine deallocate_betax
IF( ALLOCATED( betagx ) ) DEALLOCATE( betagx )
IF( ALLOCATED( dbetagx ) ) DEALLOCATE( dbetagx )
IF( ALLOCATED( qradx ) ) DEALLOCATE( qradx )
IF( ALLOCATED( dqradx ) ) DEALLOCATE( dqradx )
end subroutine
end module betax