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

Commit

Permalink
Added coordinate conversion while generating fragment position and ve…
Browse files Browse the repository at this point in the history
…locities.
  • Loading branch information
daminton committed Aug 30, 2021
1 parent 8f54fe3 commit 1312cb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/symba/symba_collision.f90
Original file line number Diff line number Diff line change
Expand Up @@ -910,6 +910,8 @@ subroutine symba_collision_mergeaddsub(system, param, family, id_frag, Ip_frag,
plnew%id(1:nfrag) = id_frag(1:nfrag)
plnew%xb(:, 1:nfrag) = xb_frag(:, 1:nfrag)
plnew%vb(:, 1:nfrag) = vb_frag(:, 1:nfrag)
call pl%vb2vh(cb)
call pl%xh2xb(cb)
do i = 1, nfrag
plnew%xh(:,i) = xb_frag(:, i) - cb%xb(:)
plnew%vh(:,i) = vb_frag(:, i) - cb%vb(:)
Expand Down

0 comments on commit 1312cb7

Please sign in to comment.