Skip to content

Commit

Permalink
Fixed a bug in the ray L1 and L16 formulas
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Blevins committed Nov 13, 2023
1 parent 145881a commit e6ec31e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/ejecta/ejecta_emplace.f90
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ subroutine ejecta_emplace(user,surf,crater,domain,ejb,ejtble,deltaMtot,cumulativ
real(DP) :: frayreduction = 0.5_DP ! Factor to apply to reduce the relative thickness of the ray for each subsequent pattern
integer(I4B), parameter :: Npatt = 10 ! Number of times to call ray pattern



! Ray mixing model variables
real(DP) :: dsc
Expand All @@ -138,9 +139,9 @@ subroutine ejecta_emplace(user,surf,crater,domain,ejb,ejtble,deltaMtot,cumulativ
real(DP) :: l1


rray = 11.95*crater%frad**1.32
l1 = 5.32*crater%frad**1.27
write(*,*) "L16 = ", rray, "; L1 = ", l1
rray = (11.95*(crater%frad/1000)**1.32)/(crater%frad/1000)
l1 = (5.32*(crater%frad/1000)**1.27)/(crater%frad/1000)
write(*,*) 'L16 = ', rray, 'L1 = ', l1


! Executable code
Expand Down

0 comments on commit e6ec31e

Please sign in to comment.