Skip to content

Commit

Permalink
Corrected sink read in moddump_sphNG2phantom_disc.f90
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonkyoung1 committed Feb 21, 2024
1 parent 4f90475 commit 1313236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/moddump_sphNG2phantom_disc.f90
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ subroutine modify_dump(npart,npartoftype,massoftype,xyzh,vxyzu)
nptmass = nptmass + npt
do i=1,npt
read (iunit,*) junk
read (iunit,'(10E15.6)') (xyzmh_ptmass(j,nptmass),j=1,10)
read (iunit,'(10E15.6)') (xyzmh_ptmass(j,i),j=1,10)
read (iunit,*) junk
read (iunit,'(3E15.6)') (vxyz_ptmass(j,nptmass),j=1,3)
read (iunit,'(3E15.6)') (vxyz_ptmass(j,i),j=1,3)
enddo
close(iunit)
endif
Expand Down

0 comments on commit 1313236

Please sign in to comment.