Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed a bug
  • Loading branch information
Austin Blevins committed Jan 24, 2023
1 parent 3f27404 commit 1b2d5dd
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/regolith/regolith_streamtube.f90
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,6 @@ subroutine regolith_streamtube(user,surf,crater,domain,ejb,ejtble,xp,yp,xpi,ypi,
real(SP),dimension(MAXAGEBINS) :: age_collector
integer(I2B) :: n_age

!test
real(DP) :: mf

! Executalbe code

! ****** Interpolate radial distance, erad, for a given pixel *******
Expand All @@ -133,7 +130,6 @@ subroutine regolith_streamtube(user,surf,crater,domain,ejb,ejtble,xp,yp,xpi,ypi,
k = max(min(1 + int((log(lrad) - log(inneredge)) / (log(outeredge) - log(inneredge)) * (EJBTABSIZE - 1.0_DP)),ejtble),1)
loglrad = log(lrad)
logtablerad = ejb(k)%lrad
mf = ejb(k)%meltfrac

!from stable-1.4
! inneredge = crater%rad
Expand Down Expand Up @@ -312,7 +308,6 @@ subroutine regolith_streamtube(user,surf,crater,domain,ejb,ejtble,xp,yp,xpi,ypi,
newlayer%comp = min(totmare/tots, 1.0_DP)
newlayer%age(:) = newlayer%age(:) + age_collector(:)
newlayer%age(:) = newlayer%age(:) * min( (ebh * user%pix**2) / tots, 1.0_DP)
newlayer%meltfrac = mf

end if

Expand Down

0 comments on commit 1b2d5dd

Please sign in to comment.