Skip to content

Commit

Permalink
I had the exponent with the wrong sign in crater_soften_accumulate
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 23, 2017
1 parent a5cfac8 commit cbcbaed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/crater/crater_soften_accumulate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ subroutine crater_soften_accumulate(user,surf,crater,domain,kdiff)
real(DP) :: kappatmax,lrad,lradsq,xp,yp,fradsq,areafrac,xbar,ybar

kappatmax = user%soften_factor / (PI * user%soften_size**2) * crater%frad**(user%soften_slope - 2.0_DP)
kappatmax = kappatmax - 0.84_DP / (PI * (user%soften_size * crater%frad)**2)
kappatmax = kappatmax - 0.84_DP / (PI * user%soften_size**2) * crater%frad**2
inc = int(user%soften_size * crater%frad / user%pix) + 2
crater%maxinc = max(crater%maxinc,inc)
fradsq = crater%frad**2
Expand Down

0 comments on commit cbcbaed

Please sign in to comment.