Skip to content

Commit e3720fb

Browse files
Merge branch 'dev/gfdl' into itides_leakage2d
2 parents 585b86b + 8e0b83c commit e3720fb

9 files changed

+356
-207
lines changed

src/core/MOM_PressureForce_FV.F90

+198-124
Large diffs are not rendered by default.

src/core/MOM_dynamics_split_RK2.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -1506,7 +1506,7 @@ subroutine initialize_dyn_split_RK2(u, v, h, tv, uh, vh, eta, Time, G, GV, US, p
15061506
call continuity_init(Time, G, GV, US, param_file, diag, CS%continuity_CSp)
15071507
cont_stencil = continuity_stencil(CS%continuity_CSp)
15081508
call CoriolisAdv_init(Time, G, GV, US, param_file, diag, CS%ADp, CS%CoriolisAdv)
1509-
if (CS%calculate_SAL) call SAL_init(G, US, param_file, CS%SAL_CSp)
1509+
if (CS%calculate_SAL) call SAL_init(G, GV, US, param_file, CS%SAL_CSp)
15101510
if (CS%use_tides) then
15111511
call tidal_forcing_init(Time, G, US, param_file, CS%tides_CSp, CS%HA_CSp)
15121512
HA_CSp => CS%HA_CSp

src/core/MOM_dynamics_split_RK2b.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ subroutine initialize_dyn_split_RK2b(u, v, h, tv, uh, vh, eta, Time, G, GV, US,
14191419
call continuity_init(Time, G, GV, US, param_file, diag, CS%continuity_CSp)
14201420
cont_stencil = continuity_stencil(CS%continuity_CSp)
14211421
call CoriolisAdv_init(Time, G, GV, US, param_file, diag, CS%ADp, CS%CoriolisAdv)
1422-
if (CS%calculate_SAL) call SAL_init(G, US, param_file, CS%SAL_CSp)
1422+
if (CS%calculate_SAL) call SAL_init(G, GV, US, param_file, CS%SAL_CSp)
14231423
if (CS%use_tides) then
14241424
call tidal_forcing_init(Time, G, US, param_file, CS%tides_CSp, CS%HA_CSp)
14251425
HA_CSp => CS%HA_CSp

src/core/MOM_dynamics_unsplit.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@ subroutine initialize_dyn_unsplit(u, v, h, Time, G, GV, US, param_file, diag, CS
707707
call continuity_init(Time, G, GV, US, param_file, diag, CS%continuity_CSp)
708708
cont_stencil = continuity_stencil(CS%continuity_CSp)
709709
call CoriolisAdv_init(Time, G, GV, US, param_file, diag, CS%ADp, CS%CoriolisAdv)
710-
if (CS%calculate_SAL) call SAL_init(G, US, param_file, CS%SAL_CSp)
710+
if (CS%calculate_SAL) call SAL_init(G, GV, US, param_file, CS%SAL_CSp)
711711
if (CS%use_tides) call tidal_forcing_init(Time, G, US, param_file, CS%tides_CSp)
712712
call PressureForce_init(Time, G, GV, US, param_file, diag, CS%PressureForce_CSp, &
713713
CS%SAL_CSp, CS%tides_CSp)

src/core/MOM_dynamics_unsplit_RK2.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -671,7 +671,7 @@ subroutine initialize_dyn_unsplit_RK2(u, v, h, Time, G, GV, US, param_file, diag
671671
call continuity_init(Time, G, GV, US, param_file, diag, CS%continuity_CSp)
672672
cont_stencil = continuity_stencil(CS%continuity_CSp)
673673
call CoriolisAdv_init(Time, G, GV, US, param_file, diag, CS%ADp, CS%CoriolisAdv)
674-
if (CS%calculate_SAL) call SAL_init(G, US, param_file, CS%SAL_CSp)
674+
if (CS%calculate_SAL) call SAL_init(G, GV, US, param_file, CS%SAL_CSp)
675675
if (CS%use_tides) call tidal_forcing_init(Time, G, US, param_file, CS%tides_CSp)
676676
call PressureForce_init(Time, G, GV, US, param_file, diag, CS%PressureForce_CSp, &
677677
CS%SAL_CSp, CS%tides_CSp)

src/core/MOM_open_boundary.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -5470,7 +5470,7 @@ subroutine update_segment_tracer_reservoirs(G, GV, uhr, vhr, h, OBC, dt, Reg)
54705470
endif
54715471
I_scale = 1.0 ; if (segment%tr_Reg%Tr(m)%scale /= 0.0) I_scale = 1.0 / segment%tr_Reg%Tr(m)%scale
54725472
if (allocated(segment%tr_Reg%Tr(m)%tres)) then ; do k=1,nz
5473-
! Calculate weights. Both a and u_L are nodim. Adding them together has no meaning.
5473+
! Calculate weights. Both a and u_L are nondim. Adding them together has no meaning.
54745474
! However, since they cannot be both non-zero, adding them works like a switch.
54755475
! When InvLscale_out is 0 and outflow, only interior data is applied to reservoirs
54765476
! When InvLscale_in is 0 and inflow, only nudged data is applied to reservoirs

src/parameterizations/lateral/MOM_self_attr_load.F90

+150-75
Large diffs are not rendered by default.

src/parameterizations/lateral/MOM_spherical_harmonics.F90

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
!> Laplace's spherical harmonic transforms (SHT)
22
module MOM_spherical_harmonics
3+
use MOM_coms_infra, only : sum_across_PEs
4+
use MOM_coms, only : reproducing_sum
35
use MOM_cpu_clock, only : cpu_clock_id, cpu_clock_begin, cpu_clock_end, &
46
CLOCK_MODULE, CLOCK_ROUTINE, CLOCK_LOOP
57
use MOM_error_handler, only : MOM_error, FATAL
68
use MOM_file_parser, only : get_param, log_version, param_file_type
79
use MOM_grid, only : ocean_grid_type
8-
use MOM_coms_infra, only : sum_across_PEs
9-
use MOM_coms, only : reproducing_sum
1010

1111
implicit none ; private
1212

src/parameterizations/vertical/MOM_diapyc_energy_req.F90

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ subroutine diapyc_energy_req_test(h_3d, dt, tv, G, GV, US, CS, Kd_int)
7373
Kd, & ! A column of diapycnal diffusivities at interfaces [H Z T-1 ~> m2 s-1 or kg m-1 s-1].
7474
h_top, h_bot ! Distances from the top or bottom [H ~> m or kg m-2].
7575
real :: dz_h_int ! The ratio of the vertical distances across the layers surrounding an interface
76-
! over the layer thicknesses [H Z-1 ~> nonodim or kg m-3]
76+
! over the layer thicknesses [H Z-1 ~> nondim or kg m-3]
7777
real :: ustar ! The local friction velocity [Z T-1 ~> m s-1]
7878
real :: absf ! The absolute value of the Coriolis parameter [T-1 ~> s-1]
7979
real :: htot ! The sum of the thicknesses [H ~> m or kg m-2].

0 commit comments

Comments
 (0)