MOM_boundary_update module reference

Controls where open boundary conditions are applied

Data Types

update_OBC_CS

The control structure for the MOM_boundary_update module

Functions/Subroutines

call_OBC_register

The following subroutines and associated definitions provide the machinery to register and call the subroutines that initialize open boundary conditions.

update_OBC_data

Calls appropriate routine to update the open boundary conditions.

OBC_register_end

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
Callees of mom_boundary_update::call_obc_register calls cluster_dome_initialization DOME_initialization cluster_dyed_channel_initialization dyed_channel_initialization cluster_kelvin_initialization Kelvin_initialization cluster_mom_boundary_update MOM_boundary_update cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary cluster_shelfwave_initialization shelfwave_initialization cluster_tidal_bay_initialization tidal_bay_initialization dome_initialization::register_dome_obc register_DOME_OBC dyed_channel_initialization::register_dyed_channel_obc register_dyed_channel_OBC kelvin_initialization::register_kelvin_obc register_Kelvin_OBC mom_boundary_update::call_obc_register call_OBC_register 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_error_handler::mom_error MOM_error mom_boundary_update::call_obc_register->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) mom_boundary_update::call_obc_register->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) mom_boundary_update::call_obc_register->mom_file_parser::interface::log_version mom_open_boundary::register_file_obc register_file_OBC mom_boundary_update::call_obc_register->mom_open_boundary::register_file_obc shelfwave_initialization::register_shelfwave_obc register_shelfwave_OBC mom_boundary_update::call_obc_register->shelfwave_initialization::register_shelfwave_obc tidal_bay_initialization::register_tidal_bay_obc register_tidal_bay_OBC mom_boundary_update::call_obc_register->tidal_bay_initialization::register_tidal_bay_obc
Text view
Callers call graph
Callers of mom_boundary_update::call_obc_register calls cluster_mom MOM cluster_mom_boundary_update MOM_boundary_update mom::initialize_mom initialize_MOM mom_boundary_update::call_obc_register call_OBC_register mom::initialize_mom->mom_boundary_update::call_obc_register
Text view
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
Callees of mom_boundary_update::update_obc_data calls cluster_dyed_channel_initialization dyed_channel_initialization cluster_kelvin_initialization Kelvin_initialization cluster_mom_boundary_update MOM_boundary_update cluster_mom_open_boundary MOM_open_boundary cluster_shelfwave_initialization shelfwave_initialization cluster_tidal_bay_initialization tidal_bay_initialization dyed_channel_initialization::dyed_channel_update_flow dyed_channel_update_flow kelvin_initialization::kelvin_set_obc_data Kelvin_set_OBC_data mom_boundary_update::update_obc_data update_OBC_data 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_open_boundary::chksum_obc_segments chksum_OBC_segments mom_boundary_update::update_obc_data->mom_open_boundary::chksum_obc_segments mom_open_boundary::read_obc_dynamics_data read_OBC_dynamics_data mom_boundary_update::update_obc_data->mom_open_boundary::read_obc_dynamics_data mom_open_boundary::read_obc_tracer_data read_OBC_tracer_data mom_boundary_update::update_obc_data->mom_open_boundary::read_obc_tracer_data mom_open_boundary::update_obc_dynamics_data update_OBC_dynamics_data mom_boundary_update::update_obc_data->mom_open_boundary::update_obc_dynamics_data mom_open_boundary::update_obc_tracer_data update_OBC_tracer_data mom_boundary_update::update_obc_data->mom_open_boundary::update_obc_tracer_data shelfwave_initialization::shelfwave_set_obc_data shelfwave_set_OBC_data mom_boundary_update::update_obc_data->shelfwave_initialization::shelfwave_set_obc_data tidal_bay_initialization::tidal_bay_set_obc_data tidal_bay_set_OBC_data mom_boundary_update::update_obc_data->tidal_bay_initialization::tidal_bay_set_obc_data
Text view
Callers call graph
Callers of mom_boundary_update::update_obc_data calls cluster_mom_boundary_update MOM_boundary_update cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_split_rk2b MOM_dynamics_split_RK2b cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 mom_boundary_update::update_obc_data update_OBC_data mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_boundary_update::update_obc_data mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b->mom_boundary_update::update_obc_data mom_dynamics_unsplit::step_mom_dyn_unsplit step_MOM_dyn_unsplit mom_dynamics_unsplit::step_mom_dyn_unsplit->mom_boundary_update::update_obc_data mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 step_MOM_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2->mom_boundary_update::update_obc_data
Text view
subroutine OBC_register_end(CS)

Clean up the OBC registry.

Parameters
  • CS

    Control structure for OBCs

Callees call graph
Callees of mom_boundary_update::obc_register_end calls cluster_kelvin_initialization Kelvin_initialization cluster_mom_boundary_update MOM_boundary_update cluster_mom_open_boundary MOM_open_boundary kelvin_initialization::kelvin_obc_end Kelvin_OBC_end mom_boundary_update::obc_register_end OBC_register_end mom_boundary_update::obc_register_end->kelvin_initialization::kelvin_obc_end mom_open_boundary::file_obc_end file_OBC_end mom_boundary_update::obc_register_end->mom_open_boundary::file_obc_end
Text view
Callers call graph
Callers of mom_boundary_update::obc_register_end calls cluster_mom MOM cluster_mom_boundary_update MOM_boundary_update mom::mom_end MOM_end mom_boundary_update::obc_register_end OBC_register_end mom::mom_end->mom_boundary_update::obc_register_end
Text view
API generated with Flint · Rendered from reStructuredText