Skip to content

Commit

Permalink
open nacme_all.dat only if couplings='analytic'
Browse files Browse the repository at this point in the history
  • Loading branch information
JanosJiri committed Dec 3, 2024
1 parent adad854 commit 1cf13d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/surfacehop.F90
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ subroutine sh_init(x, y, z, vx, vy, vz)
dum_fx = 0.0D0; dum_fy = 0.0D0; dum_fz = 0.0D0
call force_clas(dum_fx, dum_fy, dum_fz, x, y, z, dum_eclas, pot)

! open nacme_all.dat for all but baeck-an couplings
if (inac /= 1) call nacmefile_init()
! open nacme_all.dat if NACME is calculated
if (inac == 0) call nacmefile_init()

! When restarting, initial SH WF was already read from the restart file
if (irest == 0) then
Expand Down

0 comments on commit 1cf13d1

Please sign in to comment.