@@ -293,7 +293,7 @@ subroutine adjustGridForIntegrity( CS, G, GV, h )
293293 type (ocean_grid_type), intent (in ) :: G ! < Ocean grid informations
294294 type (verticalGrid_type), intent (in ) :: GV ! < Ocean vertical grid structure
295295 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), intent (inout ) :: h ! < Current 3D grid thickness that
296- ! ! are to be adjusted [H ~> m or kg-2]
296+ ! ! are to be adjusted [H ~> m or kg m -2]
297297 call inflate_vanished_layers_old( CS% regridCS, G, GV, h(:,:,:) )
298298
299299end subroutine adjustGridForIntegrity
@@ -334,7 +334,7 @@ subroutine ALE_main( G, GV, US, h, u, v, tv, Reg, CS, OBC, dt, frac_shelf_h)
334334 ! Local variables
335335 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)+ 1 ) :: dzRegrid ! The change in grid interface positions
336336 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)+ 1 ) :: eta_preale
337- real , dimension (SZI_(G),SZJ_(G),SZK_(GV)) :: h_new ! New 3D grid obtained after last time step [H ~> m or kg-2]
337+ real , dimension (SZI_(G),SZJ_(G),SZK_(GV)) :: h_new ! New 3D grid obtained after last time step [H ~> m or kg m -2]
338338 integer :: nk, i, j, k, isc, iec, jsc, jec
339339 logical :: ice_shelf
340340
@@ -405,15 +405,15 @@ subroutine ALE_main_offline( G, GV, h, tv, Reg, CS, OBC, dt)
405405 type (ocean_grid_type), intent (in ) :: G ! < Ocean grid informations
406406 type (verticalGrid_type), intent (in ) :: GV ! < Ocean vertical grid structure
407407 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), intent (inout ) :: h ! < Current 3D grid obtained after the
408- ! ! last time step [H ~> m or kg-2]
408+ ! ! last time step [H ~> m or kg m -2]
409409 type (thermo_var_ptrs), intent (inout ) :: tv ! < Thermodynamic variable structure
410410 type (tracer_registry_type), pointer :: Reg ! < Tracer registry structure
411411 type (ALE_CS), pointer :: CS ! < Regridding parameters and options
412412 type (ocean_OBC_type), pointer :: OBC ! < Open boundary structure
413413 real , optional , intent (in ) :: dt ! < Time step between calls to ALE_main [T ~> s]
414414 ! Local variables
415415 real , dimension (SZI_(G), SZJ_(G), SZK_(GV)+ 1 ) :: dzRegrid ! The change in grid interface positions
416- real , dimension (SZI_(G),SZJ_(G),SZK_(GV)) :: h_new ! New 3D grid obtained after last time step [H ~> m or kg-2]
416+ real , dimension (SZI_(G),SZJ_(G),SZK_(GV)) :: h_new ! New 3D grid obtained after last time step [H ~> m or kg m -2]
417417 integer :: nk, i, j, k, isc, iec, jsc, jec
418418
419419 nk = GV% ke; isc = G% isc; iec = G% iec; jsc = G% jsc; jec = G% jec
@@ -540,10 +540,10 @@ subroutine ALE_offline_tracer_final( G, GV, h, tv, h_target, Reg, CS, OBC)
540540 type (ocean_grid_type), intent (in ) :: G ! < Ocean grid informations
541541 type (verticalGrid_type), intent (in ) :: GV ! < Ocean vertical grid structure
542542 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), intent (inout ) :: h ! < Current 3D grid obtained after the
543- ! ! last time step [H ~> m or kg-2]
543+ ! ! last time step [H ~> m or kg m -2]
544544 type (thermo_var_ptrs), intent (inout ) :: tv ! < Thermodynamic variable structure
545545 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), intent (inout ) :: h_target ! < Current 3D grid obtained after
546- ! ! last time step [H ~> m or kg-2]
546+ ! ! last time step [H ~> m or kg m -2]
547547 type (tracer_registry_type), pointer :: Reg ! < Tracer registry structure
548548 type (ALE_CS), pointer :: CS ! < Regridding parameters and options
549549 type (ocean_OBC_type), pointer :: OBC ! < Open boundary structure
@@ -615,7 +615,7 @@ subroutine ALE_build_grid( G, GV, regridCS, remapCS, h, tv, debug, frac_shelf_h
615615 type (remapping_CS), intent (in ) :: remapCS ! < Remapping parameters and options
616616 type (thermo_var_ptrs), intent (inout ) :: tv ! < Thermodynamical variable structure
617617 real , dimension (SZI_(G),SZJ_(G), SZK_(GV)), intent (inout ) :: h ! < Current 3D grid obtained after the
618- ! ! last time step [H ~> m or kg-2]
618+ ! ! last time step [H ~> m or kg m -2]
619619 logical , optional , intent (in ) :: debug ! < If true, show the call tree
620620 real , dimension (SZI_(G),SZJ_(G)), optional , intent (in ):: frac_shelf_h ! < Fractional ice shelf coverage [nondim]
621621 ! Local variables
@@ -654,7 +654,7 @@ subroutine ALE_regrid_accelerated(CS, G, GV, h, tv, n, u, v, OBC, Reg, dt, dzReg
654654 type (ocean_grid_type), intent (inout ) :: G ! < Ocean grid
655655 type (verticalGrid_type), intent (in ) :: GV ! < Vertical grid
656656 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), &
657- intent (inout ) :: h ! < Original thicknesses [H ~> m or kg-2]
657+ intent (inout ) :: h ! < Original thicknesses [H ~> m or kg m -2]
658658 type (thermo_var_ptrs), intent (inout ) :: tv ! < Thermo vars (T/S/EOS)
659659 integer , intent (in ) :: n ! < Number of times to regrid
660660 real , dimension (SZIB_(G),SZJ_(G),SZK_(GV)), &
@@ -741,14 +741,14 @@ subroutine remap_all_state_vars(CS_remapping, CS_ALE, G, GV, h_old, h_new, Reg,
741741 type (ocean_grid_type), intent (in ) :: G ! < Ocean grid structure
742742 type (verticalGrid_type), intent (in ) :: GV ! < Ocean vertical grid structure
743743 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), intent (in ) :: h_old ! < Thickness of source grid
744- ! ! [H ~> m or kg-2]
744+ ! ! [H ~> m or kg m -2]
745745 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)), intent (in ) :: h_new ! < Thickness of destination grid
746- ! ! [H ~> m or kg-2]
746+ ! ! [H ~> m or kg m -2]
747747 type (tracer_registry_type), pointer :: Reg ! < Tracer registry structure
748748 type (ocean_OBC_type), pointer :: OBC ! < Open boundary structure
749749 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)+ 1 ), &
750750 optional , intent (in ) :: dxInterface ! < Change in interface position
751- ! ! [H ~> m or kg-2]
751+ ! ! [H ~> m or kg m -2]
752752 real , dimension (SZIB_(G),SZJ_(G),SZK_(GV)), &
753753 optional , intent (inout ) :: u ! < Zonal velocity [L T-1 ~> m s-1]
754754 real , dimension (SZI_(G),SZJB_(G),SZK_(GV)), &
@@ -940,10 +940,10 @@ subroutine ALE_remap_scalar(CS, G, GV, nk_src, h_src, s_src, h_dst, s_dst, all_c
940940 type (verticalGrid_type), intent (in ) :: GV ! < Ocean vertical grid structure
941941 integer , intent (in ) :: nk_src ! < Number of levels on source grid
942942 real , dimension (SZI_(G),SZJ_(G),nk_src), intent (in ) :: h_src ! < Level thickness of source grid
943- ! ! [H ~> m or kg-2]
943+ ! ! [H ~> m or kg m -2]
944944 real , dimension (SZI_(G),SZJ_(G),nk_src), intent (in ) :: s_src ! < Scalar on source grid
945945 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)),intent (in ) :: h_dst ! < Level thickness of destination grid
946- ! ! [H ~> m or kg-2]
946+ ! ! [H ~> m or kg m -2]
947947 real , dimension (SZI_(G),SZJ_(G),SZK_(GV)),intent (inout ) :: s_dst ! < Scalar on destination grid
948948 logical , optional , intent (in ) :: all_cells ! < If false, only reconstruct for
949949 ! ! non-vanished cells. Use all vanished
0 commit comments