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

Commit

Permalink
Minor cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 5, 2022
1 parent 06c7726 commit f707a46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions src/modules/swiftest_classes.f90
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,9 @@ module swiftest_classes

type :: swiftest_storage(nframes)
!! An class that establishes the pattern for various storage objects
integer(I4B), len :: nframes !! Total number of frames that can be stored
type(swiftest_storage_frame), dimension(nframes) :: frame !! Array of stored frames
integer(I4B) :: iframe = 0 !! The current frame number
integer(I4B), len :: nframes = 10 !! Total number of frames that can be stored
type(swiftest_storage_frame), dimension(nframes) :: frame !! Array of stored frames
integer(I4B) :: iframe = 0 !! The current frame number
contains
procedure :: dump => io_dump_storage
end type swiftest_storage
Expand Down
3 changes: 0 additions & 3 deletions src/symba/symba_step.f90
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,6 @@ module subroutine symba_step_reset_system(self, param)
nenc_old = system%plplenc_list%nenc
call system%plplenc_list%setup(0_I8B)
call system%plplcollision_list%setup(0_I8B)
if (allocated(system%encounter_history)) deallocate(system%encounter_history)
if (npl > 0) then
pl%lcollision(1:npl) = .false.
call pl%reset_kinship([(i, i=1, npl)])
Expand Down Expand Up @@ -313,8 +312,6 @@ module subroutine symba_step_reset_system(self, param)
tp%lfirst = param%lfirstkick
pl%lfirst = param%lfirstkick

if (allocated(system%encounter_history)) deallocate(system%encounter_history)
allocate(symba_encounter_storage(8) :: system%encounter_history)
end associate
end select
end select
Expand Down
1 change: 0 additions & 1 deletion src/symba/symba_util.f90
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,6 @@ module subroutine symba_util_resize_storage(self, nnew)
end subroutine symba_util_resize_storage



module subroutine symba_util_resize_tp(self, nnew)
!! author: David A. Minton
!!
Expand Down

0 comments on commit f707a46

Please sign in to comment.