Skip to content

Commit

Permalink
Added 0 value buffer to edges of ejecta diffusion zone
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 5, 2016
1 parent 96034f7 commit 2a9afeb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/ejecta/ejecta_soften.f90
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ subroutine ejecta_soften(user,surf,N,indarray,cumulative_elchange)

! Diffusion constant for 1 time unit was found to be proportional to ejecta thickness times the pixel size
kdiff = EJECTA_SOFTEN_FACTOR * user%pix * ebharr
kdiff(1,:) = 0.0_DP
kdiff(:,1) = 0.0_DP
kdiff(N,:) = 0.0_DP
kdiff(:,N) = 0.0_DP

!TESTING
!kdiff = user%sf * user%pix**user%k * ebharr**user%p !**0.900

Expand Down

0 comments on commit 2a9afeb

Please sign in to comment.