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

Commit

Permalink
removed the unneeded system variable from the dump implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 2, 2022
1 parent f7b3b38 commit 9bb2bda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/io/io.f90
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ module subroutine io_dump_system(self, param)
end subroutine io_dump_system


module subroutine io_dump_storage(self, param, system)
module subroutine io_dump_storage(self, param)
!! author: David A. Minton
!!
!! Dumps the time history of the simulation to file. Each time it writes a frame to file, it deallocates the system
Expand All @@ -281,7 +281,6 @@ module subroutine io_dump_storage(self, param, system)
! Arguments
class(swiftest_storage(*)), intent(inout) :: self !! Swiftest simulation history storage object
class(swiftest_parameters), intent(inout) :: param !! Current run configuration parameters
class(swiftest_nbody_system), intent(in), optional :: system !! Swiftest nbody system object (Note, only here so that it can be used in the extended type for encounter_storage)
! Internals
integer(I4B) :: i
integer(I8B) :: iloop_start
Expand Down
3 changes: 1 addition & 2 deletions src/modules/swiftest_classes.f90
Original file line number Diff line number Diff line change
Expand Up @@ -632,11 +632,10 @@ module subroutine io_dump_system(self, param)
class(swiftest_parameters), intent(inout) :: param !! Current run configuration parameters
end subroutine io_dump_system

module subroutine io_dump_storage(self, param, system)
module subroutine io_dump_storage(self, param)
implicit none
class(swiftest_storage(*)), intent(inout) :: self !! Swiftest simulation history storage object
class(swiftest_parameters), intent(inout) :: param !! Current run configuration parameters
class(swiftest_nbody_system), intent(in), optional :: system !! Swiftest nbody system object
end subroutine io_dump_storage

module subroutine io_get_args(integrator, param_file_name, display_style)
Expand Down

0 comments on commit 9bb2bda

Please sign in to comment.