@@ -91,7 +91,7 @@ subroutine numhess( &
91
91
integer :: fixmode
92
92
integer , allocatable :: skiplist(:)
93
93
integer , allocatable :: nb(:,:)
94
- integer , allocatable :: indx(:),molvec(:),izero(:)
94
+ integer , allocatable :: indx(:),molvec(:)
95
95
real (wp),allocatable :: bond(:,:)
96
96
97
97
! $ integer :: nproc
@@ -130,7 +130,7 @@ subroutine numhess( &
130
130
allocate (hss(n3* (n3+1 )/ 2 ),hsb(n3* (n3+1 )/ 2 ),h(n3,n3),htb(n3,n3),hbias(n3,n3), &
131
131
& gl(3 ,mol% n),isqm(n3),xyzsave(3 ,mol% n),dipd(3 ,n3), &
132
132
& 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))
134
134
135
135
if (set% elprop == p_elprop_alpha) then
136
136
allocate (dalphadr(6 ,n3), source = 0.0_wp )
@@ -413,14 +413,9 @@ subroutine numhess( &
413
413
else
414
414
write (env% unit,' (1x,a)' ) ' projected vibrational frequencies (cm⁻¹)'
415
415
endif
416
- k= 0
417
416
do i= 1 ,n3
418
417
! Eigenvalues in atomic units, convert to wavenumbers
419
418
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
424
419
enddo
425
420
426
421
! scale frequencies
0 commit comments