Skip to content

Commit

Permalink
Fixed bug in ejecta_table_define that was causing the root finding al…
Browse files Browse the repository at this point in the history
…gorithm to fail to determine the ejection radious of the first element of the ejecta table
  • Loading branch information
daminton committed Jan 27, 2022
1 parent 66816b7 commit 338cd23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejecta/ejecta_table_define.f90
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ subroutine ejecta_table_define(user,crater,domain,ejb,ejtble,melt)
! We go out a factor of 3 to get the discontinuous ejecta thickness
domain%ejbres = (log(crater%ejdis) - log(crater%ejrad)) / EJBTABSIZE
lrad = crater%ejrad
erad = crater%ejrad / 2
erad = crater%rad
ejtble = EJBTABSIZE
firstrun = .true.
thick = 0._DP
Expand Down

0 comments on commit 338cd23

Please sign in to comment.