Skip to content

Commit

Permalink
use accu_hess (#969)
Browse files Browse the repository at this point in the history
* use accu_hess

Signed-off-by: Albert Katbashev <akatbashev@gmail.com>

* reset calc%accuracy after hessian

Signed-off-by: Albert Katbashev <akatbashev@gmail.com>

---------

Signed-off-by: Albert Katbashev <akatbashev@gmail.com>
  • Loading branch information
Albkat committed Feb 25, 2024
1 parent d7a364b commit 19b99ed
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/hessian.F90
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ subroutine numhess( &
call axis(mol%n,mol%at,mol%xyz,aa,bb,cc)
if(cc.lt.1.d-10) res%linear=.true.
step2=0.5_wp/step
calc%accuracy=set%accu_hess ! set SCC accuracy for numerical Hessian !

h = 0.0_wp
htb = 0.0_wp
Expand Down Expand Up @@ -244,7 +245,8 @@ subroutine numhess( &
deallocate (calc_intensity, h_dummy)
end if
endif


calc%accuracy=set%acc ! reset SCC accuracy !

! Hessian done -----------------------------------------------------------
!! ========================================================================
Expand Down Expand Up @@ -540,7 +542,6 @@ subroutine numhess( &
enddo
end if


end subroutine numhess

subroutine numhess_rmsd( &
Expand Down

0 comments on commit 19b99ed

Please sign in to comment.