Skip to content

Commit 3428d5a

Browse files
committed
Debug
1 parent f87dd76 commit 3428d5a

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/core/MOM_CoriolisAdv.F90

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ subroutine CorAdCalc(u, v, h, uh, vh, CAu, CAv, OBC, AD, G, GV, US, CS, pbv, Wav
217217
real :: vol_neglect ! A volume so small that is expected to be
218218
! lost in roundoff [H L2 ~> m3 or kg].
219219
real :: area_neglect ! An area so small that is expected to be
220-
! lost in roundoff [H L2 ~> m3 or kg].
220+
! lost in roundoff [L2 ~> m2].
221221
real :: temp1, temp2 ! Temporary variables [L2 T-2 ~> m2 s-2].
222222
real :: eps_vel ! A tiny, positive velocity [L T-1 ~> m s-1].
223223

@@ -242,11 +242,10 @@ subroutine CorAdCalc(u, v, h, uh, vh, CAu, CAv, OBC, AD, G, GV, US, CS, pbv, Wav
242242
real :: QUHeff,QVHeff ! More temporary variables [H L2 T-2 ~> m3 s-2 or kg s-2].
243243
integer :: i, j, k, n, is, ie, js, je, Isq, Ieq, Jsq, Jeq, nz
244244
logical :: Stokes_VF
245-
real :: u_v, v_u, q_v, q_u ! u_v is the u velocity at v point, v_u is the v velocity at u point
246-
real :: h_v, h_u ! h_v is the thickness at v point, h_u is the thickness at u point
245+
real :: u_v, v_u ! u_v is the u velocity at v point, v_u is the v velocity at u point [L T-1 ~> m s-1]
246+
real :: q_v, q_u ! PV at the u and v points [H-1 T-1 ~> m-1 s-1 or m2 kg-1 s-1]
247+
real :: h_v, h_u ! h_v is the thickness at v point, h_u is the thickness at u point [H ~> m or kg m-2]
247248
integer :: seventh_order, fifth_order, third_order, second_order ! Order of accuracy for the WENO calculations
248-
real :: Ih_sum ! Sum of inverse thickness at PV points [H-1 ~> m-1]
249-
real :: Ih_third, Ih_fifth, Ih_seventh ! Sum of inverse thickness at at 3rd-, 5th-, and 7th-WENO scheme points
250249
real :: psi ! Ratio of PV gradient for the Koren limiter [nondim]
251250
real :: u_q8(8) ! Eight-point zonal velocity at WENO stencils [L T-1 ~> m s-1]
252251
real :: u_q6(6) ! Six-point zonal velocity at WENO stencils [L T-1 ~> m s-1]

src/user/Phillips_initialization.F90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ subroutine Phillips_initialize_velocity(u, v, G, GV, US, param_file, just_read)
174174
! higher values use mathematically equivalent expressions that are fully
175175
! rescalable.
176176
integer :: i, j, k, is, ie, js, je, nz, m
177-
! logical :: just_read ! If true, just read parameters but set nothing.
178177
logical :: reentrant_y ! If true, model is re-entrant in the y direction
179178
character(len=40) :: mdl = "Phillips_initialize_velocity" ! This subroutine's name.
180179
is = G%isc ; ie = G%iec ; js = G%jsc ; je = G%jec ; nz = GV%ke

0 commit comments

Comments
 (0)