BFB_surface_forcing module reference

Surface forcing for the boundary-forced-basin (BFB) configuration

Data Types

BFB_surface_forcing_CS

Control structure for BFB_surface_forcing

Functions/Subroutines

BFB_buoyancy_forcing

Bouyancy forcing for the boundary-forced-basin (BFB) configuration

BFB_surface_forcing_init

Initialization for forcing the boundary-forced-basin (BFB) configuration

Type Documentation

type, public :: BFB_surface_forcing_CS

Control structure for BFB_surface_forcing

Parameters
  • use_temperature

    If true, temperature and salinity are used as state variables.

  • restorebuoy

    If true, use restoring surface buoyancy forcing.

  • Rho0

    The density used in the Boussinesq approximation [R ~> kg m-3].

  • G_Earth

    The gravitational acceleration [L2 Z-1 T-2 ~> m s-2]

  • Flux_const

    The restoring rate at the surface [Z T-1 ~> m s-1].

  • rho_restore

    The density that is used to convert piston velocities into salt or heat fluxes with salinity or temperature restoring [R ~> kg m-3]

  • SST_s

    SST at the southern edge of the linear forcing ramp [C ~> degC]

  • SST_n

    SST at the northern edge of the linear forcing ramp [C ~> degC]

  • S_ref

    Reference salinity used throughout the domain [S ~> ppt]

  • lfrslat

    Southern latitude where the linear forcing ramp begins [degrees_N] or [km]

  • lfrnlat

    Northern latitude where the linear forcing ramp ends [degrees_N] or [km]

  • Rho_T0_S0

    The density at T=0, S=0 [R ~> kg m-3]

  • dRho_dT

    The partial derivative of density with temperature [R C-1 ~> kg m-3 degC-1]

  • dRho_dS

    The partial derivative of density with salinity [R S-1 ~> kg m-3 ppt-1] Note that temperature and salinity are being used as dummy variables here. All temperatures are converted into density.

  • diag

    A structure that is used to regulate the timing of diagnostic output.

Functions/Subroutine Documentation

subroutine BFB_buoyancy_forcing(sfc_state, fluxes, day, dt, G, US, CS)

Bouyancy forcing for the boundary-forced-basin (BFB) configuration

Parameters
  • sfc_state [inout]

    A structure containing fields that describe the surface state of the ocean.

  • fluxes [inout]

    A structure containing pointers to any possible forcing fields. Unused fields have NULL ptrs.

  • day [in]

    Time of the fluxes.

  • dt [in]

    The amount of time over which the fluxes apply [T ~> s]

  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • CS

    A pointer to the control structure returned by a previous call to BFB_surface_forcing_init.

Callees call graph
Callees of bfb_surface_forcing::bfb_buoyancy_forcing calls cluster_bfb_surface_forcing BFB_surface_forcing cluster_mom_error_handler MOM_error_handler cluster_mom_safe_alloc MOM_safe_alloc bfb_surface_forcing::bfb_buoyancy_forcing BFB_buoyancy_forcing mom_error_handler::mom_error MOM_error bfb_surface_forcing::bfb_buoyancy_forcing->mom_error_handler::mom_error mom_safe_alloc::interface::safe_alloc_ptr safe_alloc_ptr (interface) bfb_surface_forcing::bfb_buoyancy_forcing->mom_safe_alloc::interface::safe_alloc_ptr
Text view
Callers call graph
Callers of bfb_surface_forcing::bfb_buoyancy_forcing calls cluster_bfb_surface_forcing BFB_surface_forcing cluster_mom_surface_forcing MOM_surface_forcing bfb_surface_forcing::bfb_buoyancy_forcing BFB_buoyancy_forcing mom_surface_forcing::set_forcing set_forcing mom_surface_forcing::set_forcing->bfb_surface_forcing::bfb_buoyancy_forcing
Text view
subroutine BFB_surface_forcing_init(Time, G, US, param_file, diag, CS)

Initialization for forcing the boundary-forced-basin (BFB) configuration

Parameters
  • Time [in]

    The current model time.

  • G [in]

    The ocean's grid structure

  • US [in]

    A dimensional unit scaling type

  • param_file [in]

    A structure to parse for run-time parameters

  • diag [in]

    A structure that is used to regulate diagnostic output.

  • CS

    A pointer to the control structure for this module

Callees call graph
Callees of bfb_surface_forcing::bfb_surface_forcing_init calls cluster_bfb_surface_forcing BFB_surface_forcing cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser bfb_surface_forcing::bfb_surface_forcing_init BFB_surface_forcing_init mom_error_handler::mom_error MOM_error bfb_surface_forcing::bfb_surface_forcing_init->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) bfb_surface_forcing::bfb_surface_forcing_init->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) bfb_surface_forcing::bfb_surface_forcing_init->mom_file_parser::interface::log_version
Text view
Callers call graph
Callers of bfb_surface_forcing::bfb_surface_forcing_init calls cluster_bfb_surface_forcing BFB_surface_forcing cluster_mom_surface_forcing MOM_surface_forcing bfb_surface_forcing::bfb_surface_forcing_init BFB_surface_forcing_init mom_surface_forcing::surface_forcing_init surface_forcing_init mom_surface_forcing::surface_forcing_init->bfb_surface_forcing::bfb_surface_forcing_init
Text view
API generated with Flint · Rendered from reStructuredText