Skip to content

Commit

Permalink
reverted depth model back as it broke mixing for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
Austin Michael Blevins committed Feb 9, 2023
1 parent 3e37759 commit 9253b08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/regolith/regolith_depth_model.f90
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ subroutine regolith_depth_model(user,domain,finterval,nflux,p)
f = 0.5_DP * dr * ( fmin + fmax )
psum = psum + f
end do
psumfunc = -1.0_DP * PI * psum * t
if (psumfunc > exp(epsilon(psum))) then
psumfunc = exp(-1.0_DP * PI * psum * t)
if (psumfunc > epsilon(psum)) then
p(2,i) = 1.0_DP - exp(-1.0_DP * PI * psum * t)
else
p(2,i) = 1.0_DP
Expand Down

0 comments on commit 9253b08

Please sign in to comment.