Skip to content

Commit 4160cf5

Browse files
OlgaSergienkoHallberg-NOAA
authored andcommitted
Add missing doc comments to undocumented variables in ice_shelf
- MOM_ice_shelf_dynamics.F90: split loop_bounds_type members (ish, ieh, - MOM_ice_shelf.F90: add missing = -1 initializer to id_dhdt_shelf A disclosure: Copilot has been used to make these changes.
1 parent 7298e58 commit 4160cf5

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/ice_shelf/MOM_ice_shelf.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ module MOM_ice_shelf
211211
id_tfreeze = -1, id_tfl_shelf = -1, &
212212
id_thermal_driving = -1, id_haline_driving = -1, &
213213
id_u_ml = -1, id_v_ml = -1, id_sbdry = -1, &
214-
id_h_shelf = -1, id_dhdt_shelf, id_h_mask = -1, id_frazil = -1, &
214+
id_h_shelf = -1, id_dhdt_shelf = -1, id_h_mask = -1, id_frazil = -1, &
215215
id_surf_elev = -1, id_bathym = -1, &
216216
id_area_shelf_h = -1, &
217217
id_ustar_shelf = -1, id_shelf_mass = -1, id_mass_flux = -1, &

src/ice_shelf/MOM_ice_shelf_diag_mediator.F90

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ module MOM_IS_diag_mediator
133133
real, dimension(:,:), pointer :: mask2dBu => null() !< 2D mask array for cell-corner points [nondim]
134134
real, dimension(:,:), pointer :: mask2dCu => null() !< 2D mask array for east-face points [nondim]
135135
real, dimension(:,:), pointer :: mask2dCv => null() !< 2D mask array for north-face points [nondim]
136-
!> Computational domain mask arrays for 2D diagnostics [nondim]
137-
real, dimension(:,:), pointer :: mask2dT_comp => null()
136+
real, dimension(:,:), pointer :: mask2dT_comp => null() !< 2D cell-center mask on the computational domain [nondim]
138137

139138
! Space for diagnostics is dynamically allocated as it is needed.
140139
! The chunk size is how much the array should grow on each new allocation.

src/ice_shelf/MOM_ice_shelf_dynamics.F90

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -255,9 +255,10 @@ module MOM_ice_shelf_dynamics
255255

256256
!> A container for loop bounds
257257
type :: loop_bounds_type ; private
258-
!>@{ Loop bounds
259-
integer :: ish, ieh, jsh, jeh
260-
!>@}
258+
integer :: ish !< Starting i-index of the computational domain [nondim]
259+
integer :: ieh !< Ending i-index of the computational domain [nondim]
260+
integer :: jsh !< Starting j-index of the computational domain [nondim]
261+
integer :: jeh !< Ending j-index of the computational domain [nondim]
261262
end type loop_bounds_type
262263

263264
contains

0 commit comments

Comments
 (0)