Skip to content

Commit

Permalink
Added a documentation for regolith_melt_function.f90!
Browse files Browse the repository at this point in the history
  • Loading branch information
huang474 committed Aug 10, 2016
1 parent 80ff51f commit 868f4f9
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/regolith/regolith_melt_func.f90
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
!****f* regolith/regolith_melt_function
! Name
! regolith_melt_function -- Calculate an intersection volume between a shifted circle and a streamline
! SYNOPSIS
! This uses
! * module_globals
! * module_regolith
!
! result = regolith_melt_function(r,depthb,erad)
!
! DESCRIPTION
!
! This function takes an input of a streamline (its radial distance) and a shifted circle (the radius of a circle and
! its burial depth relative to the ground). It is to calculate the revolution volume of an overlapped area between the
! streamline and the shifted circle. The shifted circle represents either a vapor zone or a melt zone. It may be shifted
! up or down along the y-axis due to the burial depth of a vapor or melt zone.
!
! ARGUMENTS
! Input
! * r -- The radius of a shifted circle
! * depthb -- The burial depth of a shifted circle
! * erad -- The radial distance of a streamline from an impact site
!
! Output
! * vol -- Output the revolution volume of the overlapped area
!
! Notes
!
!***

!**********************************************************************************************************************************
!
! Unit Name : regolith_melt_func
Expand Down

0 comments on commit 868f4f9

Please sign in to comment.