Skip to content

Commit

Permalink
Doxygen comments for get_layout_extents arguments
Browse files Browse the repository at this point in the history
  Added doxygen comments describing two arguments to get_layout_extents.  All
answers are bitwise identical.
  • Loading branch information
Hallberg-NOAA committed Jan 11, 2021
1 parent 45d29a9 commit e1ca9a9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/framework/MOM_domains.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2115,8 +2115,10 @@ end subroutine get_global_shape
!! they are effectively intent out despite their declared intent of inout.
subroutine get_layout_extents(Domain, extent_i, extent_j)
type(MOM_domain_type), intent(in) :: domain !< MOM domain from which to extract information
integer, dimension(:), allocatable, intent(inout) :: extent_i
integer, dimension(:), allocatable, intent(inout) :: extent_j
integer, dimension(:), allocatable, intent(inout) :: extent_i !< The number of points in the
!! i-direction in each i-row of the layout
integer, dimension(:), allocatable, intent(inout) :: extent_j !< The number of points in the
!! j-direction in each j-row of the layout

if (allocated(extent_i)) deallocate(extent_i)
if (allocated(extent_j)) deallocate(extent_j)
Expand Down

0 comments on commit e1ca9a9

Please sign in to comment.