Skip to content

Commit 0a1c9e1

Browse files
Igor S. Gerasimovfoxtran
Igor S. Gerasimov
authored andcommitted
Remove izero
Signed-off-by: Igor S. Gerasimov <[email protected]>
1 parent 821d7fb commit 0a1c9e1

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/hessian.F90

+2-7
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ subroutine numhess( &
9191
integer :: fixmode
9292
integer, allocatable :: skiplist(:)
9393
integer, allocatable :: nb(:,:)
94-
integer, allocatable :: indx(:),molvec(:),izero(:)
94+
integer, allocatable :: indx(:),molvec(:)
9595
real(wp),allocatable :: bond(:,:)
9696

9797
!$ integer :: nproc
@@ -130,7 +130,7 @@ subroutine numhess( &
130130
allocate(hss(n3*(n3+1)/2),hsb(n3*(n3+1)/2),h(n3,n3),htb(n3,n3),hbias(n3,n3), &
131131
& gl(3,mol%n),isqm(n3),xyzsave(3,mol%n),dipd(3,n3), &
132132
& pold(n3),nb(20,mol%n),indx(mol%n),molvec(mol%n),bond(mol%n,mol%n), &
133-
& freq_scal(n3),fc_tb(n3),fc_bias(n3),amass(n3), h_dummy(n3,n3), izero(n3))
133+
& freq_scal(n3),fc_tb(n3),fc_bias(n3),amass(n3), h_dummy(n3,n3))
134134

135135
if (set%elprop == p_elprop_alpha) then
136136
allocate(dalphadr(6,n3), source = 0.0_wp)
@@ -413,14 +413,9 @@ subroutine numhess( &
413413
else
414414
write(env%unit,'(1x,a)') 'projected vibrational frequencies (cm⁻¹)'
415415
endif
416-
k=0
417416
do i=1,n3
418417
! Eigenvalues in atomic units, convert to wavenumbers
419418
res%freq(i)=autorcm*sign(sqrt(abs(res%freq(i))),res%freq(i))/sqrt(amutoau)
420-
if(abs(res%freq(i)).lt.0.01_wp) then
421-
k=k+1
422-
izero(k)=i
423-
endif
424419
enddo
425420

426421
! scale frequencies

0 commit comments

Comments
 (0)