Skip to content

Commit

Permalink
Moved ocean_OBC_type from MOM_variables to MOM_open_boundary
Browse files Browse the repository at this point in the history
- The ocean_OBC_type and OBC enumerated parameters (e.g. OBC_FLATHER_E)
  have been moved to MOM_open_boundary.F90 from MOM_variable.F90 in an
  attempt to consolidate code before refactoring and changing the way
  we control OBCs.
- MOM_open_boundary.F90 seemed to only include Orkanski radiation code
  (used in baroclinic mode) and yet stored some of the radiation data
  in the ocean_OBS_type which is where all the Flather data and OBC
  masks is kept.
- No answer changes.
  • Loading branch information
adcroft committed Jun 13, 2016
1 parent 73c725d commit 0a42b83
Show file tree
Hide file tree
Showing 38 changed files with 122 additions and 108 deletions.
3 changes: 2 additions & 1 deletion src/core/MOM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module MOM

! This file is part of MOM6. See LICENSE.md for the license.

use MOM_variables, only : vertvisc_type, ocean_OBC_type
use MOM_variables, only : vertvisc_type
use MOM_open_boundary, only : ocean_OBC_type

! A Structure with pointers to forcing fields to drive MOM;
! all fluxes are positive downward.
Expand Down
6 changes: 3 additions & 3 deletions src/core/MOM_barotropic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@ module MOM_barotropic
use MOM_grid, only : ocean_grid_type
use MOM_hor_index, only : hor_index_type
use MOM_io, only : vardesc, var_desc
use MOM_open_boundary, only : ocean_OBC_type, OBC_SIMPLE, OBC_NONE
use MOM_open_boundary, only : OBC_FLATHER_E, OBC_FLATHER_W
use MOM_open_boundary, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_restart, only : register_restart_field, query_initialized, MOM_restart_CS
use MOM_tidal_forcing, only : tidal_forcing_sensitivity, tidal_forcing_CS
use MOM_time_manager, only : time_type, set_time, operator(+), operator(-)
use MOM_variables, only : BT_cont_type, alloc_bt_cont_type
use MOM_variables, only : ocean_OBC_type, OBC_SIMPLE, OBC_NONE
use MOM_variables, only : OBC_FLATHER_E, OBC_FLATHER_W
use MOM_variables, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
3 changes: 2 additions & 1 deletion src/core/MOM_continuity.F90
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ module MOM_continuity
use MOM_file_parser, only : get_param, log_version, param_file_type
use MOM_string_functions, only : uppercase
use MOM_grid, only : ocean_grid_type
use MOM_variables, only : ocean_OBC_type, BT_cont_type
use MOM_open_boundary, only : ocean_OBC_type
use MOM_variables, only : BT_cont_type
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
5 changes: 3 additions & 2 deletions src/core/MOM_continuity_PPM.F90
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ module MOM_continuity_PPM
use MOM_error_handler, only : MOM_error, FATAL, WARNING, is_root_pe
use MOM_file_parser, only : get_param, log_version, param_file_type
use MOM_grid, only : ocean_grid_type
use MOM_variables, only : ocean_OBC_type, BT_cont_type, OBC_SIMPLE
use MOM_variables, only : OBC_FLATHER_E, OBC_FLATHER_W, OBC_FLATHER_N, OBC_FLATHER_S
use MOM_open_boundary, only : ocean_OBC_type, OBC_SIMPLE
use MOM_open_boundary, only : OBC_FLATHER_E, OBC_FLATHER_W, OBC_FLATHER_N, OBC_FLATHER_S
use MOM_variables, only : BT_cont_type
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
3 changes: 2 additions & 1 deletion src/core/MOM_dynamics_legacy_split.F90
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ module MOM_dynamics_legacy_split
!********+*********+*********+*********+*********+*********+*********+**


