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

Commit

Permalink
Fixed bug where status flag was not set properly for test particles i…
Browse files Browse the repository at this point in the history
…n planetocentric systems
  • Loading branch information
daminton committed Aug 2, 2021
1 parent 1e7f96c commit 26ed1c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
{
"data": {
"text/plain": [
"[<matplotlib.lines.Line2D at 0x2af2269e12d0>,\n",
" <matplotlib.lines.Line2D at 0x2af2269eeb10>]"
"[<matplotlib.lines.Line2D at 0x2b47a0e74650>,\n",
" <matplotlib.lines.Line2D at 0x2b47a0e71250>]"
]
},
"execution_count": 6,
Expand Down
1 change: 1 addition & 0 deletions src/rmvs/rmvs_step.f90
Original file line number Diff line number Diff line change
Expand Up @@ -442,6 +442,7 @@ subroutine rmvs_make_planetocentric(param, cb, pl, tp)
tpenci%cb_heliocentric = cb
tpenci%ipleP = i
tpenci%lmask(:) = .true.
tpenci%status(:) = ACTIVE
! Grab all the encountering test particles and convert them to a planetocentric frame
tpenci%id(:) = pack(tp%id(:), encmask(:))
do j = 1, NDIM
Expand Down

0 comments on commit 26ed1c9

Please sign in to comment.