Skip to content

Commit

Permalink
only input xyzmh_ptmass_in of size 1:nstar
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha Sharma committed Dec 16, 2024
1 parent 74cf84e commit e0c95b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/setup/setup_grtde.f90
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ subroutine setpart(id,npart,npartoftype,xyzh,massoftype,vxyzu,polyk,gamma,hfact,
enddo
endif

call shift_stars(nstar,star,xyzmh_ptmass_in(1:3,:),vxyz_ptmass_in(1:3,:),&
call shift_stars(nstar,star,xyzmh_ptmass_in(1:3,1:nstar),vxyz_ptmass_in(1:3,1:nstar),&
xyzh,vxyzu,xyzmh_ptmass,vxyz_ptmass,npart,&
npartoftype,nptmass)

Expand Down

0 comments on commit e0c95b6

Please sign in to comment.