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 estimate (hessm1, nax3, nat, nat3)
|
2003-01-20 05:58:50 +08:00
|
|
|
!-----------------------------------------------------------------------
|
|
|
|
!
|
2004-01-23 23:08:03 +08:00
|
|
|
USE kinds
|
2003-02-08 00:04:36 +08:00
|
|
|
implicit none
|
|
|
|
integer :: nax3, nat3, nat, i
|
|
|
|
real(kind=DP) :: hessm1 (nax3, nat3)
|
2003-01-20 05:58:50 +08:00
|
|
|
|
2003-04-23 00:03:45 +08:00
|
|
|
hessm1(:,:) = 0.d0
|
2003-02-08 00:04:36 +08:00
|
|
|
do i = 1, nat3
|
|
|
|
hessm1 (i, i) = 1.d0
|
2003-01-20 05:58:50 +08:00
|
|
|
enddo
|
2003-04-23 00:03:45 +08:00
|
|
|
|
2003-02-08 00:04:36 +08:00
|
|
|
return
|
2003-01-20 05:58:50 +08:00
|
|
|
end subroutine estimate
|