Skip to content

Commit

Permalink
Fixed bug in crater_subpixel_diffusion where the kdiff array was not …
Browse files Browse the repository at this point in the history
…being calculated for the border cells properly
  • Loading branch information
daminton committed Feb 23, 2017
1 parent c72f600 commit 0853771
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crater/crater_subpixel_diffusion.f90
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ subroutine crater_subpixel_diffusion(user,surf,prod,nflux,domain,finterval,kdiff

end do

do j = 1,user%gridsize
do i = 1,user%gridsize
do j = 0,user%gridsize + 1
do i = 0,user%gridsize + 1
do n = 1,ntot
dburial = EXFAC * 0.5_DP * nflux(1,n)
if (surf(i,j)%ejcov > dburial) then
Expand Down

0 comments on commit 0853771

Please sign in to comment.