Skip to content

Commit c325f9c

Browse files
committed
Removes G_EARTH from OBCs
- The parameter G_EARTH is unnecessarily read and logged by OBCs. This is normally innocuous except PR mom-ocean#1088 rearranges the call order between OBCs and vertGrid which puts G_EARTH in the wrong block in the doc files. - This removes G_EARTH from OBCs so it is not logged and the two outstanding PRs (mom-ocean#1088 and mom-ocean#1089) don't move G_EARTH to the wrong place. - This PR on its own does not change the doc files prior to mom-ocean#1088.
1 parent 3e9c645 commit c325f9c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/core/MOM_open_boundary.F90

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,6 @@ module MOM_open_boundary
240240
logical :: zero_biharmonic = .false. !< If True, zeros the Laplacian of flow on open boundaries for
241241
!! use in the biharmonic viscosity term.
242242
logical :: brushcutter_mode = .false. !< If True, read data on supergrid.
243-
real :: g_Earth !< The gravitational acceleration [m s-2].
244243
logical, pointer, dimension(:) :: &
245244
tracer_x_reservoirs_used => NULL() !< Dimensioned by the number of tracers, set globally,
246245
!! true for those with x reservoirs (needed for restarts).
@@ -347,9 +346,6 @@ subroutine open_boundary_config(G, US, param_file, OBC)
347346
call get_param(param_file, mdl, "OBC_NUMBER_OF_SEGMENTS", OBC%number_of_segments, &
348347
"The number of open boundary segments.", &
349348
default=0)
350-
call get_param(param_file, mdl, "G_EARTH", OBC%g_Earth, &
351-
"The gravitational acceleration of the Earth.", &
352-
units="m s-2", default = 9.80)
353349
call get_param(param_file, mdl, "OBC_USER_CONFIG", config1, &
354350
"A string that sets how the open boundary conditions are "//&
355351
" configured: \n", default="none", do_not_log=.true.)

0 commit comments

Comments
 (0)