Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fixed a small bug in subpixel routine
  • Loading branch information
Austin Blevins committed Feb 27, 2023
1 parent 335825e commit f849f2b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/regolith/regolith_subpixel_streamtube.f90
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,8 @@ subroutine regolith_subpixel_streamtube(user,surfi,deltar,ri,rip1,eradi,newlayer
vseg = regolith_streamtube_volume_func(eradi,xmints,eradi,deltar)
vsh = regolith_shock_damage(eradi,deltar,xmints,xsfints,0.0_DP,eradi)
recyratio = max(vseg-vsh,0.0 )/ (user%pix**2) / (surfi%regolayer(M)%thickness)
meltinejecta = surfi%regolayer(M)%meltfrac * (vseg-vsh) * recyratio
distvol(:) = distvol(:) + (surfi%regolayer(M)%meltdist(:)*(vseg-vsh)*recyratio)
meltinejecta = surfi%regolayer(M)%meltfrac * (vseg-vsh)! * recyratio
distvol(:) = distvol(:) + (surfi%regolayer(M)%meltdist(:)*(vseg-vsh))!*recyratio)
totvol = vseg - vsh
age_collector(:) = age_collector(:) + surfi%regolayer(M)%age(:) * recyratio
vol = vol + sum(age_collector(:))
Expand Down

0 comments on commit f849f2b

Please sign in to comment.