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

Commit

Permalink
Cleaned up some unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed May 19, 2023
1 parent 4d52767 commit 22bad3d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/collision/collision_generate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ module subroutine collision_generate_bounce(self, nbody_system, param, t)
real(DP), intent(in) :: t !! The time of the collision
! Internals
integer(I4B) :: i,j,nimp
real(DP), dimension(NDIM) :: rcom, vcom, rnorm
logical, dimension(:), allocatable :: lmask

select type(nbody_system)
Expand Down
2 changes: 1 addition & 1 deletion src/misc/solver_module.f90
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ module solver
use lambda_function
use, intrinsic :: ieee_exceptions
private
public :: solve_linear_system, solve_rkf45, solve_roots
public :: solve_linear_system, solve_roots !, solve_rkf45

interface solve_linear_system
module procedure solve_linear_system_dp
Expand Down
4 changes: 0 additions & 4 deletions src/whm/whm_gr.f90
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ pure module subroutine whm_gr_kick_getacch_pl(self, param)
! Internals
integer(I4B) :: i
real(DP), dimension(NDIM) :: suma
real(DP), dimension(:, :), allocatable :: aj
real(DP) :: beta, rjmag4

if (self%nbody == 0) return

Expand Down Expand Up @@ -56,8 +54,6 @@ pure module subroutine whm_gr_kick_getacch_tp(self, param)
class(whm_tp), intent(inout) :: self !! WHM massive body particle data structure
class(swiftest_parameters), intent(in) :: param !! Current run configuration parameters
! Internals
integer(I4B) :: i
real(DP) :: rjmag4, beta

if (self%nbody == 0) return

Expand Down

0 comments on commit 22bad3d

Please sign in to comment.