Skip to content

Commit

Permalink
Resolved conflicts with crater_populate
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Oct 3, 2016
1 parent a701119 commit 572b715
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/crater/crater_populate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
real(DP) :: finterval ! fraction of interval so far completed
character(len=MESSAGESIZE) :: message ! message for the progress bar
real(DP) :: ejbmass
logical :: makecrater
TARGET :: surf
logical :: makecrater

! ejecta blanket array
type(ejbtype),dimension(EJBTABSIZE) :: ejb ! Ejecta blanket lookup table
Expand Down Expand Up @@ -145,7 +145,7 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
if (crater%fcrat < domain%smallest_crater) makecrater = .false.

if (makecrater) then

! Find the visible crater parameters
call crater_find_visible(user,crater,domain)

Expand Down Expand Up @@ -194,7 +194,7 @@ 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
Expand Down Expand Up @@ -243,7 +243,6 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
end if
call io_ejecta_table(crater,domain,ejb,ejtble,"ejecta_table_min.dat")
end if

end if

! Do sub-pixel craters vertical mixing
Expand All @@ -253,7 +252,6 @@ subroutine crater_populate(user,surf,crater,domain,prod,production_list,vdist,nt
call regolith_subcrater_mix(user,surf,domain,nflux,finterval,p)
end if


! Do periodic subpixel processes on the whole grid
if (.not.user%testflag) then
if ((domain%subpixelcoverage / real(user%gridsize**2,kind=DP) > SUBPIXELCOVERAGE).or.(icrater == ntotcrat)) then
Expand Down

0 comments on commit 572b715

Please sign in to comment.