Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation #32

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions columnphysics/icepack_mushy_physics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ subroutine conductivity_snow_array(ks)
end subroutine conductivity_snow_array

!=======================================================================
!autodocument_start icepack_enthalpy_snow
! Enthalpy of snow from snow temperature

function icepack_enthalpy_snow(zTsn) result(zqsn)
Expand All @@ -151,6 +152,8 @@ function icepack_enthalpy_snow(zTsn) result(zqsn)
real(kind=dbl_kind) :: &
zqsn ! snow layer enthalpy (J m-3)

!autodocument_end

character(len=*),parameter :: subname='(icepack_enthalpy_snow)'

zqsn = -rhos * (-cp_ice * zTsn + Lfresh)
Expand Down Expand Up @@ -260,6 +263,7 @@ function liquidus_temperature_mush(Sbr) result(zTin)
end function liquidus_temperature_mush

!=======================================================================
!autodocument_start icepack_enthalpy_mush
! Enthalpy of mush from mush temperature and bulk salinity

function icepack_enthalpy_mush(zTin, zSin) result(zqin)
Expand All @@ -271,6 +275,8 @@ function icepack_enthalpy_mush(zTin, zSin) result(zqin)
real(kind=dbl_kind) :: &
zqin ! ice layer enthalpy (J m-3)

!autodocument_end

real(kind=dbl_kind) :: &
phi ! ice liquid fraction

Expand Down
2 changes: 1 addition & 1 deletion columnphysics/icepack_therm_shared.F90
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ function icepack_salinity_profile(zn) result(salinity)
real(kind=dbl_kind) :: &
salinity ! initial salinity profile

!autodocument end
!autodocument_end

real (kind=dbl_kind), parameter :: &
nsal = 0.407_dbl_kind, &
Expand Down
4 changes: 4 additions & 0 deletions columnphysics/icepack_warnings.F90
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,16 @@ subroutine icepack_warnings_clear()
end subroutine icepack_warnings_clear

!=======================================================================
!autodocument_start icepack_warnings_clear
! return an array of all the current warning messages

subroutine icepack_warnings_getall(warningsOut)

character(len=char_len_long), dimension(:), allocatable, intent(out) :: &
warningsOut

!autodocument_end

integer :: iWarning
character(len=*),parameter :: subname='(icepack_warnings_getall)'

Expand Down
Loading
Loading