MOM_boundary_update module reference
Controls where open boundary conditions are applied
Data Types
The control structure for the MOM_boundary_update module |
Functions/Subroutines
The following subroutines and associated definitions provide the machinery to register and call the subroutines that initialize open boundary conditions. |
|
Calls appropriate routine to update the open boundary conditions. |
|
Clean up the OBC registry. |
Detailed Description
This module updates the open boundary arrays when time-varying. It caused a circular dependency with the tidal_bay and other setups when in MOM_open_boundary.
A small fragment of the grid is shown below:
j+1 x ^ x ^ x At x: q, CoriolisBu j+1 > o > o > At ^: v, tauy j x ^ x ^ x At >: u, taux j > o > o > At o: h, bathyT, buoy, tr, T, S, Rml, ustar j-1 x ^ x ^ x i-1 i i+1 At x & ^: i i+1 At > & o:
The boundaries always run through q grid points (x).
Type Documentation
- type, public :: update_OBC_CS
The control structure for the MOM_boundary_update module
- Parameters
use_files
If true, use external files for the open boundary.
use_Kelvin
If true, use the Kelvin wave open boundary.
use_tidal_bay
If true, use the tidal_bay open boundary.
use_shelfwave
If true, use the shelfwave open boundary.
use_dyed_channel
If true, use the dyed channel open boundary.
debug_OBCs
If true, write verbose OBC values for debugging purposes.
value_update_bug
If true, recover a bug that OBC segment data does not update if all segments use 'value' and none uses 'file'.
file_OBC_CSp
Pointers to the control structures for named OBC specifications
Kelvin_OBC_CSp
Pointers to the control structures for named OBC specifications
tidal_bay_OBC
Pointers to the control structures for named OBC specifications
shelfwave_OBC_CSp
Pointers to the control structures for named OBC specifications
dyed_channel_OBC_CSp
Pointers to the control structures for named OBC specifications
Functions/Subroutine Documentation
- subroutine call_OBC_register(G, GV, US, param_file, CS, OBC, tr_Reg)
The following subroutines and associated definitions provide the machinery to register and call the subroutines that initialize open boundary conditions.
- Parameters
G [in]
Ocean grid structure
GV [in]
Ocean vertical grid structure
US [in]
A dimensional unit scaling type
param_file [in]
Parameter file to parse
CS
Control structure for OBCs
OBC
Open boundary structure
tr_Reg
Tracer registry.
Callees call graph
Text view
mom_boundary_update::call_obc_register → dome_initialization::register_dome_obc
mom_boundary_update::call_obc_register → dyed_channel_initialization::register_dyed_channel_obc
mom_boundary_update::call_obc_register → kelvin_initialization::register_kelvin_obc
mom_boundary_update::call_obc_register → mom_error_handler::mom_error
mom_boundary_update::call_obc_register → mom_file_parser::interface::get_param
mom_boundary_update::call_obc_register → mom_file_parser::interface::log_version
mom_boundary_update::call_obc_register → mom_open_boundary::register_file_obc
mom_boundary_update::call_obc_register → shelfwave_initialization::register_shelfwave_obc
mom_boundary_update::call_obc_register → tidal_bay_initialization::register_tidal_bay_obc
- subroutine update_OBC_data(OBC, G, GV, US, tv, h, CS, Time)
Calls appropriate routine to update the open boundary conditions.
- Parameters
G [in]
Ocean grid structure
GV [in]
Ocean vertical grid structure
US [in]
A dimensional unit scaling type
tv [in]
Thermodynamics structure
h [inout]
layer thicknesses [H ~> m or kg m-2]
OBC
Open boundary structure
CS
Control structure for OBCs
Time [in]
Model time
Callees call graph
Text view
mom_boundary_update::update_obc_data → dyed_channel_initialization::dyed_channel_update_flow
mom_boundary_update::update_obc_data → kelvin_initialization::kelvin_set_obc_data
mom_boundary_update::update_obc_data → mom_open_boundary::chksum_obc_segments
mom_boundary_update::update_obc_data → mom_open_boundary::read_obc_dynamics_data
mom_boundary_update::update_obc_data → mom_open_boundary::read_obc_tracer_data
mom_boundary_update::update_obc_data → mom_open_boundary::update_obc_dynamics_data
mom_boundary_update::update_obc_data → mom_open_boundary::update_obc_tracer_data
mom_boundary_update::update_obc_data → shelfwave_initialization::shelfwave_set_obc_data
mom_boundary_update::update_obc_data → tidal_bay_initialization::tidal_bay_set_obc_data
Callers call graph
Text view
mom_dynamics_split_rk2::step_mom_dyn_split_rk2 → mom_boundary_update::update_obc_data
mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b → mom_boundary_update::update_obc_data
mom_dynamics_unsplit::step_mom_dyn_unsplit → mom_boundary_update::update_obc_data
mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 → mom_boundary_update::update_obc_data
- subroutine OBC_register_end(CS)
Clean up the OBC registry.
- Parameters
CS
Control structure for OBCs