Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Updated the complex crater d/D cutoff based on simple diffusion calculation calibrated for Kv
  • Loading branch information
daminton committed Jul 27, 2019
1 parent 0da07d9 commit 431fcaa
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/crater/crater_tally_observed.f90
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,14 @@ subroutine crater_tally_observed(user,surf,domain,nkilled,onum,obsdist,obslist,o
bowl = bowl / nbowl
outer = outer / nouter
tmp_depthdiam(craternum) = (rim - bowl) / crater%fcrat
if (crater%fcrat < 20e3_DP) then
dd = DDCUTOFF
else
dd = DDCUTOFF - (crater%fcrat - 20e3_DP) * 2e-7
end if

!if (crater%fcrat < 20e3_DP) then
! dd = DDCUTOFF
!else
! dd = DDCUTOFF - (crater%fcrat - 20e3_DP) * 2e-7
!end if
dd = min(DDCUTOFF, 24.897 * crater%fcrat ** (-0.632545))

if (((tmp_depthdiam(craternum) > dd).and.((outer - rim) / crater%fcrat < OCUTOFF)).and.&
(nrim /= 0).and.(nbowl /= 0).and.(nouter /= 0)) then
countable(craternum) = .true.
Expand Down

0 comments on commit 431fcaa

Please sign in to comment.