Skip to content

Commit

Permalink
Re-ordered slope collapse in order to smooth out rim/ejecta transition
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 16, 2017
1 parent a550cb1 commit bf2709c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crater/crater_populate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,6 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
! Place crater onto the surface
call crater_emplace(user,surf,crater,domain,ejbmass)

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

call ejecta_distance_estimate(user,crater,domain,crater%ejdis) ! Fast but imprecise estimate of the total ejecta distance
! For very steep size distributions, only a fraction of the
Expand All @@ -203,6 +201,8 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
ejtble = 0
end if

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

! Record crater in an available layer as long as it is above the cutoff
call crater_record(user,surf,crater)
Expand Down

0 comments on commit bf2709c

Please sign in to comment.