ISOMIP_tracer module reference

Routines used to set up and use a set of (one for now) dynamically passive tracers in the ISOMIP configuration.

For now, just one passive tracer is injected in the sponge layer.

Data Types

ISOMIP_tracer_CS

ntr is the number of tracers in this module.

Functions/Subroutines

register_ISOMIP_tracer

This subroutine is used to register tracer fields

initialize_ISOMIP_tracer

Initializes the NTR tracer fields in tr(:,:,:,:)

ISOMIP_tracer_column_physics

This subroutine applies diapycnal diffusion, including the surface boundary conditions and any other column tracer physics or chemistry to the tracers from this file.

ISOMIP_tracer_surface_state

This subroutine extracts the surface fields from this tracer package that are to be shared with the atmosphere in coupled configurations. This particular tracer package does not report anything back to the coupler.

ISOMIP_tracer_end

Deallocate any memory used by the ISOMIP tracer package

Type Documentation

type, public :: ISOMIP_tracer_CS

ntr is the number of tracers in this module.

ISOMIP tracer package control structure

Parameters
  • coupled_tracers

    These tracers are not offered to the coupler.

  • tracer_IC_file

    The full path to the IC file, or " " to initialize internally.

  • Time

    A pointer to the ocean model's clock.

  • tr_Reg

    A pointer to the MOM tracer registry

  • tr

    The array of tracers used in this package, in [conc] (g m-3)?

  • land_val

    The value of tr used where land is masked out [conc].

  • use_sponge

    If true, sponges may be applied somewhere in the domain.

  • ind_tr

    Indices returned by atmos_ocn_coupler_flux if it is used and the surface tracer concentrations are to be provided to the coupler.

  • diag

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

  • tr_desc

    Descriptions and metadata for the tracers in this package

Functions/Subroutine Documentation

function register_ISOMIP_tracer(HI, GV, param_file, CS, tr_Reg, restart_CS)

This subroutine is used to register tracer fields

Parameters
  • HI [in]

    A horizontal index type structure.

  • GV [in]

    The ocean's vertical grid structure.

  • param_file [in]

    A structure indicating the open file to parse for model parameter values.

  • CS

    A pointer that is set to point to the control structure for this module (in/out).

  • tr_Reg

    A pointer to the tracer registry.

  • restart_CS [inout]

    MOM restart control struct

Callees call graph
Callees of isomip_tracer::register_isomip_tracer calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_couplertype_infra MOM_couplertype_infra cluster_mom_error_handler MOM_error_handler cluster_mom_file_parser MOM_file_parser cluster_mom_io MOM_io cluster_mom_string_functions MOM_string_functions cluster_mom_tracer_registry MOM_tracer_registry isomip_tracer::register_isomip_tracer register_ISOMIP_tracer mom_couplertype_infra::atmos_ocn_coupler_flux atmos_ocn_coupler_flux isomip_tracer::register_isomip_tracer->mom_couplertype_infra::atmos_ocn_coupler_flux mom_error_handler::mom_error MOM_error isomip_tracer::register_isomip_tracer->mom_error_handler::mom_error mom_file_parser::interface::get_param get_param (interface) isomip_tracer::register_isomip_tracer->mom_file_parser::interface::get_param mom_file_parser::interface::log_param log_param (interface) isomip_tracer::register_isomip_tracer->mom_file_parser::interface::log_param mom_file_parser::interface::log_version log_version (interface) isomip_tracer::register_isomip_tracer->mom_file_parser::interface::log_version mom_io::var_desc var_desc isomip_tracer::register_isomip_tracer->mom_io::var_desc mom_string_functions::slasher slasher isomip_tracer::register_isomip_tracer->mom_string_functions::slasher mom_tracer_registry::register_tracer register_tracer isomip_tracer::register_isomip_tracer->mom_tracer_registry::register_tracer
Text view
Callers call graph
Callers of isomip_tracer::register_isomip_tracer calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_tracer_flow_control MOM_tracer_flow_control isomip_tracer::register_isomip_tracer register_ISOMIP_tracer mom_tracer_flow_control::call_tracer_register call_tracer_register mom_tracer_flow_control::call_tracer_register->isomip_tracer::register_isomip_tracer
Text view
subroutine initialize_ISOMIP_tracer(restart, day, G, GV, h, diag, OBC, CS, ALE_sponge_CSp)

Initializes the NTR tracer fields in tr(:,:,:,:)

Parameters
  • G [in]

    Grid structure.

  • GV [in]

    The ocean's vertical grid structure.

  • restart [in]

    .true. if the fields have already been read from a restart file.

  • day [in]

    Time of the start of the run.

  • h [in]

    Layer thickness [H ~> m or kg m-2].

  • diag [in]

    A structure that is used to regulate diagnostic output.

  • OBC

    This open boundary condition type specifies whether, where, and what open boundary conditions are used. This is not being used for now.

  • CS

    The control structure returned by a previous call to ISOMIP_register_tracer.

  • ALE_sponge_CSp

    A pointer to the control structure for the sponges, if they are in use. Otherwise this may be unassociated.

