Skip to content

Commit

Permalink
Added ability to alter ejecta thickness based on the relative slope o…
Browse files Browse the repository at this point in the history
…f the impact site to the downrange location.
  • Loading branch information
daminton committed Dec 2, 2016
1 parent b70ad33 commit 75752fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/crater/crater_populate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
if (user%doseismic) call seismic_shake(user,surf,crater,domain)

! Generate dynamic diffusion
if (user%dosoftening) call crater_soften(user,surf,crater,domain)
!if (user%dosoftening) call crater_soften(user,surf,crater,domain)

! find the average height and slope at crater location
call crater_averages(user,surf,crater)
Expand All @@ -194,12 +194,11 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
call ejecta_table_define(user,crater,domain,ejb,ejtble)
call ejecta_interpolate(crater,domain,crater%frad,ejb(1:ejtble),ejtble,crater%ejrim)
end if
!call ejecta_emplace(user,surf,crater,domain,ejb(1:ejtble),ejtble,ejbmass)
call ejecta_emplace(user,surf,crater,domain,ejb(1:ejtble),ejtble,ejbmass)
else
ejtble = 0
end if


! Place crater onto the surface
if (crater%fcrat > domain%smallest_crater) then
call crater_emplace(user,surf,crater,domain,ejbmass)
Expand All @@ -215,6 +214,7 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
end if



! Collapse any remaining unstable slopes
if (user%docollapse) call crater_slope_collapse(user,surf,crater,domain)

Expand Down

0 comments on commit 75752fc

Please sign in to comment.