Skip to content

Commit

Permalink
Updated ejecta soften with better data on degradation
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Dec 6, 2016
1 parent a623e45 commit b02e6af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ejecta/ejecta_soften.f90
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ subroutine ejecta_soften(user,surf,N,indarray,cumulative_elchange)
integer(I4B),dimension(2,N,N),intent(in) :: indarray
real(DP),dimension(N,N),intent(inout) :: cumulative_elchange
!real(DP),parameter :: SOFTEN_FACTOR = 2.50_DP ! Constant in topographic diffusion term for ejecta blanket softening
real(DP),parameter :: EJECTA_SOFTEN_FACTOR = 2.00_DP ! Constant in topographic diffusion term for ejecta blanket softening
real(DP),parameter :: EJECTA_SOFTEN_FACTOR = 1.50_DP ! Constant in topographic diffusion term for ejecta blanket softening

! Internal variables
integer(I4B) :: maxhits
Expand All @@ -46,7 +46,7 @@ subroutine ejecta_soften(user,surf,N,indarray,cumulative_elchange)
maxhits = 1

! 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 = EJECTA_SOFTEN_FACTOR * ebharr**2
! This prevents an infinite hole bug by making a 0 value buffer along the
! edges of the diffusion constant matrix
kdiff(1,:) = 0.0_DP
Expand Down

0 comments on commit b02e6af

Please sign in to comment.