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

Commit

Permalink
Removed cruft
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Oct 25, 2021
1 parent 477e6bd commit a918968
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions src/fraggle/fraggle_set.f90
Original file line number Diff line number Diff line change
Expand Up @@ -198,39 +198,6 @@ module subroutine fraggle_set_coordinate_system(self, colliders)
end subroutine fraggle_set_coordinate_system


! module subroutine symba_set_collresolve_colliders(self, cb, pl, idx)
! !! author: David A. Minton
! !!
! !! Calculate the two-body equivalent values given a set of input collider indices
! use swiftest_classes, only : swiftest_nbody_system
! implicit none
! ! Arguments
! class(fraggle_colliders), intent(inout) :: self !! Fraggle collider object
! class(symba_cb), intent(in) :: cb !! Swiftest central body object system object
! class(symba_pl), intent(in) :: pl !! Swiftest central body object system object
! integer(I4B), dimension(:), intent(in) :: idx !! Index array of bodies from the pl object to use to calculate a "two-body equivalent" collisional pair
! ! Internals
! real(DP), dimension(NDIM, 2) :: mxc, vc
! real(DP), dimension(NDIM) :: vcom, xcom

! associate(colliders => self)

! ! Compute orbital angular momentum of pre-impact system
! xcom(:) = (colliders%mass(1) * colliders%xb(:, 1) + colliders%mass(2) * colliders%xb(:, 2)) / sum(colliders%mass(:))
! vcom(:) = (colliders%mass(1) * colliders%vb(:, 1) + colliders%mass(2) * colliders%vb(:, 2)) / sum(colliders%mass(:))
! mxc(:, 1) = colliders%mass(1) * (colliders%xb(:, 1) - xcom(:))
! mxc(:, 2) = colliders%mass(2) * (colliders%xb(:, 2) - xcom(:))
! vc(:, 1) = colliders%vb(:, 1) - vcom(:)
! vc(:, 2) = colliders%vb(:, 2) - vcom(:)

! colliders%L_orbit(:,:) = mxc(:,:) .cross. vc(:,:)

! end associate

! return
! end subroutine symbe_set_collresolve_colliders


module subroutine fraggle_set_natural_scale_factors(self, colliders)
!! author: David A. Minton
!!
Expand Down

0 comments on commit a918968

Please sign in to comment.