Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Update encounter_util.f90
Browse files Browse the repository at this point in the history
Fixed name of subroutine
  • Loading branch information
daminton authored Dec 17, 2022
1 parent b29b1bf commit 33282c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/encounter/encounter_util.f90
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ module subroutine encounter_util_snapshot(self, param, system, t, arg)

! Save the snapshot
param%encounter_history%nid = param%encounter_history%nid + ntp_snap + npl_snap
call encounter_util_save_encounter(param%encounter_history,snapshot)
call encounter_util_save_snapshot(param%encounter_history,snapshot)
case("closest")
associate(plplenc_list => system%plplenc_list, pltpenc_list => system%pltpenc_list)
if (any(plplenc_list%lclosest(:))) then
Expand Down Expand Up @@ -576,7 +576,7 @@ module subroutine encounter_util_snapshot(self, param, system, t, arg)
pl_snap%vh(:,2) = vb(:,2) + vcom(:)

call pl_snap%sort("id", ascending=.true.)
call encounter_util_save_encounter(param%encounter_history,snapshot)
call encounter_util_save_snapshot(param%encounter_history,snapshot)
end if
end do

Expand Down Expand Up @@ -605,4 +605,4 @@ end subroutine encounter_util_snapshot



end submodule s_encounter_util
end submodule s_encounter_util

0 comments on commit 33282c6

Please sign in to comment.