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

Commit

Permalink
Set planetocentric flag correctly on setup
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Jul 6, 2021
1 parent 10c3a00 commit f8d52a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/rmvs/rmvs_setup.f90
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ module subroutine rmvs_setup_system(self, param)
cb%lplanetocentric = .false.
associate(npl => pl%nbody)
allocate(pl%planetocentric(npl))
pl%planetocentric(:)%lplanetocentric = .true.
do i = 1, npl
allocate(pl%planetocentric(i)%cb, source=cb)
allocate(rmvs_pl :: pl%planetocentric(i)%pl)
Expand Down

0 comments on commit f8d52a1

Please sign in to comment.