Skip to content

Commit

Permalink
Added new user input that allows you to truncate the ejecta blanket a…
Browse files Browse the repository at this point in the history
…t a specific radius
  • Loading branch information
daminton committed Feb 9, 2017
1 parent c110cd7 commit 87be35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ejecta/ejecta_distance_estimate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ subroutine ejecta_distance_estimate(user,crater,domain,ejdis_estimate)
! Extrapolate in logspace out to the minimum thickness
slope = log(lrad2 / lrad1) / log(thick2 / thick1)
ejdis_estimate = exp(slope * log(domain%small / thick1) + log(lrad1))
ejdis_estimate = min(ejdis_estimate, crater%fcrat * user%ejecta_truncation)
ejdis_estimate = min(ejdis_estimate, crater%frad * user%ejecta_truncation)

return
end subroutine ejecta_distance_estimate

0 comments on commit 87be35c

Please sign in to comment.