Skip to content

Commit

Permalink
Fix for couplings = 'none' in TERAPI-SH-S0
Browse files Browse the repository at this point in the history
  • Loading branch information
JanosJiri committed Nov 11, 2024
1 parent 98e235c commit 9e4d031
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/surfacehop.F90
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,7 @@ subroutine surfacehop(x, y, z, vx, vy, vz, vx_old, vy_old, vz_old, dt, eclas)
pop0 = get_elpop(ist)

! INTERPOLATION
if (inac == 0) then
if ((inac == 0) .or. (inac == 2)) then
fr = real(itp, DP) / real(substep, DP)
call interpolate(vx, vy, vz, vx_old, vy_old, vz_old, vx_newint, vy_newint, vz_newint, &
nacx_newint, nacy_newint, nacz_newint, en_array_newint, &

Check warning on line 725 in src/surfacehop.F90

View check run for this annotation

Codecov / codecov/patch

src/surfacehop.F90#L724-L725

Added lines #L724 - L725 were not covered by tests
Expand Down

0 comments on commit 9e4d031

Please sign in to comment.