use MOM_variables, only : vertvisc_type, ocean_OBC_type, thermo_var_ptrs
use MOM_open_boundary, only : ocean_OBC_type
use MOM_variables, only : vertvisc_type, thermo_var_ptrs
use MOM_variables, only : BT_cont_type, alloc_bt_cont_type, dealloc_bt_cont_type
use MOM_variables, only : accel_diag_ptrs, ocean_internal_state, cont_diag_ptrs
use MOM_forcing_type, only : forcing
Expand Down
3 changes: 2 additions & 1 deletion src/core/MOM_dynamics_split_RK2.F90
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module MOM_dynamics_split_RK2

! This file is part of MOM6. See LICENSE.md for the license.

use MOM_variables, only : vertvisc_type, ocean_OBC_type, thermo_var_ptrs
use MOM_variables, only : vertvisc_type, thermo_var_ptrs
use MOM_variables, only : BT_cont_type, alloc_bt_cont_type, dealloc_bt_cont_type
use MOM_variables, only : accel_diag_ptrs, ocean_internal_state, cont_diag_ptrs
use MOM_forcing_type, only : forcing
Expand Down Expand Up @@ -45,6 +45,7 @@ module MOM_dynamics_split_RK2
use MOM_interface_heights, only : find_eta
use MOM_lateral_mixing_coeffs, only : VarMix_CS
use MOM_MEKE_types, only : MEKE_type
use MOM_open_boundary, only : ocean_OBC_type
use MOM_open_boundary, only : Radiation_Open_Bdry_Conds, open_boundary_init
use MOM_open_boundary, only : open_boundary_CS
use MOM_PressureForce, only : PressureForce, PressureForce_init, PressureForce_CS
Expand Down
3 changes: 2 additions & 1 deletion src/core/MOM_dynamics_unsplit.F90
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ module MOM_dynamics_unsplit
!********+*********+*********+*********+*********+*********+*********+**


use MOM_variables, only : vertvisc_type, ocean_OBC_type, thermo_var_ptrs
use MOM_variables, only : vertvisc_type, thermo_var_ptrs
use MOM_variables, only : accel_diag_ptrs, ocean_internal_state, cont_diag_ptrs
use MOM_forcing_type, only : forcing
use MOM_checksum_packages, only : MOM_thermo_chksum, MOM_state_chksum, MOM_accel_chksum
Expand Down Expand Up @@ -102,6 +102,7 @@ module MOM_dynamics_unsplit
use MOM_interface_heights, only : find_eta
use MOM_lateral_mixing_coeffs, only : VarMix_CS
use MOM_MEKE_types, only : MEKE_type
use MOM_open_boundary, only : ocean_OBC_type
use MOM_open_boundary, only : Radiation_Open_Bdry_Conds, open_boundary_init
use MOM_open_boundary, only : open_boundary_CS
use MOM_PressureForce, only : PressureForce, PressureForce_init, PressureForce_CS
Expand Down
3 changes: 2 additions & 1 deletion src/core/MOM_dynamics_unsplit_RK2.F90
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ module MOM_dynamics_unsplit_RK2
!* *
!********+*********+*********+*********+*********+*********+*********+**

use MOM_variables, only : vertvisc_type, ocean_OBC_type, thermo_var_ptrs
use MOM_variables, only : vertvisc_type, thermo_var_ptrs
use MOM_variables, only : ocean_internal_state, accel_diag_ptrs, cont_diag_ptrs
use MOM_forcing_type, only : forcing
use MOM_checksum_packages, only : MOM_thermo_chksum, MOM_state_chksum, MOM_accel_chksum
Expand Down Expand Up @@ -100,6 +100,7 @@ module MOM_dynamics_unsplit_RK2
use MOM_hor_visc, only : horizontal_viscosity, hor_visc_init, hor_visc_CS
use MOM_lateral_mixing_coeffs, only : VarMix_CS
use MOM_MEKE_types, only : MEKE_type
use MOM_open_boundary, only : ocean_OBC_type
use MOM_open_boundary, only : Radiation_Open_Bdry_Conds, open_boundary_init
use MOM_open_boundary, only : open_boundary_CS
use MOM_PressureForce, only : PressureForce, PressureForce_init, PressureForce_CS
Expand Down
6 changes: 3 additions & 3 deletions src/core/MOM_legacy_barotropic.F90
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,13 @@ module MOM_legacy_barotropic
use MOM_grid, only : ocean_grid_type
use MOM_hor_index, only : hor_index_type
use MOM_io, only : vardesc, var_desc
use MOM_open_boundary, only : ocean_OBC_type, OBC_SIMPLE, OBC_NONE
use MOM_open_boundary, only : OBC_FLATHER_E, OBC_FLATHER_W
use MOM_open_boundary, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_restart, only : register_restart_field, query_initialized, MOM_restart_CS
use MOM_tidal_forcing, only : tidal_forcing_sensitivity, tidal_forcing_CS
use MOM_time_manager, only : time_type, set_time, operator(+), operator(-)
use MOM_variables, only : BT_cont_type, alloc_bt_cont_type
use MOM_variables, only : ocean_OBC_type, OBC_SIMPLE, OBC_NONE
use MOM_variables, only : OBC_FLATHER_E, OBC_FLATHER_W
use MOM_variables, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
54 changes: 52 additions & 2 deletions src/core/MOM_open_boundary.F90
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ module MOM_open_boundary
use MOM_error_handler, only : MOM_mesg, MOM_error, FATAL, WARNING
use MOM_file_parser, only : get_param, log_version, param_file_type
use MOM_grid, only : ocean_grid_type
use MOM_variables, only : ocean_OBC_type, OBC_NONE, OBC_SIMPLE
use MOM_variables, only : OBC_FLATHER_E, OBC_FLATHER_W, OBC_FLATHER_N, OBC_FLATHER_S

implicit none ; private

Expand All @@ -69,6 +67,58 @@ module MOM_open_boundary
! default value is 10 m s-1.
end type open_boundary_CS

integer, parameter, public :: OBC_NONE = 0, OBC_SIMPLE = 1, OBC_WALL = 2
integer, parameter, public :: OBC_FLATHER_E = 4, OBC_FLATHER_W = 5
integer, parameter, public :: OBC_FLATHER_N = 6, OBC_FLATHER_S = 7

type, public :: ocean_OBC_type
! This structure is used to apply specified open boundary conditions.
logical :: apply_OBC_u_flather_east = .false. ! If true, some zonal velocity
logical :: apply_OBC_u_flather_west = .false. ! points in the local domain use flather open
! boundary conditions.
logical :: apply_OBC_v_flather_north = .false. ! If true, some meridional velocity
logical :: apply_OBC_v_flather_south = .false. ! points in the local domain use flather open
! boundary conditions.
logical :: apply_OBC_u = .false. ! If true, some zonal or meridional velocity
logical :: apply_OBC_v = .false. ! points in the local domain use open
! boundary conditions.
logical, pointer, dimension(:,:) :: &
OBC_mask_u => NULL(), & ! These arrays are true at zonal or meridional
OBC_mask_v => NULL() ! velocity points that have prescribed open boundary
! conditions.
integer, pointer, dimension(:,:) :: &
OBC_kind_u => NULL(), & ! These arrays indicate the kind of open boundary
OBC_kind_v => NULL() ! conditions that are to be applied at the u and v
! points, and can be OBC_NONE, OBC_SIMPLE, OBC_WALL,
! or one of OBC_FLATHER_[EWNS]. Generally these
! should be consistent with OBC_mask_[uv], with
! OBC_mask_[uv] .false. for OBC_kind_[uv] = NONE
! and true for all other values.
! The following apply at points with OBC_kind_[uv] = OBC_FLATHER_x.
real, pointer, dimension(:,:,:) :: &
rx_old_u => NULL(), & ! The rx_old_u value for radiation coeff for u-velocity in x-direction
ry_old_v => NULL(), & ! The ry_old_v value for radiation coeff for v-velocity in y-direction
rx_old_h => NULL(), & ! The rx_old_h value for radiation coeff for layer thickness h in x-direction
ry_old_h => NULL() ! The ry_old_h value for radiation coeff for layer thickness h in y-direction

! The following can be used to specify the outer-domain values of the
! surface height and barotropic velocity. If these are not allocated, the
! default with Flather boundary conditions is the same as if they were
! filled with zeros. With simple OBCs, these should not be allocated.
real, pointer, dimension(:,:) :: &
ubt_outer => NULL(), & ! The u-velocity in the outer domain, in m s-1.
vbt_outer => NULL(), & ! The v-velocity in the outer domain, in m s-1.
eta_outer_u => NULL(), & ! The sea surface height anomaly or water column
eta_outer_v => NULL() ! mass anomaly in the outer domain in m or kg m-2.

! The following apply at points with OBC_kind_[uv] = OBC_SIMPLE.
real, pointer, dimension(:,:,:) :: &
u => NULL(), & ! The prescribed values of the zonal (u) or meridional (v)
v => NULL(), & ! velocities at OBC points, in m s-1.
uh => NULL(), & ! The prescribed values of the zonal (uh) or meridional (vh)
vh => NULL() ! volume transports at OBC points, in m3 s-1.
end type ocean_OBC_type

integer :: id_clock_pass

contains
Expand Down
53 changes: 0 additions & 53 deletions src/core/MOM_variables.F90
Original file line number Diff line number Diff line change
Expand Up @@ -235,59 +235,6 @@ module MOM_variables
! at the interfaces between each layer, in m2 s-2.
end type vertvisc_type

integer, parameter, public :: OBC_NONE = 0, OBC_SIMPLE = 1, OBC_WALL = 2
integer, parameter, public :: OBC_FLATHER_E = 4, OBC_FLATHER_W = 5
integer, parameter, public :: OBC_FLATHER_N = 6, OBC_FLATHER_S = 7

type, public :: ocean_OBC_type
! This structure is used to apply specified open boundary conditions.
logical :: apply_OBC_u_flather_east = .false. ! If true, some zonal velocity
logical :: apply_OBC_u_flather_west = .false. ! points in the local domain use flather open
! boundary conditions.
logical :: apply_OBC_v_flather_north = .false. ! If true, some meridional velocity
logical :: apply_OBC_v_flather_south = .false. ! points in the local domain use flather open
! boundary conditions.
logical :: apply_OBC_u = .false. ! If true, some zonal or meridional velocity
logical :: apply_OBC_v = .false. ! points in the local domain use open
! boundary conditions.
logical, pointer, dimension(:,:) :: &
OBC_mask_u => NULL(), & ! These arrays are true at zonal or meridional
OBC_mask_v => NULL() ! velocity points that have prescribed open boundary
! conditions.
integer, pointer, dimension(:,:) :: &
OBC_kind_u => NULL(), & ! These arrays indicate the kind of open boundary
OBC_kind_v => NULL() ! conditions that are to be applied at the u and v
! points, and can be OBC_NONE, OBC_SIMPLE, OBC_WALL,
! or one of OBC_FLATHER_[EWNS]. Generally these
! should be consistent with OBC_mask_[uv], with
! OBC_mask_[uv] .false. for OBC_kind_[uv] = NONE
! and true for all other values.
! The following apply at points with OBC_kind_[uv] = OBC_FLATHER_x.
real, pointer, dimension(:,:,:) :: &
rx_old_u => NULL(), & ! The rx_old_u value for radiation coeff for u-velocity in x-direction
ry_old_v => NULL(), & ! The ry_old_v value for radiation coeff for v-velocity in y-direction
rx_old_h => NULL(), & ! The rx_old_h value for radiation coeff for layer thickness h in x-direction
ry_old_h => NULL() ! The ry_old_h value for radiation coeff for layer thickness h in y-direction

! The following can be used to specify the outer-domain values of the
! surface height and barotropic velocity. If these are not allocated, the
! default with Flather boundary conditions is the same as if they were
! filled with zeros. With simple OBCs, these should not be allocated.
real, pointer, dimension(:,:) :: &
ubt_outer => NULL(), & ! The u-velocity in the outer domain, in m s-1.
vbt_outer => NULL(), & ! The v-velocity in the outer domain, in m s-1.
eta_outer_u => NULL(), & ! The sea surface height anomaly or water column
eta_outer_v => NULL() ! mass anomaly in the outer domain in m or kg m-2.

! The following apply at points with OBC_kind_[uv] = OBC_SIMPLE.
real, pointer, dimension(:,:,:) :: &
u => NULL(), & ! The prescribed values of the zonal (u) or meridional (v)
v => NULL(), & ! velocities at OBC points, in m s-1.
uh => NULL(), & ! The prescribed values of the zonal (uh) or meridional (vh)
vh => NULL() ! volume transports at OBC points, in m3 s-1.
end type ocean_OBC_type


type, public :: BT_cont_type
real, pointer, dimension(:,:) :: &
FA_u_EE => NULL(), & ! The FA_u_XX variables are the effective open face
Expand Down
7 changes: 4 additions & 3 deletions src/initialization/MOM_state_initialization.F90
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ module MOM_state_initialization
use MOM_io, only : open_file, read_data, read_axis_data, SINGLE_FILE, MULTIPLE
use MOM_io, only : slasher, vardesc, write_field
use MOM_io, only : EAST_FACE, NORTH_FACE
use MOM_open_boundary, only : ocean_OBC_type
use MOM_open_boundary, only : OBC_NONE, OBC_SIMPLE, OBC_FLATHER_E, OBC_FLATHER_W
use MOM_open_boundary, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_grid_initialize, only : initialize_masks, set_grid_metrics
use MOM_restart, only : restore_state, MOM_restart_CS
use MOM_sponge, only : set_up_sponge_field, set_up_sponge_ML_density
Expand All @@ -30,9 +33,7 @@ module MOM_state_initialization
use MOM_string_functions, only : uppercase
use MOM_time_manager, only : time_type, set_time
use MOM_tracer_registry, only : add_tracer_OBC_values, tracer_registry_type
use MOM_variables, only : thermo_var_ptrs, ocean_OBC_type
use MOM_variables, only : OBC_NONE, OBC_SIMPLE, OBC_FLATHER_E, OBC_FLATHER_W
use MOM_variables, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_variables, only : thermo_var_ptrs
use MOM_verticalGrid, only : setVerticalGridAxes, verticalGrid_type
use MOM_ALE, only : pressure_gradient_plm
use MOM_EOS, only : calculate_density, calculate_density_derivs, EOS_type
Expand Down
4 changes: 2 additions & 2 deletions src/parameterizations/lateral/MOM_hor_visc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ module MOM_hor_visc
use MOM_grid, only : ocean_grid_type
use MOM_lateral_mixing_coeffs, only : VarMix_CS
use MOM_MEKE_types, only : MEKE_type
use MOM_variables, only : ocean_OBC_type, OBC_FLATHER_E, OBC_FLATHER_W
use MOM_variables, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_open_boundary, only : ocean_OBC_type, OBC_FLATHER_E, OBC_FLATHER_W
use MOM_open_boundary, only : OBC_FLATHER_N, OBC_FLATHER_S
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
2 changes: 1 addition & 1 deletion src/parameterizations/vertical/MOM_set_viscosity.F90
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module MOM_set_visc
use MOM_io, only : vardesc, var_desc
use MOM_restart, only : register_restart_field, MOM_restart_CS
use MOM_variables, only : thermo_var_ptrs
use MOM_variables, only : vertvisc_type, ocean_OBC_type
use MOM_variables, only : vertvisc_type
use MOM_verticalGrid, only : verticalGrid_type
use MOM_EOS, only : calculate_density, calculate_density_derivs

