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

Commit

Permalink
Switched back to default on for flatten_interactions
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Sep 17, 2021
1 parent d22e607 commit 2268173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ module subroutine io_param_reader(self, unit, iotype, v_list, iostat, iomsg)
if (param_value == "YES" .or. param_value == 'T') param%ltides = .true.
case ("FLATTEN_INTERACTIONS")
call io_toupper(param_value)
if (param_value == "YES" .or. param_value == 'T') param%lflatten_interactions = .false.
if (param_value == "NO" .or. param_value == 'F') param%lflatten_interactions = .false.
case ("FIRSTKICK")
call io_toupper(param_value)
if (param_value == "NO" .or. param_value == 'F') param%lfirstkick = .false.
Expand Down
2 changes: 1 addition & 1 deletion src/modules/swiftest_classes.f90
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ module swiftest_classes
logical :: loblatecb = .false. !! Calculate acceleration from oblate central body (automatically turns true if nonzero J2 is input)
logical :: lrotation = .false. !! Include rotation states of big bodies
logical :: ltides = .false. !! Include tidal dissipation
logical :: lflatten_interactions = .false. !! Use the flattened upper triangular matrix for pl-pl interactions (turning this on improves the speed but uses more memory)
logical :: lflatten_interactions = .true. !! Use the flattened upper triangular matrix for pl-pl interactions (turning this on improves the speed but uses more memory)

! Initial values to pass to the energy report subroutine (usually only used in the case of a restart, otherwise these will be updated with initial conditions values)
real(DP) :: Eorbit_orig = 0.0_DP !! Initial orbital energy
Expand Down

0 comments on commit 2268173

Please sign in to comment.