Skip to content

Commit

Permalink
added new function to compute critical slope angles inside new craters
Browse files Browse the repository at this point in the history
  • Loading branch information
daminton committed Nov 29, 2016
1 parent 8e2eeef commit a7a651d
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/crater/crater_critical_slope.f90
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
! Project : CTEM
! Language : Fortran 2003
!
! Description : Forms the maximum slope for the initial crater morphology
!
!
! Input
! Arguments :
!
! Output
! Arguments :
!
!
! Notes :
!
!**********************************************************************************************************************************


function crater_critical_slope(user,crater,iradsq) result(critical)
use module_globals
use module_util
use module_crater, EXCEPT_THIS_ONE => crater_form_exterior_func
implicit none

! Arguments
type(usertype),intent(in) :: user
type(cratertype),intent(in) :: crater
integer(I4B),intent(in) :: iradsq
real(DP) :: critical

! Internal variables

critical = CRITSLP

end function crater_critical_slope

0 comments on commit a7a651d

Please sign in to comment.