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

Commit

Permalink
Browse files Browse the repository at this point in the history
Reduced fragment numbers back down to avoid blowing up the system with fragments
  • Loading branch information
daminton committed May 10, 2021
1 parent 3e6179c commit 7da0bf6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/symba/symba_casedisruption.f90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function symba_casedisruption (symba_plA, family, nmergeadd, mergeadd_list, x, v
logical :: lmerge

! Collisional fragments will be uniformly distributed around the pre-impact barycenter
nfrag = 22 ! This value is set for testing. This needs to be updated such that it is calculated or set by the user
nfrag = 11 ! This value is set for testing. This needs to be updated such that it is calculated or set by the user
allocate(m_frag(nfrag))
allocate(rad_frag(nfrag))
allocate(xb_frag(NDIM, nfrag))
Expand Down
2 changes: 1 addition & 1 deletion src/symba/symba_casehitandrun.f90
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function symba_casehitandrun(symba_plA, family, nmergeadd, mergeadd_list, id, x,
nfrag = 0
lpure = .true.
else ! Imperfect hit and run, so we'll keep the largest body and destroy the other
nfrag = 12
nfrag = 11
lpure = .false.
allocate(m_frag(nfrag))
allocate(id_frag(nfrag))
Expand Down
2 changes: 1 addition & 1 deletion src/symba/symba_casesupercatastrophic.f90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function symba_casesupercatastrophic (symba_plA, family, nmergeadd, mergeadd_lis
logical :: lmerge

! Collisional fragments will be uniformly distributed around the pre-impact barycenter
nfrag = 42 ! This value is set for testing. This needs to be updated such that it is calculated or set by the user
nfrag = 20 ! This value is set for testing. This needs to be updated such that it is calculated or set by the user
allocate(m_frag(nfrag))
allocate(rad_frag(nfrag))
allocate(xb_frag(NDIM, nfrag))
Expand Down

0 comments on commit 7da0bf6

Please sign in to comment.