Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(substepping) reverse 0e0cc6d patch on the particle type sent to ptmass_accrete #589

Merged
merged 1 commit into from
Sep 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading