Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
made ejected melt calculations only write if testflag is on
  • Loading branch information
Austin Blevins committed Nov 10, 2022
1 parent c7528aa commit 79198d4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/ejecta/ejecta_emplace.f90
Original file line number Diff line number Diff line change
Expand Up @@ -282,9 +282,11 @@ subroutine ejecta_emplace(user,surf,crater,domain,ejb,ejtble,deltaMtot,age,age_r
end do
end do
!!$OMP END PARALLEL DO
write(*,*) 'Ejected Melt: ', vmelt
write(*,*) 'Total Melt: ', totmelt
write(*,*) 'ejected / total melt:', vmelt/totmelt
if(user%doregotrack .and. user%testflag) then
write(*,*) 'Ejected Melt: ', vmelt
write(*,*) 'Total Melt: ', totmelt
write(*,*) 'ejected / total melt:', vmelt/totmelt
end if
ejbmass = sum(cumulative_elchange)

! Create buffer to prevent infinite hole bug
Expand Down

0 comments on commit 79198d4

Please sign in to comment.