Skip to content

Commit

Permalink
fix ejecta thickness issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Jun Du committed Feb 23, 2022
1 parent d67a569 commit e7c6208
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejecta/ejecta_emplace.f90
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ subroutine ejecta_emplace(user,surf,crater,domain,ejb,ejtble,deltaMtot,age,age_r
fmasscons = (-deltaMtot)/ ejbmass
cumulative_elchange = cumulative_elchange * fmasscons
crater%ejrim = crater%ejrim * fmasscons
ejb(:)%thick = ejb(:)%thick * fmasscons
ejb(:)%thick = ejb(:)%thick + log(fmasscons)
maxhits = 1
! Create box for soften calculation (will be no bigger than the grid itself)
if (2 * inc + 1 < user%gridsize) then
Expand Down

0 comments on commit e7c6208

Please sign in to comment.