Expand Down
3 changes: 2 additions & 1 deletion src/parameterizations/vertical/MOM_vert_friction.F90
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,13 @@ module MOM_vert_friction
use MOM_forcing_type, only : forcing
use MOM_get_input, only : directories
use MOM_grid, only : ocean_grid_type
use MOM_open_boundary, only : ocean_OBC_type, OBC_SIMPLE
use MOM_PointAccel, only : write_u_accel, write_v_accel, PointAccel_init
use MOM_PointAccel, only : PointAccel_CS
use MOM_time_manager, only : time_type, time_type_to_real, operator(-)
use MOM_variables, only : thermo_var_ptrs, vertvisc_type
use MOM_variables, only : cont_diag_ptrs, accel_diag_ptrs
use MOM_variables, only : ocean_internal_state, ocean_OBC_type, OBC_SIMPLE
use MOM_variables, only : ocean_internal_state
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
3 changes: 2 additions & 1 deletion src/tracer/DOME_tracer.F90
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,14 @@ module DOME_tracer
use MOM_hor_index, only : hor_index_type
use MOM_grid, only : ocean_grid_type
use MOM_io, only : file_exists, read_data, slasher, vardesc, var_desc, query_vardesc
use MOM_open_boundary, only : ocean_OBC_type
use MOM_restart, only : register_restart_field, MOM_restart_CS
use MOM_sponge, only : set_up_sponge_field, sponge_CS
use MOM_time_manager, only : time_type, get_time
use MOM_tracer_registry, only : register_tracer, tracer_registry_type
use MOM_tracer_registry, only : add_tracer_diagnostics, add_tracer_OBC_values
use MOM_tracer_registry, only : tracer_vertdiff
use MOM_variables, only : surface, ocean_OBC_type
use MOM_variables, only : surface
use MOM_verticalGrid, only : verticalGrid_type

use coupler_util, only : set_coupler_values, ind_csurf
Expand Down
3 changes: 2 additions & 1 deletion src/tracer/MOM_OCMIP2_CFC.F90
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,15 @@ module MOM_OCMIP2_CFC
use MOM_hor_index, only : hor_index_type
use MOM_grid, only : ocean_grid_type
use MOM_io, only : file_exists, read_data, slasher, vardesc, var_desc, query_vardesc
use MOM_open_boundary, only : ocean_OBC_type
use MOM_restart, only : register_restart_field, query_initialized, MOM_restart_CS
use MOM_sponge, only : set_up_sponge_field, sponge_CS
use MOM_time_manager, only : time_type, get_time
use MOM_tracer_registry, only : register_tracer, tracer_registry_type
use MOM_tracer_registry, only : add_tracer_diagnostics, add_tracer_OBC_values
use MOM_tracer_registry, only : tracer_vertdiff
use MOM_tracer_Z_init, only : tracer_Z_init
use MOM_variables, only : surface, ocean_OBC_type
use MOM_variables, only : surface
use MOM_verticalGrid, only : verticalGrid_type

use coupler_util, only : extract_coupler_values, set_coupler_values
Expand Down
4 changes: 2 additions & 2 deletions src/tracer/MOM_tracer_advect.F90
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ module MOM_tracer_advect
use MOM_error_handler, only : MOM_error, FATAL, WARNING, MOM_mesg, is_root_pe
use MOM_file_parser, only : get_param, log_version, param_file_type
use MOM_grid, only : ocean_grid_type
use MOM_open_boundary, only : ocean_OBC_type, OBC_FLATHER_E
use MOM_open_boundary, only : OBC_FLATHER_W, OBC_FLATHER_N, OBC_FLATHER_S
use MOM_tracer_registry, only : tracer_registry_type, tracer_type, MOM_tracer_chksum
use MOM_variables, only : ocean_OBC_type, OBC_FLATHER_E
use MOM_variables, only : OBC_FLATHER_W, OBC_FLATHER_N, OBC_FLATHER_S
use MOM_verticalGrid, only : verticalGrid_type

implicit none ; private
Expand Down
3 changes: 2 additions & 1 deletion src/tracer/MOM_tracer_flow_control.F90
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,12 @@ module MOM_tracer_flow_control
use MOM_forcing_type, only : forcing, optics_type
use MOM_grid, only : ocean_grid_type
use MOM_hor_index, only : hor_index_type
use MOM_open_boundary, only : ocean_OBC_type
use MOM_restart, only : MOM_restart_CS
use MOM_sponge, only : sponge_CS
use MOM_ALE_sponge, only : ALE_sponge_CS
use MOM_tracer_registry, only : tracer_registry_type
use MOM_variables, only : surface, ocean_OBC_type, thermo_var_ptrs
use MOM_variables, only : surface, thermo_var_ptrs
use MOM_verticalGrid, only : verticalGrid_type

#include <MOM_memory.h>
Expand Down
Loading

0 comments on commit 0a42b83

Please sign in to comment.