Skip to content

Commit

Permalink
Fixed unit problem in crater_soften_accumulate soften equation
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Feb 23, 2017
1 parent 69a102d commit cb23c74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/crater/crater_soften_accumulate.f90
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ subroutine crater_soften_accumulate(user,surf,crater,domain,kdiff)
!********


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

0 comments on commit cb23c74

Please sign in to comment.