Skip to content

Commit

Permalink
Added dOxyGen comments in MOM_checksum_packages
Browse files Browse the repository at this point in the history
  All arguments in MOM_checksum_packages are now described in dOxyGen comments.
  • Loading branch information
Hallberg-NOAA committed May 3, 2018
1 parent 213ce03 commit 073b223
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions src/core/MOM_checksum_packages.F90
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ subroutine MOM_state_chksum_5arg(mesg, u, v, h, uh, vh, G, GV, haloshift, symmet
real, dimension(SZI_(G),SZJB_(G),SZK_(G)), &
intent(in) :: vh !< Volume flux through meridional
!! faces = v*h*dx, in m3 s-1.
integer, optional, intent(in) :: haloshift
logical, optional, intent(in) :: symmetric
integer, optional, intent(in) :: haloshift !< The width of halos to check (default 0).
logical, optional, intent(in) :: symmetric !< If true, do checksums on the fully symmetric
!! computationoal domain.
! This subroutine writes out chksums for the model's basic state variables.
! Arguments: mesg - A message that appears on the chksum lines.
! (in) u - Zonal velocity, in m s-1.
Expand Down Expand Up @@ -87,8 +88,9 @@ subroutine MOM_state_chksum_3arg(mesg, u, v, h, G, GV, haloshift, symmetric)
intent(in) :: v !< Meridional velocity, in m s-1.
real, dimension(SZI_(G),SZJ_(G),SZK_(G)), &
intent(in) :: h !< Layer thicknesses, in H (usually m or kg m-2).
integer, optional, intent(in) :: haloshift
logical, optional, intent(in) :: symmetric
integer, optional, intent(in) :: haloshift !< The width of halos to check (default 0).
logical, optional, intent(in) :: symmetric !< If true, do checksums on the fully symmetric
!! computationoal domain.
! This subroutine writes out chksums for the model's basic state variables.
! Arguments: mesg - A message that appears on the chksum lines.
! (in) u - Zonal velocity, in m s-1.
Expand Down Expand Up @@ -118,7 +120,7 @@ subroutine MOM_thermo_chksum(mesg, tv, G, haloshift)
type(thermo_var_ptrs), intent(in) :: tv !< A structure pointing to various
!! thermodynamic variables.
type(ocean_grid_type), intent(in) :: G !< The ocean's grid structure.
integer, optional, intent(in) :: haloshift
integer, optional, intent(in) :: haloshift !< The width of halos to check (default 0).
! This subroutine writes out chksums for the model's thermodynamic state
! variables.
! Arguments: mesg - A message that appears on the chksum lines.
Expand All @@ -144,8 +146,9 @@ subroutine MOM_surface_chksum(mesg, sfc, G, haloshift, symmetric)
!! structure shared with the calling routine;
!! data in this structure is intent out.
type(ocean_grid_type), intent(in) :: G !< The ocean's grid structure.
integer, optional, intent(in) :: haloshift
logical, optional, intent(in) :: symmetric
integer, optional, intent(in) :: haloshift !< The width of halos to check (default 0).
logical, optional, intent(in) :: symmetric !< If true, do checksums on the fully symmetric
!! computationoal domain.
! This subroutine writes out chksums for the model's thermodynamic state
! variables.
! Arguments: mesg - A message that appears on the chksum lines.
Expand Down Expand Up @@ -204,7 +207,8 @@ subroutine MOM_accel_chksum(mesg, CAu, CAv, PFu, PFv, diffu, diffv, G, GV, pbce,
real, dimension(SZI_(G),SZJB_(G),SZK_(G)), &
optional, intent(in) :: v_accel_bt !< The meridional acceleration from terms in
!! the barotropic solver,in m s-2.
logical, optional, intent(in) :: symmetric
logical, optional, intent(in) :: symmetric !< If true, do checksums on the fully symmetric
!! computationoal domain.

! This subroutine writes out chksums for the model's accelerations.
! Arguments: mesg - A message that appears on the chksum lines.
Expand Down Expand Up @@ -262,11 +266,9 @@ subroutine MOM_state_stats(mesg, u, v, h, Temp, Salt, G, allowChange, permitDimi
intent(in) :: Temp !< Temperature in degree C.
real, pointer, dimension(:,:,:), &
intent(in) :: Salt !< Salinity, in ppt.

logical, optional, intent(in) :: allowChange !< do not flag an error
!! if the statistics change.
logical, optional, &
intent(in) :: permitDiminishing !< do not flag error
logical, optional, intent(in) :: allowChange !< do not flag an error
!! if the statistics change.
logical, optional, intent(in) :: permitDiminishing !< do not flag error
!!if the extrema are diminishing.
! This subroutine monitors statistics for the model's state variables.
! Arguments: mesg - A message that appears on the chksum lines.
Expand Down

0 comments on commit 073b223

Please sign in to comment.