Callees call graph
Callees of isomip_tracer::initialize_isomip_tracer calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_error_handler MOM_error_handler cluster_mom_io MOM_io cluster_mom_io_infra MOM_io_infra isomip_tracer::initialize_isomip_tracer initialize_ISOMIP_tracer mom_error_handler::mom_error MOM_error isomip_tracer::initialize_isomip_tracer->mom_error_handler::mom_error mom_io::interface::mom_read_data MOM_read_data (interface) isomip_tracer::initialize_isomip_tracer->mom_io::interface::mom_read_data mom_io::query_vardesc query_vardesc isomip_tracer::initialize_isomip_tracer->mom_io::query_vardesc mom_io_infra::interface::file_exists file_exists (interface) isomip_tracer::initialize_isomip_tracer->mom_io_infra::interface::file_exists
Text view
Callers call graph
Callers of isomip_tracer::initialize_isomip_tracer calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_tracer_flow_control MOM_tracer_flow_control isomip_tracer::initialize_isomip_tracer initialize_ISOMIP_tracer mom_tracer_flow_control::tracer_flow_control_init tracer_flow_control_init mom_tracer_flow_control::tracer_flow_control_init->isomip_tracer::initialize_isomip_tracer
Text view
subroutine ISOMIP_tracer_column_physics(h_old, h_new, ea, eb, fluxes, dt, G, GV, US, CS, evap_CFL_limit, minimum_forcing_depth)

This subroutine applies diapycnal diffusion, including the surface boundary conditions and any other column tracer physics or chemistry to the tracers from this file.

Parameters
  • G [in]

    The ocean's grid structure

  • GV [in]

    The ocean's vertical grid structure

  • h_old [in]

    Layer thickness before entrainment [H ~> m or kg m-2].

  • h_new [in]

    Layer thickness after entrainment [H ~> m or kg m-2].

  • ea [in]

    an array to which the amount of fluid entrained from the layer above during this call will be added [H ~> m or kg m-2].

  • eb [in]

    an array to which the amount of fluid entrained from the layer below during this call will be added [H ~> m or kg m-2].

  • fluxes [in]

    A structure containing pointers to thermodynamic and tracer forcing fields. Unused fields have NULL ptrs.

  • dt [in]

    The amount of time covered by this call [T ~> s]

  • US [in]

    A dimensional unit scaling type

  • CS

    The control structure returned by a previous call to ISOMIP_register_tracer.

  • evap_CFL_limit [in]

    Limit on the fraction of the water that can be fluxed out of the top layer in a timestep [nondim]

  • minimum_forcing_depth [in]

    The smallest depth over which fluxes can be applied [H ~> m or kg m-2]

Callees call graph
Callees of isomip_tracer::isomip_tracer_column_physics calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_coms_infra MOM_coms_infra cluster_mom_tracer_diabatic MOM_tracer_diabatic isomip_tracer::isomip_tracer_column_physics ISOMIP_tracer_column_physics mom_coms_infra::interface::max_across_pes max_across_PEs (interface) isomip_tracer::isomip_tracer_column_physics->mom_coms_infra::interface::max_across_pes mom_tracer_diabatic::applytracerboundaryfluxesinout applyTracerBoundaryFluxesInOut isomip_tracer::isomip_tracer_column_physics->mom_tracer_diabatic::applytracerboundaryfluxesinout mom_tracer_diabatic::tracer_vertdiff tracer_vertdiff isomip_tracer::isomip_tracer_column_physics->mom_tracer_diabatic::tracer_vertdiff
Text view
Callers call graph
Callers of isomip_tracer::isomip_tracer_column_physics calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_tracer_flow_control MOM_tracer_flow_control isomip_tracer::isomip_tracer_column_physics ISOMIP_tracer_column_physics mom_tracer_flow_control::call_tracer_column_fns call_tracer_column_fns mom_tracer_flow_control::call_tracer_column_fns->isomip_tracer::isomip_tracer_column_physics
Text view
subroutine ISOMIP_tracer_surface_state(sfc_state, h, G, GV, CS)

This subroutine extracts the surface fields from this tracer package that are to be shared with the atmosphere in coupled configurations. This particular tracer package does not report anything back to the coupler.

Parameters
  • G [in]

    The ocean's grid structure.

  • GV [in]

    The ocean's vertical grid structure

  • sfc_state [inout]

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

  • h [in]

    Layer thickness [H ~> m or kg m-2].

  • CS

    The control structure returned by a previous call to ISOMIP_register_tracer.

Callees call graph
Callees of isomip_tracer::isomip_tracer_surface_state calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_coupler_types MOM_coupler_types isomip_tracer::isomip_tracer_surface_state ISOMIP_tracer_surface_state mom_coupler_types::set_coupler_type_data set_coupler_type_data isomip_tracer::isomip_tracer_surface_state->mom_coupler_types::set_coupler_type_data
Text view
Callers call graph
Callers of isomip_tracer::isomip_tracer_surface_state calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_tracer_flow_control MOM_tracer_flow_control isomip_tracer::isomip_tracer_surface_state ISOMIP_tracer_surface_state mom_tracer_flow_control::call_tracer_surface_state call_tracer_surface_state mom_tracer_flow_control::call_tracer_surface_state->isomip_tracer::isomip_tracer_surface_state
Text view
subroutine ISOMIP_tracer_end(CS)

Deallocate any memory used by the ISOMIP tracer package

Parameters
  • CS

    The control structure returned by a previous call to ISOMIP_register_tracer.

Callers call graph
Callers of isomip_tracer::isomip_tracer_end calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_tracer_flow_control MOM_tracer_flow_control isomip_tracer::isomip_tracer_end ISOMIP_tracer_end mom_tracer_flow_control::tracer_flow_control_end tracer_flow_control_end mom_tracer_flow_control::tracer_flow_control_end->isomip_tracer::isomip_tracer_end
Text view
API generated with Flint · Rendered from reStructuredText