Skip to content

Commit

Permalink
Merge pull request #589 from Yrisch/fix_accretion_type
Browse files Browse the repository at this point in the history
(substepping) reverse 0e0cc6d patch on the particle type sent to ptmass_accrete
  • Loading branch information
danieljprice authored Sep 2, 2024
2 parents 40b0cf3 + c8e4216 commit 11b3a72
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/substepping.F90
Original file line number Diff line number Diff line change
Expand Up @@ -773,10 +773,7 @@ subroutine kick(dki,dt,npart,nptmass,ntypes,xyzh,vxyzu,xyzmh_ptmass,vxyz_ptmass,
fxi = fext(1,i)
fyi = fext(2,i)
fzi = fext(3,i)
if (ind_timesteps) then
ibin_wakei = ibin_wake(i)
itype = iphase(i)
endif
if (ind_timesteps) ibin_wakei = ibin_wake(i)

call ptmass_accrete(1,nptmass,xyzh(1,i),xyzh(2,i),xyzh(3,i),xyzh(4,i),&
vxyzu(1,i),vxyzu(2,i),vxyzu(3,i),fxi,fyi,fzi,&
Expand Down

0 comments on commit 11b3a72

Please sign in to comment.