MOM module reference

The central module of the MOM6 ocean model

Data Types

MOM_diag_IDs

A structure with diagnostic IDs of the state variables

MOM_control_struct

Control structure for the MOM module, including the variables that describe the state of the ocean.

Functions/Subroutines

step_MOM

This subroutine orchestrates the time stepping of MOM. The adiabatic dynamics are stepped by calls to one of the step_MOM_dyn_...routines. The action of lateral processes on tracers occur in calls to advect_tracer and tracer_hordiff. Vertical mixing and possibly remapping occur inside of diabatic.

step_MOM_dynamics

Time step the ocean dynamics, including the momentum and continuity equations

step_MOM_tracer_dyn

step_MOM_tracer_dyn does tracer advection and lateral diffusion, bringing the tracers up to date with the changes in state due to the dynamics. Surface sources and sinks and remapping are handled via step_MOM_thermo.

step_MOM_thermo

MOM_step_thermo orchestrates the thermodynamic time stepping and vertical remapping, via calls to diabatic (or adiabatic).

ALE_regridding_and_remapping

ALE_regridding_and_remapping does regridding (the generation of a new grid) and remapping (from the old grid to the new grid). This is done after the themrodynamic step.

post_diabatic_halo_updates

post_diabatic_halo_updates does halo updates and calculates derived thermodynamic quantities (e.g. specific volume). This must be done after the diabatic step regardless of is ALE cooridinates are used or not.

step_offline

step_offline is the main driver for running tracers offline in MOM6. This has been primarily developed with ALE configurations in mind. Some work has been done in isopycnal configuration, but the work is very preliminary. Some more detail about this capability along with some of the subroutines called here can be found in tracers/MOM_offline_control.F90

initialize_MOM

Initialize MOM, including memory allocation, setting up parameters and diagnostics, initializing the ocean state variables, and initializing subsidiary modules

finish_MOM_initialization

Finishes initializing MOM and writes out the initial conditions.

register_diags

Register certain diagnostics

MOM_timing_init

Set up CPU clock IDs for timing various subroutines.

set_restart_fields

Set the fields that are needed for bitwise identical restarting the time stepping scheme. In addition to those specified here directly, there may be fields related to the forcing or to the barotropic solver that are needed; these are specified in sub- routines that are called from this one.

adjust_ssh_for_p_atm

Apply a correction to the sea surface height to compensate for the atmospheric pressure (the inverse barometer).

extract_surface_state

Set the surface (return) properties of the ocean model by setting the appropriate fields in sfc_state. Unused fields are set to NULL or are unallocated.

rotate_initial_state

Rotate initialization fields from input to rotated arrays.

MOM_state_is_synchronized

Return true if all phases of step_MOM are at the same point in time.

get_MOM_state_elements

This subroutine offers access to values or pointers to other types from within the MOM_control_struct, allowing the MOM_control_struct to be opaque.

get_ocean_stocks

Find the global integrals of various quantities.

save_MOM_restart

Save restart/pickup files required to initialize the MOM6 internal state.

MOM_end

End of ocean model, including memory deallocation

Detailed Description

Modular Ocean Model (MOM) Version 6.0 (MOM6)

Authors: Alistair Adcroft, Robert Hallberg, and Stephen Griffies

Additional contributions from:

  • Whit Anderson

  • Brian Arbic

  • Will Cooke

  • Anand Gnanadesikan

  • Matthew Harrison

  • Mehmet Ilicak

  • Laura Jackson

  • Jasmine John

  • John Krasting

  • Zhi Liang

  • Bonnie Samuels

  • Harper Simmons

  • Laurent White

  • Niki Zadeh

MOM ice-shelf code was developed by

  • Daniel Goldberg

  • Robert Hallberg

  • Chris Little

  • Olga Sergienko

Overview of MOM

This program (MOM) simulates the ocean by numerically solving the hydrostatic primitive equations in generalized Lagrangian vertical coordinates, typically tracking stretched pressure (p*) surfaces or following isopycnals in the ocean's interior, and general orthogonal horizontal coordinates. Unlike earlier versions of MOM, in MOM6 these equations are horizontally discretized on an Arakawa C-grid. (It remains to be seen whether a B-grid dynamic core will be revived in MOM6 at a later date; for now applications requiring a B-grid discretization should use MOM5.1.) MOM6 offers a range of options for the physical parameterizations, from those most appropriate to highly idealized models for geophysical fluid dynamics studies to a rich suite of processes appropriate for realistic ocean simulations. The thermodynamic options typically use conservative temperature and preformed salinity as conservative state variables and a full nonlinear equation of state, but there are also idealized adiabatic configurations of the model that use fixed density layers. Version 6.0 of MOM continues in the long tradition of a commitment to climate-quality ocean simulations embodied in previous versions of MOM, even as it draws extensively on the lessons learned in the development of the Generalized Ocean Layered Dynamics (GOLD) ocean model, which was also primarily developed at NOAA/GFDL. MOM has also benefited tremendously from the FMS infrastructure, which it utilizes and shares with other component models developed at NOAA/GFDL.

When run is isopycnal-coordinate mode, the uppermost few layers are often used to describe a bulk mixed layer, including the effects of penetrating shortwave radiation. Either a split- explicit time stepping scheme or a non-split scheme may be used for the dynamics, while the time stepping may be split (and use different numbers of steps to cover the same interval) for the forcing, the thermodynamics, and for the dynamics. Most of the numerics are second order accurate in space. MOM can run with an absurdly thin minimum layer thickness. A variety of non-isopycnal vertical coordinate options are under development, but all exploit the advantages of a Lagrangian vertical coordinate, as discussed in detail by Adcroft and Hallberg (Ocean Modelling, 2006).

Details of the numerics and physical parameterizations are provided in the appropriate source files. All of the available options are selected at run-time by parsing the input files, usually MOM_input and MOM_override, and the options choices are then documented for each run in MOM_param_docs.

MOM6 integrates the equations forward in time in three distinct phases. In one phase, the dynamic equations for the velocities and layer thicknesses are advanced, capturing the propagation of external and internal inertia-gravity waves, Rossby waves, and other strictly adiabatic processes, including lateral stresses, vertical viscosity and momentum forcing, and interface height diffusion (commonly called Gent-McWilliams diffusion in depth- coordinate models). In the second phase, all tracers are advected and diffused along the layers. The third phase applies diabatic processes, vertical mixing of water properties, and perhaps vertical remapping to cause the layers to track the desired vertical coordinate.

The present file (MOM.F90) orchestrates the main time stepping loops. One time integration option for the dynamics uses a split explicit time stepping scheme to rapidly step the barotropic pressure and velocity fields. The barotropic velocities are averaged over the baroclinic time step before they are used to advect thickness and determine the baroclinic accelerations. As described in Hallberg and Adcroft (2009), a barotropic correction is applied to the time-mean layer velocities to ensure that the sum of the layer transports agrees with the time-mean barotropic transport, thereby ensuring that the estimates of the free surface from the sum of the layer thicknesses agrees with the final free surface height as calculated by the barotropic solver. The barotropic and baroclinic velocities are kept consistent by recalculating the barotropic velocities from the baroclinic transports each time step. This scheme is described in Hallberg, 1997, J. Comp. Phys. 135, 54-65 and in Hallberg and Adcroft, 2009, Ocean Modelling, 29, 15-26.

The other time integration options use non-split time stepping schemes based on the 3-step third order Runge-Kutta scheme described in Matsuno, 1966, J. Met. Soc. Japan, 44, 85-88, or on a two-step quasi-2nd order Runge-Kutta scheme. These are much slower than the split time-stepping scheme, but they are useful for providing a more robust solution for debugging cases where the more complicated split time-stepping scheme may be giving suspect solutions.

There are a range of closure options available. Horizontal velocities are subject to a combination of horizontal biharmonic and Laplacian friction (based on a stress tensor formalism) and a vertical Fickian viscosity (perhaps using the kinematic viscosity of water). The horizontal viscosities may be constant, spatially varying or may be dynamically calculated using Smagorinsky's approach. A diapycnal diffusion of density and thermodynamic quantities is also allowed, but not required, as is horizontal diffusion of interface heights (akin to the Gent-McWilliams closure of geopotential coordinate models). The diapycnal mixing may use a fixed diffusivity or it may use the shear Richardson number dependent closure, like that described in Jackson et al. (JPO, 2008). When there is diapycnal diffusion, it applies to momentum as well. As this is in addition to the vertical viscosity, the vertical Prandtl always exceeds 1. A refined bulk-mixed layer is often used to describe the planetary boundary layer in realistic ocean simulations.

MOM has a number of noteworthy debugging capabilities. Excessively large velocities are truncated and MOM will stop itself after a number of such instances to keep the model from crashing altogether. This is useful in diagnosing failures, or (by accepting some truncations) it may be useful for getting the model past the adjustment from an ill-balanced initial condition. In addition, all of the accelerations in the columns with excessively large velocities may be directed to a text file. Parallelization errors may be diagnosed using the DEBUG option, which causes extensive checksums to be written out along with comments indicating where in the algorithm the sums originate and what variable is being summed. The point where these checksums differ between runs is usually a good indication of where in the code the problem lies. All of the test cases provided with MOM are routinely tested to ensure that they give bitwise identical results regardless of the domain decomposition, or whether they use static or dynamic memory allocation.

Structure of MOM

About 115 other files of source code and 4 header files comprise the MOM code, although there are several hundred more files that make up the FMS infrastructure upon which MOM is built. Each of the MOM files contains comments documenting what it does, and most of the file names are fairly self-evident. In addition, all subroutines and data types are referenced via a module use, only statement, and the module names are consistent with the file names, so it is not too hard to find the source file for a subroutine.

The typical MOM directory tree is as follows:

../MOM
|-- ac
|-- config_src
|   |-- drivers
|   !   |-- FMS_cap
|   !   |-- ice_solo_driver
|   !   |-- mct_cap
|   !   |-- nuopc_cap
|   !   |-- solo_driver
|   !   `-- unit_drivers
|   |-- external
|   !   |-- drifters
|   !   |-- GFDL_ocean_BGC
|   !   `-- ODA_hooks
|   |-- infra
|   !   |-- FMS1
|   !   `-- FMS2
|   `-- memory
|   !   |-- dynamic_nonsymmetric
|   !   `-- dynamic_symmetric
|-- docs
|-- pkg
|   |-- CVMix-src
|   |-- ...
|   `-- MOM6_DA_hooks
`-- src
    |-- ALE
    |-- core
    |-- diagnostics
    |-- equation_of_state
    |-- framework
    |-- ice_shelf
    |-- initialization
    |-- ocean_data_assim
    |-- parameterizations
    |   |-- CVMix
    |   |-- lateral
    |   `-- vertical
    |-- tracer
    `-- user

Rather than describing each file here, selected directory contents will be described to give a broad overview of the MOM code structure.

The directories under config_src contain files that are used for configuring the code, for instance for coupled or ocean-only runs. Only one or two of these directories are used in compiling any, particular run.

  • config_src/drivers/FMS-cap: The files here are used to couple MOM as a component in a larger run driven by the FMS coupler. This includes code that converts various forcing fields into the code structures and flux and unit conventions used by MOM, and converts the MOM surface fields back to the forms used by other FMS components.

  • config_src/drivers/nuopc-cap: The files here are used to couple MOM as a component in a larger run driven by the NUOPC coupler. This includes code that converts various forcing fields into the code structures and flux and unit conventions used by MOM, and converts the MOM surface fields back to the forms used by other NUOPC components.

  • config_src/drivers/solo_driver: The files here are include the _main driver that is used when MOM is configured as an ocean-only model, as well as the files that specify the surface forcing in this configuration.

  • config_src/external: The files here are mostly just stubs, so that MOM6 can compile with calls to the public interfaces external packages, but without actually requiring those packages themselves. In more elaborate configurations, would be linked to the actual code for those external packages rather than these simple stubs.

  • config_src/memory/dynamic-symmetric: The only file here is the version of MOM_memory.h that is used for dynamic memory configurations of MOM.

The directories under src contain most of the MOM files. These files are used in every configuration using MOM.

  • src/core: The files here constitute the MOM dynamic core. This directory also includes files with the types that describe the model's lateral grid and have defined types that are shared across various MOM modules to allow for more succinct and flexible subroutine argument lists.

  • src/diagnostics: The files here calculate various diagnostics that are ancilliary to the model itself. While most of these diagnostics do not directly affect the model's solution, there are some, like the calculation of the deformation radius, that are used in some of the process parameterizations.

  • src/equation_of_state: These files describe the physical properties of sea-water, including both the equation of state and when it freezes.

  • src/framework: These files provide infrastructure utilities for MOM. Many are simply wrappers for capabilities provided by FMS, although others provide capabilities (like the file_parser) that are unique to MOM. When MOM is adapted to use a modeling infrastructure distinct from FMS, most of the required changes are in this directory.

  • src/initialization: These are the files that are used to initialize the MOM grid or provide the initial physical state for MOM. These files are not intended to be modified, but provide a means for calling user-specific initialization code like the examples in src/user.

  • src/parameterizations/lateral: These files implement a number of quasi-lateral (along-layer) process parameterizations, including lateral viscosities, parameterizations of eddy effects, and the calculation of tidal forcing.

  • src/parameterizations/vertical: These files implement a number of vertical mixing or diabatic processes, including the effects of vertical viscosity and code to parameterize the planetary boundary layer. There is a separate driver that orchestrates this portion of the algorithm, and there is a diversity of parameterizations to be found here.

  • src/tracer: These files handle the lateral transport and diffusion of tracers, or are the code to implement various passive tracer packages. Additional tracer packages are readily accommodated.

  • src/user: These are either stub routines that a user could use to change the model's initial conditions or forcing, or are examples that implement specific test cases. These files can easily be hand edited to create new analytically specified configurations.

Most simulations can be set up by modifying only the files MOM_input, and possibly one or two of the files in src/user. In addition, the diag_table (MOM_diag_table) will commonly be modified to tailor the output to the needs of the question at hand. The FMS utility mkmf works with a file called path_names to build an appropriate makefile, and path_names should be edited to reflect the actual location of the desired source code.

The separate MOM-examples git repository provides a large number of working configurations of MOM, along with reference solutions for several different compilers on GFDL's latest large computer. The versions of MOM_memory.h in these directories need not be used if dynamic memory allocation is desired, and the answers should be unchanged.

There are 3 publicly visible subroutines in this file (MOM.F90).

  • step_MOM steps MOM over a specified interval of time.

  • MOM_initialize calls initialize and does other initialization that does not warrant user modification.

  • extract_surface_state determines the surface (bulk mixed layer if traditional isopycnal vertical coordinate) properties of the current model state and packages pointers to these fields into an exported structure.

The remaining subroutines in this file (src/core/MOM.F90) are:

  • find_total_transport determines the barotropic mass transport.

  • register_diags registers many diagnostic fields for the dynamic solver, or of the main model variables.

  • MOM_timing_init initializes various CPU time clocks.

  • write_static_fields writes out various time-invariant fields.

  • set_restart_fields is used to specify those fields that are written to and read from the restart file.

Diagnosing MOM heat budget

Here are some example heat budgets for the ALE version of MOM6.

Depth integrated heat budget

Depth integrated heat budget diagnostic for MOM.

  • OPOTTEMPTEND_2d = T_ADVECTION_XY_2d + OPOTTEMPPMDIFF_2d + HFDS + HFGEOU

  • T_ADVECTION_XY_2d = horizontal advection

  • OPOTTEMPPMDIFF_2d = neutral diffusion

  • HFDS = net surface boundary heat flux

  • HFGEOU = geothermal heat flux

  • HFDS = net surface boundary heat flux entering the ocean = rsntds + rlntds + hfls + hfss + heat_pme + hfsifrazil

  • More heat flux cross-checks

  • hfds = net_heat_coupler + hfsifrazil + heat_pme

  • heat_pme = heat_content_surfwater = heat_content_massin + heat_content_massout = heat_content_fprec + heat_content_cond + heat_content_vprec

  • hfrunoffds + hfevapds + hfrainds

Depth integrated heat budget

Here is an example 3d heat budget diagnostic for MOM.

  • OPOTTEMPTEND = T_ADVECTION_XY + TH_TENDENCY_VERT_REMAP + OPOTTEMPDIFF + OPOTTEMPPMDIFF

  • BOUNDARY_FORCING_HEAT_TENDENCY + FRAZIL_HEAT_TENDENCY

  • OPOTTEMPTEND = net tendency of heat as diagnosed in MOM.F90

  • T_ADVECTION_XY = heating of a cell from lateral advection

  • TH_TENDENCY_VERT_REMAP = heating of a cell from vertical remapping

  • OPOTTEMPDIFF = heating of a cell from diabatic diffusion

  • OPOTTEMPPMDIFF = heating of a cell from neutral diffusion

  • BOUNDARY_FORCING_HEAT_TENDENCY = heating of cell from boundary fluxes

  • FRAZIL_HEAT_TENDENCY = heating of cell from frazil

  • TH_TENDENCY_VERT_REMAP has zero vertical sum, as it redistributes heat in vertical.

  • OPOTTEMPDIFF has zero vertical sum, as it redistributes heat in the vertical.

  • BOUNDARY_FORCING_HEAT_TENDENCY generally has 3d structure, with k > 1 contributions from penetrative shortwave, and from other fluxes for the case when layers are tiny, in which case MOM6 partitions tendencies into k > 1 layers.

  • FRAZIL_HEAT_TENDENCY generally has 3d structure, since MOM6 frazil calculation checks the full ocean column.

  • FRAZIL_HEAT_TENDENCY[k=@sum] = HFSIFRAZIL = column integrated frazil heating.

  • HFDS = FRAZIL_HEAT_TENDENCY[k=@sum] + BOUNDARY_FORCING_HEAT_TENDENCY[k=@sum]

Here is an example 2d heat budget (depth summed) diagnostic for MOM.

  • OPOTTEMPTEND_2d = T_ADVECTION_XY_2d + OPOTTEMPPMDIFF_2d + HFDS

Here is an example 3d salt budget diagnostic for MOM.

  • OSALTTEND = S_ADVECTION_XY + SH_TENDENCY_VERT_REMAP + OSALTDIFF + OSALTPMDIFF

  • BOUNDARY_FORCING_SALT_TENDENCY

  • OSALTTEND = net tendency of salt as diagnosed in MOM.F90

  • S_ADVECTION_XY = salt convergence to cell from lateral advection

  • SH_TENDENCY_VERT_REMAP = salt convergence to cell from vertical remapping

  • OSALTDIFF = salt convergence to cell from diabatic diffusion

  • OSALTPMDIFF = salt convergence to cell from neutral diffusion

  • BOUNDARY_FORCING_SALT_TENDENCY = salt convergence to cell from boundary fluxes

  • SH_TENDENCY_VERT_REMAP has zero vertical sum, as it redistributes salt in vertical.

  • OSALTDIFF has zero vertical sum, as it redistributes salt in the vertical.

  • BOUNDARY_FORCING_SALT_TENDENCY generally has 3d structure, with k > 1 contributions from the case when layers are tiny, in which case MOM6 partitions tendencies into k > 1 layers.

  • SFDSI = BOUNDARY_FORCING_SALT_TENDENCY[k=@sum]

Here is an example 2d salt budget (depth summed) diagnostic for MOM.

  • OSALTTEND_2d = S_ADVECTION_XY_2d + OSALTPMDIFF_2d + SFDSI (+ SALT_FLUX_RESTORE)

Type Documentation

type MOM_diag_IDs

A structure with diagnostic IDs of the state variables

Parameters
  • id_u

    3-d state field diagnostic IDs

  • id_v

    3-d state field diagnostic IDs

  • id_h

    3-d state field diagnostic IDs

type, public :: MOM_control_struct

Control structure for the MOM module, including the variables that describe the state of the ocean.

Parameters
  • h

    layer thickness [H ~> m or kg m-2]

  • T

    potential temperature [C ~> degC]

  • S

    salinity [S ~> ppt]

  • u

    zonal velocity component [L T-1 ~> m s-1]

  • uh

    uh = u * h * dy at u grid points [H L2 T-1 ~> m3 s-1 or kg s-1]

  • uhtr

    accumulated zonal thickness fluxes to advect tracers [H L2 ~> m3 or kg]

  • v

    meridional velocity [L T-1 ~> m s-1]

  • vh

    vh = v * h * dx at v grid points [H L2 T-1 ~> m3 s-1 or kg s-1]

  • vhtr

    accumulated meridional thickness fluxes to advect tracers [H L2 ~> m3 or kg]

  • ssh_rint

    A running time integral of the sea surface height [T Z ~> s m].

  • ave_ssh_ibc

    time-averaged (over a forcing time step) sea surface height with a correction for the inverse barometer [Z ~> m]

  • eta_av_bc

    free surface height or column mass time averaged over the last baroclinic dynamics time step [H ~> m or kg m-2]

  • Hml

    active mixed layer depth, or 0 if there is no boundary layer scheme [Z ~> m]

  • time_in_cycle

    The running time of the current time-stepping cycle in calls that step the dynamics, and also the length of the time integral of ssh_rint [T ~> s].

  • time_in_thermo_cycle

    The running time of the current time-stepping cycle in calls that step the thermodynamics [T ~> s].

  • G_in

    Input grid metric

  • G

    Model grid metric

  • rotate_index

    True if index map is rotated

  • homogenize_forcings

    True if all inputs are homogenized

  • update_ustar

    True to update ustar from homogenized tau

  • vertex_shear

    True if vertex shear is on

  • GV

    structure containing vertical grid info

  • US

    structure containing various unit conversion factors

  • tv

    structure containing pointers to available thermodynamic fields

  • t_dyn_rel_adv

    The time of the dynamics relative to tracer advection and lateral mixing [T ~> s], or equivalently the elapsed time since advectively updating the tracers. t_dyn_rel_adv is invariably positive and may span multiple coupling timesteps.

  • n_dyn_steps_in_adv

    The number of dynamics time steps that contributed to uhtr and vhtr since the last time tracer advection occured.

  • t_dyn_rel_thermo

    The time of the dynamics relative to diabatic processes and remapping [T ~> s]. t_dyn_rel_thermo can be negative or positive depending on whether the diabatic processes are applied before or after the dynamics and may span multiple coupling timesteps.

  • t_dyn_rel_diag

    The time of the diagnostics relative to diabatic processes and remapping [T ~> s]. t_dyn_rel_diag is always positive, since the diagnostics must lag.

  • preadv_h_stored

    If true, the thicknesses from before the advective cycle have been stored for use in diagnostics.

  • diag

    structure to regulate diagnostic output timing

  • visc

    structure containing vertical viscosities, bottom drag viscosities, and related fields

  • MEKE

    Fields related to the Mesoscale Eddy Kinetic Energy

  • adiabatic

    If true, there are no diapycnal mass fluxes, and no calls to routines to calculate or apply diapycnal fluxes.

  • diabatic_first

    If true, apply diabatic and thermodynamic processes before time stepping the dynamics.

  • use_ALE_algorithm

    If true, use the ALE algorithm rather than layered isopycnal/stacked shallow water mode. This logical is set by calling the function useRegridding() from the MOM_regridding module.

  • remap_aux_vars

    If true, apply ALE remapping to all of the auxiliary 3-D variables that are needed to reproduce across restarts, similarly to what is done with the primary state variables.

  • remap_uv_using_old_alg

    If true, use the old "remapping via a delta z" method for velocities. If false, remap between two grids described by thicknesses.

  • stoch_eos_CS

    structure containing random pattern for stoch EOS

  • alternate_first_direction

    If true, alternate whether the x- or y-direction updates occur first in directionally split parts of the calculation.

  • first_dir_restart

    A real copy of G%first_direction for use in restart files [nondim]

  • offline_tracer_mode

    If true, step_offline() is called instead of step_MOM(). This is intended for running MOM6 in offline tracer mode

  • MEKE_in_dynamics

    If .true. (default), MEKE is called in the dynamics routine otherwise it is called during the tracer dynamics

  • Time

    pointer to the ocean clock

  • dt

    (baroclinic) dynamics time step [T ~> s]

  • dt_therm

    diabatic time step [T ~> s]

  • dt_tr_adv

    tracer advection time step [T ~> s]

  • thermo_spans_coupling

    If true, thermodynamic and tracer time steps can span multiple coupled time steps.

  • tradv_spans_coupling

    If true, thermodynamic and tracer time

  • nstep_tot

    The total number of dynamic timesteps taken so far in this run segment

  • count_calls

    If true, count the calls to step_MOM, rather than the number of dynamics steps in nstep_tot

  • debug

    If true, write verbose checksums for debugging purposes.

  • debug_OBCs

    If true, write verbose OBC values for debugging purposes.

  • ntrunc

    number u,v truncations since last call to write_energy

  • cont_stencil

    The stencil for thickness from the continuity solver.

  • dyn_h_stencil

    The stencil for thickness for the dynamics based on the continuity solver and Coriolis schemes.

  • do_dynamics

    If false, does not call step_MOM_dyn_*. This is an undocumented run-time flag that is fragile.

  • split

    If true, use the split time stepping scheme.

  • use_alt_split

    If true, use a version of the split explicit time stepping scheme that exchanges velocities with step_MOM that have the average barotropic phase over a baroclinic timestep rather than the instantaneous barotropic phase.

  • use_RK2

    If true, use RK2 instead of RK3 in unsplit mode (i.e., no split between barotropic and baroclinic).

  • interface_filter

    If true, apply an interface height filter immediately after any calls to thickness_diffuse.

  • thickness_diffuse

    If true, diffuse interface height w/ a diffusivity KHTH.

  • thickness_diffuse_first

    If true, diffuse thickness before dynamics.

  • interface_filter_dt_bug

    If true, uses the wrong time interval in calls to interface_filter and thickness_diffuse.

  • mixedlayer_restrat

    If true, use submesoscale mixed layer restratifying scheme.

  • useMEKE

    If true, call the MEKE parameterization.

  • use_stochastic_EOS

    If true, use the stochastic EOS parameterizations.

  • useWaves

    If true, update Stokes drift

  • StokesMOST

    If true, use Stokes Similarity package. Needed to decide if Lam2 should be passed to mixedlayer_restrat.

  • wave_enhanced_ustar

    If true, enhance ustar in Bodner23. Needed to decide if Lam2 should be passed to mixedlayer_restrat.

  • dtbt_reset_period

    The time interval between dynamic recalculation of the barotropic time step [T ~> s]. If this is negative dtbt is never calculated, and if it is 0, dtbt is calculated every step.

  • dtbt_reset_interval

    A time_time representation of dtbt_reset_period.

  • dtbt_reset_time

    The next time DTBT should be calculated.

  • dt_obc_seg_period

    The time interval between OBC segment updates for OBGC tracers [T ~> s], or a negative value if the segment data are time-invarant, or zero to update the OBGC segment data with every call to update_OBC_tracer_data.

  • dt_obc_seg_interval

    A time_time representation of dt_obc_seg_period.

  • dt_obc_seg_time

    The next time OBC segment update is applied to OBGC tracers.

  • frac_shelf_h

    fraction of total area occupied by ice shelf [nondim]

  • mass_shelf

    Mass of ice shelf [R Z ~> kg m-2]

  • ADp

    structure containing pointers to accelerations, for derived diagnostics (e.g., energy budgets)

  • CDp

    structure containing pointers to continuity equation terms, for derived diagnostics (e.g., energy budgets)

  • u_prev

    previous value of u stored for diagnostics [L T-1 ~> m s-1]

  • v_prev

    previous value of v stored for diagnostics [L T-1 ~> m s-1]

  • interp_p_surf

    If true, linearly interpolate surface pressure over the coupling time step, using specified value at the end of the coupling step. False by default.

  • p_surf_prev_set

    If true, p_surf_prev has been properly set from a previous time-step or the ocean restart file. This is only valid when interp_p_surf is true.

  • p_surf_prev

    surface pressure [R L2 T-2 ~> Pa] at end previous call to step_MOM

  • p_surf_begin

    surface pressure [R L2 T-2 ~> Pa] at start of step_MOM_dyn_...

  • p_surf_end

    surface pressure [R L2 T-2 ~> Pa] at end of step_MOM_dyn_...

  • write_IC

    If true, then the initial conditions will be written to file

  • IC_file

    A file into which the initial conditions are written in a new run if SAVE_INITIAL_CONDS is true.

  • calc_rho_for_sea_lev

    If true, calculate rho to convert pressure to sea level

  • Hmix

    Diagnostic mixed layer thickness over which to average surface tracer properties when a bulk mixed layer is not used [H ~> m or kg m-2], or a negative value if a bulk mixed layer is being used.

  • HFrz

    If HFrz > 0, the nominal depth over which melt potential is computed [H ~> m or kg m-2]. The actual depth over which melt potential is computed is min(HFrz, OBLD), where OBLD is the boundary layer depth. If HFrz <= 0 (default), melt potential will not be computed.

  • Hmix_UV

    Depth scale over which to average surface flow to feedback to the coupler/driver [H ~> m or kg m-2] when bulk mixed layer is not used, or a negative value if a bulk mixed layer is being used.

  • check_bad_sfc_vals

    If true, scan surface state for ridiculous values.

  • bad_val_ssh_max

    Maximum SSH before triggering bad value message [Z ~> m]

  • bad_val_sst_max

    Maximum SST before triggering bad value message [C ~> degC]

  • bad_val_sst_min

    Minimum SST before triggering bad value message [C ~> degC]

  • bad_val_sss_max

    Maximum SSS before triggering bad value message [S ~> ppt]

  • bad_val_col_thick

    Minimum column thickness before triggering bad value message [Z ~> m]

  • answer_date

    The vintage of the expressions for the surface properties. Values below 20190101 recover the answers from the end of 2018, while higher values use more appropriate expressions that differ at roundoff for non-Boussinesq cases.

  • use_particles

    Turns on the particles package

  • use_uh_particles

    particles are advected by uh/h

  • uh_particles_bug

    If true, uses an inconsistent timestep for particle advection

  • use_dbclient

    Turns on the database client used for ML inference/analysis

  • particle_type

    Particle types include: surface(default), profiling and sail drone.

  • IDs

    Handles used for diagnostics.

  • transport_IDs

    Handles used for transport diagnostics.

  • sfc_IDs

    Handles used for surface diagnostics.

  • diag_pre_sync

    The grid (thicknesses) before remapping

  • diag_pre_dyn

    The grid (thicknesses) before dynamics

  • accumulate_resolved_flux

    If true, accumulate resolved flux for tracers for diagnostics separating the tracer flux due to resolved and parameterized flow

  • do_resolved_advection

    If true, calculate advection by resolved flow

  • do_param_advection

    If true, calculate advection by parameterized flow

  • uhtr_resolved

    accumulated zonal thickness fluxes due to resolved flow to advect tracers [H L2 ~> m3 or kg]

  • vhtr_resolved

    accumulated meridional thickness fluxes due to resolved flow to advect tracers [H L2 ~> m3 or kg]

  • dyn_unsplit_CSp

    Pointer to the control structure used for the unsplit dynamics

  • dyn_unsplit_RK2_CSp

    Pointer to the control structure used for the unsplit RK2 dynamics

  • dyn_split_RK2_CSp

    Pointer to the control structure used for the mode-split RK2 dynamics

  • dyn_split_RK2b_CSp

    Pointer to the control structure used for an alternate version of the mode-split RK2 dynamics

  • HA_CSp

    Pointer to the control structure for harmonic analysis

  • thickness_diffuse_CSp

    Pointer to the control structure used for the isopycnal height diffusive transport. This is also common referred to as Gent-McWilliams diffusion

  • interface_filter_CSp

    Control structure used for the interface height smoothing operator.

  • mixedlayer_restrat_CSp

    Pointer to the control structure used for the mixed layer restratification

  • set_visc_CSp

    Pointer to the control structure used to set viscosities

  • diabatic_CSp

    Pointer to the control structure for the diabatic driver

  • MEKE_CSp

    Pointer to the control structure for the MEKE updates

  • VarMix

    Control structure for the variable mixing module

  • tracer_Reg

    Pointer to the MOM tracer registry

  • tracer_adv_CSp

    Pointer to the MOM tracer advection control structure

  • tracer_diff_CSp

    Pointer to the MOM along-isopycnal tracer diffusion control structure

  • tracer_flow_CSp

    Pointer to the control structure that orchestrates the calling of tracer packages

  • update_OBC_CSp

    Pointer to the control structure for updating open boundary condition properties

  • OBC

    Pointer to the MOM open boundary condition type

  • sponge_CSp

    Pointer to the layered-mode sponge control structure

  • ALE_sponge_CSp

    Pointer to the ALE-mode sponge control structure

  • oda_incupd_CSp

    Pointer to the oda incremental update control structure

  • int_tide_CSp

    Pointer to the internal tides control structure

  • ALE_CSp

    Pointer to the Arbitrary Lagrangian Eulerian (ALE) vertical coordinate control structure

  • sum_output_CSp

    Pointer to the globally summed output control structure

  • diagnostics_CSp

    Pointer to the MOM diagnostics control structure

  • offline_CSp

    Pointer to the offline tracer transport control structure

  • por_bar_CS

    Control structure for porous barrier

  • ensemble_ocean

    if true, this run is part of a larger ensemble for the purpose of data assimilation or statistical analysis.

  • odaCS

    a pointer to the control structure for handling ensemble model state vectors and data assimilation increments and priors

  • dbcomms_CS

    Control structure for database client used for online ML/AI

  • use_porbar

    If true, use porous barrier to constrain the widths and face areas at the edges of the grid cells.

  • pbv

    porous barrier fractional cell metrics

  • particles

    Lagrangian particles

  • stoch_CS

    a pointer to the stochastics control structure

  • restart_CS

    Pointer to MOM's restart control structure

Functions/Subroutine Documentation

subroutine step_MOM(forces_in, fluxes_in, sfc_state, Time_start, time_int_in, CS, Waves, do_dynamics, do_thermodynamics, start_cycle, end_cycle, cycle_length, reset_therm)

This subroutine orchestrates the time stepping of MOM. The adiabatic dynamics are stepped by calls to one of the step_MOM_dyn_...routines. The action of lateral processes on tracers occur in calls to advect_tracer and tracer_hordiff. Vertical mixing and possibly remapping occur inside of diabatic.

Parameters
  • forces_in [inout]

    A structure with the driving mechanical forces

  • fluxes_in [inout]

    A structure with pointers to themodynamic, tracer and mass exchange forcing fields

  • sfc_state [inout]

    surface ocean state

  • Time_start [in]

    starting time of a segment, as a time type

  • time_int_in [in]

    time interval covered by this run segment [T ~> s].

  • CS [inout]

    control structure from initialize_MOM

  • Waves

    An optional pointer to a wave property CS

  • do_dynamics [in]

    Present and false, do not do updates due to the dynamics.

  • do_thermodynamics [in]

    Present and false, do not do updates due to the thermodynamics or remapping.

  • start_cycle [in]

    This indicates whether this call is to be treated as the first call to step_MOM in a time-stepping cycle; missing is like true.

  • end_cycle [in]

    This indicates whether this call is to be treated as the last call to step_MOM in a time-stepping cycle; missing is like true.

  • cycle_length [in]

    The amount of time in a coupled time stepping cycle [T ~> s].

  • reset_therm [in]

    This indicates whether the running sums of thermodynamic quantities should be reset. If missing, this is like start_cycle.

Callees call graph
Callees of mom::step_mom calls cluster_mom MOM cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_debugging MOM_debugging cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnostics MOM_diagnostics cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_forcing_type MOM_forcing_type cluster_mom_harmonic_analysis MOM_harmonic_analysis cluster_mom_interface_heights MOM_interface_heights cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_oda_driver_mod MOM_oda_driver_mod cluster_mom_stochastics MOM_stochastics cluster_mom_sum_output MOM_sum_output cluster_mom_time_manager MOM_time_manager cluster_mom_tracer_registry MOM_tracer_registry cluster_mom_variables MOM_variables cluster_mom_wave_interface MOM_wave_interface mom::adjust_ssh_for_p_atm adjust_ssh_for_p_atm [private/internal] mom::ale_regridding_and_remapping ALE_regridding_and_remapping [private/internal] mom::extract_surface_state extract_surface_state mom::mom_state_is_synchronized MOM_state_is_synchronized mom::post_diabatic_halo_updates post_diabatic_halo_updates [private/internal] mom::step_mom step_MOM mom::step_mom->mom::adjust_ssh_for_p_atm mom::step_mom->mom::ale_regridding_and_remapping mom::step_mom->mom::extract_surface_state mom::step_mom->mom::mom_state_is_synchronized mom::step_mom->mom::post_diabatic_halo_updates mom::step_mom_dynamics step_MOM_dynamics [private/internal] mom::step_mom->mom::step_mom_dynamics mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom->mom::step_mom_thermo mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom::step_mom->mom::step_mom_tracer_dyn mom_checksum_packages::interface::mom_state_chksum MOM_state_chksum (interface) mom::step_mom->mom_checksum_packages::interface::mom_state_chksum mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::step_mom->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::step_mom->mom_cpu_clock_infra::cpu_clock_end mom_debugging::interface::check_redundant check_redundant (interface) mom::step_mom->mom_debugging::interface::check_redundant mom_debugging::query_debugging_checks query_debugging_checks mom::step_mom->mom_debugging::query_debugging_checks mom_diabatic_driver::extract_diabatic_member extract_diabatic_member mom::step_mom->mom_diabatic_driver::extract_diabatic_member mom_diag_mediator::diag_copy_diag_to_storage diag_copy_diag_to_storage mom::step_mom->mom_diag_mediator::diag_copy_diag_to_storage mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom::step_mom->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom::step_mom->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom::step_mom->mom_diag_mediator::enable_averages mom_diag_mediator::interface::post_data post_data (interface) mom::step_mom->mom_diag_mediator::interface::post_data mom_diagnostics::calculate_diagnostic_fields calculate_diagnostic_fields mom::step_mom->mom_diagnostics::calculate_diagnostic_fields mom_diagnostics::post_surface_dyn_diags post_surface_dyn_diags mom::step_mom->mom_diagnostics::post_surface_dyn_diags mom_diagnostics::post_surface_thermo_diags post_surface_thermo_diags mom::step_mom->mom_diagnostics::post_surface_thermo_diags mom_domain_infra::complete_group_pass complete_group_pass mom::step_mom->mom_domain_infra::complete_group_pass mom_domain_infra::do_group_pass do_group_pass mom::step_mom->mom_domain_infra::do_group_pass mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::step_mom->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_var pass_var (interface) mom::step_mom->mom_domain_infra::interface::pass_var mom_domain_infra::start_group_pass start_group_pass mom::step_mom->mom_domain_infra::start_group_pass mom_error_handler::calltree_enter callTree_enter mom::step_mom->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::step_mom->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom::step_mom->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::step_mom->mom_error_handler::calltree_waypoint mom_error_handler::mom_error MOM_error mom::step_mom->mom_error_handler::mom_error mom_forcing_type::copy_common_forcing_fields copy_common_forcing_fields mom::step_mom->mom_forcing_type::copy_common_forcing_fields mom_forcing_type::deallocate_forcing_type deallocate_forcing_type mom::step_mom->mom_forcing_type::deallocate_forcing_type mom_forcing_type::deallocate_mech_forcing deallocate_mech_forcing mom::step_mom->mom_forcing_type::deallocate_mech_forcing mom_forcing_type::homogenize_forcing homogenize_forcing mom::step_mom->mom_forcing_type::homogenize_forcing mom_forcing_type::homogenize_mech_forcing homogenize_mech_forcing mom::step_mom->mom_forcing_type::homogenize_mech_forcing mom_forcing_type::interface::allocate_forcing_type allocate_forcing_type (interface) mom::step_mom->mom_forcing_type::interface::allocate_forcing_type mom_forcing_type::interface::allocate_mech_forcing allocate_mech_forcing (interface) mom::step_mom->mom_forcing_type::interface::allocate_mech_forcing mom_forcing_type::interface::find_ustar find_ustar (interface) mom::step_mom->mom_forcing_type::interface::find_ustar mom_forcing_type::mom_mech_forcing_chksum MOM_mech_forcing_chksum mom::step_mom->mom_forcing_type::mom_mech_forcing_chksum mom_forcing_type::rotate_forcing rotate_forcing mom::step_mom->mom_forcing_type::rotate_forcing mom_forcing_type::rotate_mech_forcing rotate_mech_forcing mom::step_mom->mom_forcing_type::rotate_mech_forcing mom_forcing_type::set_derived_forcing_fields set_derived_forcing_fields mom::step_mom->mom_forcing_type::set_derived_forcing_fields mom_harmonic_analysis::ha_accum HA_accum mom::step_mom->mom_harmonic_analysis::ha_accum mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::step_mom->mom_interface_heights::calc_derived_thermo mom_interface_heights::interface::find_eta find_eta (interface) mom::step_mom->mom_interface_heights::interface::find_eta mom_interface_heights::interface::thickness_to_dz thickness_to_dz (interface) mom::step_mom->mom_interface_heights::interface::thickness_to_dz mom_lateral_mixing_coeffs::calc_depth_function calc_depth_function mom::step_mom->mom_lateral_mixing_coeffs::calc_depth_function mom_lateral_mixing_coeffs::calc_resoln_function calc_resoln_function mom::step_mom->mom_lateral_mixing_coeffs::calc_resoln_function mom_oda_driver_mod::oda oda mom::step_mom->mom_oda_driver_mod::oda mom_oda_driver_mod::set_analysis_time set_analysis_time mom::step_mom->mom_oda_driver_mod::set_analysis_time mom_oda_driver_mod::set_prior_tracer set_prior_tracer mom::step_mom->mom_oda_driver_mod::set_prior_tracer mom_stochastics::update_stochastics update_stochastics mom::step_mom->mom_stochastics::update_stochastics mom_sum_output::accumulate_net_input accumulate_net_input mom::step_mom->mom_sum_output::accumulate_net_input mom_sum_output::write_energy write_energy mom::step_mom->mom_sum_output::write_energy mom_time_manager::real_to_time real_to_time mom::step_mom->mom_time_manager::real_to_time mom_tracer_registry::post_tracer_diagnostics_at_sync post_tracer_diagnostics_at_sync mom::step_mom->mom_tracer_registry::post_tracer_diagnostics_at_sync mom_tracer_registry::post_tracer_integral_diagnostics post_tracer_integral_diagnostics mom::step_mom->mom_tracer_registry::post_tracer_integral_diagnostics mom_variables::deallocate_surface_state deallocate_surface_state mom::step_mom->mom_variables::deallocate_surface_state mom_variables::rotate_surface_state rotate_surface_state mom::step_mom->mom_variables::rotate_surface_state mom_wave_interface::update_stokes_drift Update_Stokes_Drift mom::step_mom->mom_wave_interface::update_stokes_drift
Text view
Callers call graph
Callers of mom::step_mom calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::step_mom step_MOM External::mom6->mom::step_mom
Text view
subroutine step_MOM_dynamics(forces, p_surf_begin, p_surf_end, dt, dt_tr_adv, bbl_time_int, CS, Time_local, Waves)

Time step the ocean dynamics, including the momentum and continuity equations

Parameters
  • forces [in]

    A structure with the driving mechanical forces

  • p_surf_begin

    A pointer (perhaps NULL) to the surface pressure at the beginning of this dynamic step, intent in [R L2 T-2 ~> Pa].

  • p_surf_end

    A pointer (perhaps NULL) to the surface pressure at the end of this dynamic step, intent in [R L2 T-2 ~> Pa].

  • dt [in]

    time interval covered by this call [T ~> s].

  • dt_tr_adv [in]

    time interval covered by any updates that may span multiple dynamics steps [T ~> s].

  • bbl_time_int [in]

    time interval over which updates to the bottom boundary layer properties will apply [T ~> s], or zero not to update the properties.

  • CS [inout]

    control structure from initialize_MOM

  • Time_local [in]

    End time of a segment, as a time type

  • Waves

    Container for wave related parameters; the fields in Waves are intent in here.

Callees call graph
Callees of mom::step_mom_dynamics calls cluster_mom MOM cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra 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 cluster_mom_error_handler MOM_error_handler cluster_mom_grid MOM_grid cluster_mom_interface_filter MOM_interface_filter cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_meke MOM_MEKE cluster_mom_mixed_layer_restrat MOM_mixed_layer_restrat cluster_mom_particles_mod MOM_particles_mod cluster_mom_porous_barriers MOM_porous_barriers cluster_mom_set_visc MOM_set_visc cluster_mom_stoch_eos MOM_stoch_eos cluster_mom_thickness_diffuse MOM_thickness_diffuse cluster_mom_time_manager MOM_time_manager mom::step_mom_dynamics step_MOM_dynamics [private/internal] mom_checksums::interface::hchksum hchksum (interface) mom::step_mom_dynamics->mom_checksums::interface::hchksum mom_checksums::interface::uvchksum uvchksum (interface) mom::step_mom_dynamics->mom_checksums::interface::uvchksum mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::step_mom_dynamics->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::step_mom_dynamics->mom_cpu_clock_infra::cpu_clock_end mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom::step_mom_dynamics->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom::step_mom_dynamics->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom::step_mom_dynamics->mom_diag_mediator::enable_averages mom_diag_mediator::interface::post_data post_data (interface) mom::step_mom_dynamics->mom_diag_mediator::interface::post_data mom_domain_infra::interface::pass_var pass_var (interface) mom::step_mom_dynamics->mom_domain_infra::interface::pass_var mom_domain_infra::interface::pass_vector pass_vector (interface) mom::step_mom_dynamics->mom_domain_infra::interface::pass_vector mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom::step_mom_dynamics->mom_dynamics_split_rk2::step_mom_dyn_split_rk2 mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom::step_mom_dynamics->mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b mom_dynamics_unsplit::step_mom_dyn_unsplit step_MOM_dyn_unsplit mom::step_mom_dynamics->mom_dynamics_unsplit::step_mom_dyn_unsplit mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 step_MOM_dyn_unsplit_RK2 mom::step_mom_dynamics->mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 mom_error_handler::calltree_showquery callTree_showQuery mom::step_mom_dynamics->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::step_mom_dynamics->mom_error_handler::calltree_waypoint mom_error_handler::mom_error MOM_error mom::step_mom_dynamics->mom_error_handler::mom_error mom_grid::set_first_direction set_first_direction mom::step_mom_dynamics->mom_grid::set_first_direction mom_interface_filter::interface_filter interface_filter mom::step_mom_dynamics->mom_interface_filter::interface_filter mom_lateral_mixing_coeffs::calc_slope_functions calc_slope_functions mom::step_mom_dynamics->mom_lateral_mixing_coeffs::calc_slope_functions mom_meke::step_forward_meke step_forward_MEKE mom::step_mom_dynamics->mom_meke::step_forward_meke mom_mixed_layer_restrat::mixedlayer_restrat mixedlayer_restrat mom::step_mom_dynamics->mom_mixed_layer_restrat::mixedlayer_restrat mom_particles_mod::particles_run particles_run mom::step_mom_dynamics->mom_particles_mod::particles_run mom_particles_mod::particles_to_k_space particles_to_k_space mom::step_mom_dynamics->mom_particles_mod::particles_to_k_space mom_particles_mod::particles_to_z_space particles_to_z_space mom::step_mom_dynamics->mom_particles_mod::particles_to_z_space mom_porous_barriers::porous_widths_layer porous_widths_layer mom::step_mom_dynamics->mom_porous_barriers::porous_widths_layer mom_set_visc::set_viscous_bbl set_viscous_BBL mom::step_mom_dynamics->mom_set_visc::set_viscous_bbl mom_stoch_eos::mom_calc_vart MOM_calc_varT mom::step_mom_dynamics->mom_stoch_eos::mom_calc_vart mom_stoch_eos::mom_stoch_eos_run MOM_stoch_eos_run mom::step_mom_dynamics->mom_stoch_eos::mom_stoch_eos_run mom_stoch_eos::post_stoch_eos_diags post_stoch_EOS_diags mom::step_mom_dynamics->mom_stoch_eos::post_stoch_eos_diags mom_thickness_diffuse::thickness_diffuse thickness_diffuse mom::step_mom_dynamics->mom_thickness_diffuse::thickness_diffuse mom_time_manager::real_to_time real_to_time mom::step_mom_dynamics->mom_time_manager::real_to_time
Text view
Callers call graph
Callers of mom::step_mom_dynamics calls cluster_mom MOM mom::step_mom step_MOM mom::step_mom_dynamics step_MOM_dynamics [private/internal] mom::step_mom->mom::step_mom_dynamics
Text view
subroutine step_MOM_tracer_dyn(CS, G, GV, US, h, Time_local)

step_MOM_tracer_dyn does tracer advection and lateral diffusion, bringing the tracers up to date with the changes in state due to the dynamics. Surface sources and sinks and remapping are handled via step_MOM_thermo.

Parameters
  • CS [inout]

    control structure

  • G [inout]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • h [in]

    layer thicknesses after the transports [H ~> m or kg m-2]

  • Time_local [in]

    The model time at the end of the time step.

Callees call graph
Callees of mom::step_mom_tracer_dyn calls cluster_mom MOM cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnostics MOM_diagnostics cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_interface_heights MOM_interface_heights cluster_mom_meke MOM_MEKE cluster_mom_open_boundary MOM_open_boundary cluster_mom_particles_mod MOM_particles_mod cluster_mom_tracer_advect MOM_tracer_advect cluster_mom_tracer_hor_diff MOM_tracer_hor_diff cluster_mom_tracer_registry MOM_tracer_registry mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom_checksums::interface::hchksum hchksum (interface) mom::step_mom_tracer_dyn->mom_checksums::interface::hchksum mom_checksums::interface::uvchksum uvchksum (interface) mom::step_mom_tracer_dyn->mom_checksums::interface::uvchksum mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::step_mom_tracer_dyn->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::step_mom_tracer_dyn->mom_cpu_clock_infra::cpu_clock_end mom_diabatic_driver::extract_diabatic_member extract_diabatic_member mom::step_mom_tracer_dyn->mom_diabatic_driver::extract_diabatic_member mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom::step_mom_tracer_dyn->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom::step_mom_tracer_dyn->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom::step_mom_tracer_dyn->mom_diag_mediator::enable_averages mom_diagnostics::post_transport_diagnostics post_transport_diagnostics mom::step_mom_tracer_dyn->mom_diagnostics::post_transport_diagnostics mom_domain_infra::do_group_pass do_group_pass mom::step_mom_tracer_dyn->mom_domain_infra::do_group_pass mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::step_mom_tracer_dyn->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_vector pass_vector (interface) mom::step_mom_tracer_dyn->mom_domain_infra::interface::pass_vector mom_error_handler::calltree_showquery callTree_showQuery mom::step_mom_tracer_dyn->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::step_mom_tracer_dyn->mom_error_handler::calltree_waypoint mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::step_mom_tracer_dyn->mom_interface_heights::calc_derived_thermo mom_meke::step_forward_meke step_forward_MEKE mom::step_mom_tracer_dyn->mom_meke::step_forward_meke mom_open_boundary::read_obc_tracer_data read_OBC_tracer_data mom::step_mom_tracer_dyn->mom_open_boundary::read_obc_tracer_data mom_open_boundary::update_obc_tracer_data update_OBC_tracer_data mom::step_mom_tracer_dyn->mom_open_boundary::update_obc_tracer_data mom_open_boundary::update_segment_tracer_reservoirs update_segment_tracer_reservoirs mom::step_mom_tracer_dyn->mom_open_boundary::update_segment_tracer_reservoirs mom_particles_mod::particles_run particles_run mom::step_mom_tracer_dyn->mom_particles_mod::particles_run mom_tracer_advect::advect_tracer advect_tracer mom::step_mom_tracer_dyn->mom_tracer_advect::advect_tracer mom_tracer_hor_diff::tracer_hordiff tracer_hordiff mom::step_mom_tracer_dyn->mom_tracer_hor_diff::tracer_hordiff mom_tracer_registry::interface::mom_tracer_chksum MOM_tracer_chksum (interface) mom::step_mom_tracer_dyn->mom_tracer_registry::interface::mom_tracer_chksum
Text view
Callers call graph
Callers of mom::step_mom_tracer_dyn calls cluster_mom MOM mom::step_mom step_MOM mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom::step_mom->mom::step_mom_tracer_dyn
Text view
subroutine step_MOM_thermo(CS, G, GV, US, u, v, h, tv, fluxes, dtdia, Time_end_thermo, update_BBL, Waves)

MOM_step_thermo orchestrates the thermodynamic time stepping and vertical remapping, via calls to diabatic (or adiabatic).

Parameters
  • CS [inout]

    Master MOM control structure

  • G [inout]

    ocean grid structure

  • GV [inout]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    layer thickness [H ~> m or kg m-2]

  • tv [inout]

    A structure pointing to various thermodynamic variables

  • fluxes [inout]

    pointers to forcing fields

  • dtdia [in]

    The time interval over which to advance [T ~> s]

  • Time_end_thermo [in]

    End of averaging interval for thermo diags

  • update_BBL [in]

    If true, calculate the bottom boundary layer properties.

  • Waves

    Container for wave related parameters the fields in Waves are intent in here.

Callees call graph
Callees of mom::step_mom_thermo calls cluster_mom MOM cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_debugging MOM_debugging cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_forcing_type MOM_forcing_type cluster_mom_interface_heights MOM_interface_heights cluster_mom_oda_driver_mod MOM_oda_driver_mod cluster_mom_porous_barriers MOM_porous_barriers cluster_mom_set_visc MOM_set_visc cluster_mom_stochastics MOM_stochastics mom::step_mom_thermo step_MOM_thermo [private/internal] mom_checksum_packages::mom_thermo_chksum MOM_thermo_chksum mom::step_mom_thermo->mom_checksum_packages::mom_thermo_chksum mom_checksums::interface::hchksum hchksum (interface) mom::step_mom_thermo->mom_checksums::interface::hchksum mom_checksums::interface::uvchksum uvchksum (interface) mom::step_mom_thermo->mom_checksums::interface::uvchksum mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::step_mom_thermo->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::step_mom_thermo->mom_cpu_clock_infra::cpu_clock_end mom_debugging::interface::check_redundant check_redundant (interface) mom::step_mom_thermo->mom_debugging::interface::check_redundant mom_debugging::query_debugging_checks query_debugging_checks mom::step_mom_thermo->mom_debugging::query_debugging_checks mom_diabatic_driver::adiabatic adiabatic mom::step_mom_thermo->mom_diabatic_driver::adiabatic mom_diabatic_driver::diabatic diabatic mom::step_mom_thermo->mom_diabatic_driver::diabatic mom_diabatic_driver::extract_diabatic_member extract_diabatic_member mom::step_mom_thermo->mom_diabatic_driver::extract_diabatic_member mom_diag_mediator::disable_averaging disable_averaging mom::step_mom_thermo->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom::step_mom_thermo->mom_diag_mediator::enable_averages mom_domain_infra::do_group_pass do_group_pass mom::step_mom_thermo->mom_domain_infra::do_group_pass mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::step_mom_thermo->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_var pass_var (interface) mom::step_mom_thermo->mom_domain_infra::interface::pass_var mom_domain_infra::interface::pass_vector pass_vector (interface) mom::step_mom_thermo->mom_domain_infra::interface::pass_vector mom_error_handler::calltree_enter callTree_enter mom::step_mom_thermo->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::step_mom_thermo->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom::step_mom_thermo->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::step_mom_thermo->mom_error_handler::calltree_waypoint mom_forcing_type::mom_forcing_chksum MOM_forcing_chksum mom::step_mom_thermo->mom_forcing_type::mom_forcing_chksum mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::step_mom_thermo->mom_interface_heights::calc_derived_thermo mom_oda_driver_mod::apply_oda_tracer_increments apply_oda_tracer_increments mom::step_mom_thermo->mom_oda_driver_mod::apply_oda_tracer_increments mom_porous_barriers::porous_widths_interface porous_widths_interface mom::step_mom_thermo->mom_porous_barriers::porous_widths_interface mom_set_visc::set_viscous_bbl set_viscous_BBL mom::step_mom_thermo->mom_set_visc::set_viscous_bbl mom_stochastics::apply_skeb apply_skeb mom::step_mom_thermo->mom_stochastics::apply_skeb
Text view
Callers call graph
Callers of mom::step_mom_thermo calls cluster_mom MOM mom::step_mom step_MOM mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom->mom::step_mom_thermo
Text view
subroutine ALE_regridding_and_remapping(CS, G, GV, US, u, v, h, tv, dtdia, Time_end_thermo)

ALE_regridding_and_remapping does regridding (the generation of a new grid) and remapping (from the old grid to the new grid). This is done after the themrodynamic step.

Parameters
  • CS [inout]

    Master MOM control structure

  • G [inout]

    ocean grid structure

  • GV [inout]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    layer thickness [H ~> m or kg m-2]

  • tv [inout]

    A structure pointing to various thermodynamic variables

  • dtdia [in]

    The time interval over which to advance [T ~> s]

  • Time_end_thermo [in]

    End of averaging interval for thermo diags

Callees call graph
Callees of mom::ale_regridding_and_remapping calls cluster_mom MOM cluster_mom_ale MOM_ALE cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_debugging MOM_debugging cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_split_rk2b MOM_dynamics_split_RK2b cluster_mom_error_handler MOM_error_handler cluster_mom_interface_heights MOM_interface_heights cluster_mom_open_boundary MOM_open_boundary cluster_mom_particles_mod MOM_particles_mod cluster_mom_set_visc MOM_set_visc cluster_mom_tracer_registry MOM_tracer_registry mom::ale_regridding_and_remapping ALE_regridding_and_remapping [private/internal] mom_ale::ale_regrid ALE_regrid mom::ale_regridding_and_remapping->mom_ale::ale_regrid mom_ale::ale_remap_set_h_vel ALE_remap_set_h_vel mom::ale_regridding_and_remapping->mom_ale::ale_remap_set_h_vel mom_ale::ale_remap_set_h_vel_via_dz ALE_remap_set_h_vel_via_dz mom::ale_regridding_and_remapping->mom_ale::ale_remap_set_h_vel_via_dz mom_ale::ale_remap_tracers ALE_remap_tracers mom::ale_regridding_and_remapping->mom_ale::ale_remap_tracers mom_ale::ale_remap_velocities ALE_remap_velocities mom::ale_regridding_and_remapping->mom_ale::ale_remap_velocities mom_ale::ale_update_regrid_weights ALE_update_regrid_weights mom::ale_regridding_and_remapping->mom_ale::ale_update_regrid_weights mom_ale::pre_ale_adjustments pre_ALE_adjustments mom::ale_regridding_and_remapping->mom_ale::pre_ale_adjustments mom_ale::pre_ale_diagnostics pre_ALE_diagnostics mom::ale_regridding_and_remapping->mom_ale::pre_ale_diagnostics mom_checksum_packages::interface::mom_state_chksum MOM_state_chksum (interface) mom::ale_regridding_and_remapping->mom_checksum_packages::interface::mom_state_chksum mom_checksums::interface::hchksum hchksum (interface) mom::ale_regridding_and_remapping->mom_checksums::interface::hchksum mom_checksums::interface::uvchksum uvchksum (interface) mom::ale_regridding_and_remapping->mom_checksums::interface::uvchksum mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::ale_regridding_and_remapping->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::ale_regridding_and_remapping->mom_cpu_clock_infra::cpu_clock_end mom_debugging::interface::check_redundant check_redundant (interface) mom::ale_regridding_and_remapping->mom_debugging::interface::check_redundant mom_debugging::query_debugging_checks query_debugging_checks mom::ale_regridding_and_remapping->mom_debugging::query_debugging_checks mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom::ale_regridding_and_remapping->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::disable_averaging disable_averaging mom::ale_regridding_and_remapping->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom::ale_regridding_and_remapping->mom_diag_mediator::enable_averages mom_domain_infra::do_group_pass do_group_pass mom::ale_regridding_and_remapping->mom_domain_infra::do_group_pass mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::ale_regridding_and_remapping->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_var pass_var (interface) mom::ale_regridding_and_remapping->mom_domain_infra::interface::pass_var mom_dynamics_split_rk2::remap_dyn_split_rk2_aux_vars remap_dyn_split_RK2_aux_vars mom::ale_regridding_and_remapping->mom_dynamics_split_rk2::remap_dyn_split_rk2_aux_vars mom_dynamics_split_rk2b::remap_dyn_split_rk2b_aux_vars remap_dyn_split_RK2b_aux_vars mom::ale_regridding_and_remapping->mom_dynamics_split_rk2b::remap_dyn_split_rk2b_aux_vars mom_error_handler::calltree_enter callTree_enter mom::ale_regridding_and_remapping->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::ale_regridding_and_remapping->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom::ale_regridding_and_remapping->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::ale_regridding_and_remapping->mom_error_handler::calltree_waypoint mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::ale_regridding_and_remapping->mom_interface_heights::calc_derived_thermo mom_open_boundary::remap_obc_fields remap_OBC_fields mom::ale_regridding_and_remapping->mom_open_boundary::remap_obc_fields mom_particles_mod::particles_to_z_space particles_to_z_space mom::ale_regridding_and_remapping->mom_particles_mod::particles_to_z_space mom_set_visc::remap_vertvisc_aux_vars remap_vertvisc_aux_vars mom::ale_regridding_and_remapping->mom_set_visc::remap_vertvisc_aux_vars mom_tracer_registry::postale_tracer_diagnostics postALE_tracer_diagnostics mom::ale_regridding_and_remapping->mom_tracer_registry::postale_tracer_diagnostics mom_tracer_registry::preale_tracer_diagnostics preALE_tracer_diagnostics mom::ale_regridding_and_remapping->mom_tracer_registry::preale_tracer_diagnostics
Text view
Callers call graph
Callers of mom::ale_regridding_and_remapping calls cluster_mom MOM mom::ale_regridding_and_remapping ALE_regridding_and_remapping [private/internal] mom::step_mom step_MOM mom::step_mom->mom::ale_regridding_and_remapping
Text view
subroutine post_diabatic_halo_updates(CS, G, GV, US, u, v, h, tv)

post_diabatic_halo_updates does halo updates and calculates derived thermodynamic quantities (e.g. specific volume). This must be done after the diabatic step regardless of is ALE cooridinates are used or not.

Parameters
  • CS [inout]

    Master MOM control structure

  • G [inout]

    ocean grid structure

  • GV [inout]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • u [inout]

    zonal velocity [L T-1 ~> m s-1]

  • v [inout]

    meridional velocity [L T-1 ~> m s-1]

  • h [inout]

    layer thickness [H ~> m or kg m-2]

  • tv [inout]

    A structure pointing to various thermodynamic variables

Callees call graph
Callees of mom::post_diabatic_halo_updates calls cluster_mom MOM cluster_mom_debugging MOM_debugging cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_interface_heights MOM_interface_heights cluster_mom_particles_mod MOM_particles_mod mom::post_diabatic_halo_updates post_diabatic_halo_updates [private/internal] mom_debugging::query_debugging_checks query_debugging_checks mom::post_diabatic_halo_updates->mom_debugging::query_debugging_checks mom_domain_infra::do_group_pass do_group_pass mom::post_diabatic_halo_updates->mom_domain_infra::do_group_pass mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::post_diabatic_halo_updates->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_var pass_var (interface) mom::post_diabatic_halo_updates->mom_domain_infra::interface::pass_var mom_error_handler::calltree_enter callTree_enter mom::post_diabatic_halo_updates->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::post_diabatic_halo_updates->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom::post_diabatic_halo_updates->mom_error_handler::calltree_showquery mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::post_diabatic_halo_updates->mom_interface_heights::calc_derived_thermo mom_particles_mod::particles_to_k_space particles_to_k_space mom::post_diabatic_halo_updates->mom_particles_mod::particles_to_k_space
Text view
Callers call graph
Callers of mom::post_diabatic_halo_updates calls cluster_mom MOM mom::post_diabatic_halo_updates post_diabatic_halo_updates [private/internal] mom::step_mom step_MOM mom::step_mom->mom::post_diabatic_halo_updates
Text view
subroutine step_offline(forces, fluxes, sfc_state, Time_start, time_interval, CS)

step_offline is the main driver for running tracers offline in MOM6. This has been primarily developed with ALE configurations in mind. Some work has been done in isopycnal configuration, but the work is very preliminary. Some more detail about this capability along with some of the subroutines called here can be found in tracers/MOM_offline_control.F90

Parameters
  • forces [in]

    A structure with the driving mechanical forces

  • fluxes [inout]

    pointers to forcing fields

  • sfc_state [inout]

    surface ocean state

  • Time_start [in]

    starting time of a segment, as a time type

  • time_interval [in]

    time interval [T ~> s]

  • CS [inout]

    control structure from initialize_MOM

  • first_iter

    True if this is the first time step_offline has been called in a given interval

  • last_iter

    True if this is the last time step_tracer is to be called in an offline interval

  • do_vertical

    If enough time has elapsed, do the diabatic tracer sources/sinks

  • adv_converged

    True if all the horizontal fluxes have been used

Callees call graph
Callees of mom::step_offline calls cluster_mom MOM cluster_mom_ale MOM_ALE cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_handler MOM_error_handler cluster_mom_interface_heights MOM_interface_heights cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_offline_main MOM_offline_main cluster_mom_time_manager MOM_time_manager cluster_mom_tracer_hor_diff MOM_tracer_hor_diff mom::adjust_ssh_for_p_atm adjust_ssh_for_p_atm [private/internal] mom::extract_surface_state extract_surface_state mom::step_offline step_offline mom::step_offline->mom::adjust_ssh_for_p_atm mom::step_offline->mom::extract_surface_state mom_ale::ale_regrid ALE_regrid mom::step_offline->mom_ale::ale_regrid mom_ale::ale_remap_tracers ALE_remap_tracers mom::step_offline->mom_ale::ale_remap_tracers mom_ale::pre_ale_adjustments pre_ALE_adjustments mom::step_offline->mom_ale::pre_ale_adjustments mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::step_offline->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::step_offline->mom_cpu_clock_infra::cpu_clock_end mom_diag_mediator::disable_averaging disable_averaging mom::step_offline->mom_diag_mediator::disable_averaging mom_diag_mediator::enable_averages enable_averages mom::step_offline->mom_diag_mediator::enable_averages mom_domain_infra::interface::pass_var pass_var (interface) mom::step_offline->mom_domain_infra::interface::pass_var mom_error_handler::mom_error MOM_error mom::step_offline->mom_error_handler::mom_error mom_error_handler::mom_mesg MOM_mesg mom::step_offline->mom_error_handler::mom_mesg mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::step_offline->mom_interface_heights::calc_derived_thermo mom_lateral_mixing_coeffs::calc_depth_function calc_depth_function mom::step_offline->mom_lateral_mixing_coeffs::calc_depth_function mom_lateral_mixing_coeffs::calc_resoln_function calc_resoln_function mom::step_offline->mom_lateral_mixing_coeffs::calc_resoln_function mom_lateral_mixing_coeffs::calc_slope_functions calc_slope_functions mom::step_offline->mom_lateral_mixing_coeffs::calc_slope_functions mom_offline_main::extract_offline_main extract_offline_main mom::step_offline->mom_offline_main::extract_offline_main mom_offline_main::offline_advection_ale offline_advection_ale mom::step_offline->mom_offline_main::offline_advection_ale mom_offline_main::offline_advection_layer offline_advection_layer mom::step_offline->mom_offline_main::offline_advection_layer mom_offline_main::offline_diabatic_ale offline_diabatic_ale mom::step_offline->mom_offline_main::offline_diabatic_ale mom_offline_main::offline_fw_fluxes_into_ocean offline_fw_fluxes_into_ocean mom::step_offline->mom_offline_main::offline_fw_fluxes_into_ocean mom_offline_main::offline_fw_fluxes_out_ocean offline_fw_fluxes_out_ocean mom::step_offline->mom_offline_main::offline_fw_fluxes_out_ocean mom_offline_main::offline_redistribute_residual offline_redistribute_residual mom::step_offline->mom_offline_main::offline_redistribute_residual mom_offline_main::post_offline_convergence_diags post_offline_convergence_diags mom::step_offline->mom_offline_main::post_offline_convergence_diags mom_offline_main::update_offline_fields update_offline_fields mom::step_offline->mom_offline_main::update_offline_fields mom_time_manager::real_to_time real_to_time mom::step_offline->mom_time_manager::real_to_time mom_tracer_hor_diff::tracer_hordiff tracer_hordiff mom::step_offline->mom_tracer_hor_diff::tracer_hordiff
Text view
Callers call graph
Callers of mom::step_offline calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::step_offline step_offline External::mom6->mom::step_offline
Text view

External calls

time_manager_mod
  • increment_date (time_manager_mod::increment_date)

subroutine initialize_MOM(Time, Time_init, param_file, dirs, CS, Time_in, offline_tracer_mode, input_restart_file, diag_ptr, count_calls, tracer_flow_CSp, ice_shelf_CSp, waves_CSp, ensemble_num, calve_ice_shelf_bergs)

Initialize MOM, including memory allocation, setting up parameters and diagnostics, initializing the ocean state variables, and initializing subsidiary modules

Parameters
  • Time [inout]

    model time, set in this routine

  • Time_init [in]

    The start time for the coupled model's calendar

  • param_file [out]

    structure indicating parameter file to parse

  • dirs [out]

    structure with directory paths

  • CS [inout]

    pointer set in this routine to MOM control structure

  • Time_in [in]

    time passed to MOM_initialize_state when model is not being started from a restart file

  • offline_tracer_mode [out]

    True is returned if tracers are being run offline

  • input_restart_file [in]

    If present, name of restart file to read

  • diag_ptr

    A pointer set in this routine to the diagnostic regulatory structure

  • tracer_flow_CSp

    A pointer set in this routine to the tracer flow control structure.

  • count_calls [in]

    If true, nstep_tot counts the number of calls to step_MOM instead of the number of dynamics timesteps.

  • ice_shelf_CSp

    A pointer to an ice shelf control structure

  • Waves_CSp

    An optional pointer to a wave property CS

  • ensemble_num

    Ensemble index provided by the cap (instead of FMS ensemble manager)

  • calve_ice_shelf_bergs

    If true, will add point iceberg calving variables to the ice shelf restart

Callees call graph
Callees of mom::initialize_mom calls cluster_mom MOM cluster_mom_ale MOM_ALE cluster_mom_ale_sponge MOM_ALE_sponge cluster_mom_array_transform MOM_array_transform cluster_mom_boundary_update MOM_boundary_update cluster_mom_check_scaling MOM_check_scaling cluster_mom_checksums MOM_checksums cluster_mom_coms_infra MOM_coms_infra cluster_mom_coord_initialization MOM_coord_initialization cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_database_comms MOM_database_comms cluster_mom_debugging MOM_debugging cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_diagnostics MOM_diagnostics cluster_mom_domain_infra MOM_domain_infra cluster_mom_domains MOM_domains cluster_mom_dyn_horgrid MOM_dyn_horgrid 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 cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_error_infra MOM_error_infra cluster_mom_file_parser MOM_file_parser cluster_mom_fixed_initialization MOM_fixed_initialization cluster_mom_get_input MOM_get_input cluster_mom_grid MOM_grid cluster_mom_hor_index MOM_hor_index cluster_mom_ice_shelf MOM_ice_shelf cluster_mom_interface_filter MOM_interface_filter cluster_mom_interface_heights MOM_interface_heights cluster_mom_io MOM_io cluster_mom_kappa_shear MOM_kappa_shear cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_meke MOM_MEKE cluster_mom_mixed_layer_restrat MOM_mixed_layer_restrat cluster_mom_obsolete_diagnostics MOM_obsolete_diagnostics cluster_mom_obsolete_params MOM_obsolete_params cluster_mom_oda_driver_mod MOM_oda_driver_mod cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_offline_main MOM_offline_main cluster_mom_open_boundary MOM_open_boundary cluster_mom_porous_barriers MOM_porous_barriers cluster_mom_restart MOM_restart cluster_mom_safe_alloc MOM_safe_alloc cluster_mom_set_visc MOM_set_visc cluster_mom_shared_initialization MOM_shared_initialization cluster_mom_sponge MOM_sponge cluster_mom_state_initialization MOM_state_initialization cluster_mom_stoch_eos MOM_stoch_eos cluster_mom_stochastics MOM_stochastics cluster_mom_sum_output MOM_sum_output cluster_mom_thickness_diffuse MOM_thickness_diffuse cluster_mom_time_manager MOM_time_manager cluster_mom_tracer_advect MOM_tracer_advect cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_tracer_hor_diff MOM_tracer_hor_diff cluster_mom_tracer_registry MOM_tracer_registry cluster_mom_transcribe_grid MOM_transcribe_grid cluster_mom_unit_scaling MOM_unit_scaling cluster_mom_unit_tests MOM_unit_tests cluster_mom_verticalgrid MOM_verticalGrid cluster_mom_wave_interface MOM_wave_interface mom::initialize_mom initialize_MOM mom::mom_timing_init MOM_timing_init [private/internal] mom::initialize_mom->mom::mom_timing_init mom::register_diags register_diags [private/internal] mom::initialize_mom->mom::register_diags mom::rotate_initial_state rotate_initial_state [private/internal] mom::initialize_mom->mom::rotate_initial_state mom::set_restart_fields set_restart_fields [private/internal] mom::initialize_mom->mom::set_restart_fields mom_ale::adjustgridforintegrity adjustGridForIntegrity mom::initialize_mom->mom_ale::adjustgridforintegrity mom_ale::ale_init ALE_init mom::initialize_mom->mom_ale::ale_init mom_ale::ale_register_diags ALE_register_diags mom::initialize_mom->mom_ale::ale_register_diags mom_ale::ale_regrid ALE_regrid mom::initialize_mom->mom_ale::ale_regrid mom_ale::ale_remap_init_conds ALE_remap_init_conds mom::initialize_mom->mom_ale::ale_remap_init_conds mom_ale::ale_remap_set_h_vel ALE_remap_set_h_vel mom::initialize_mom->mom_ale::ale_remap_set_h_vel mom_ale::ale_remap_set_h_vel_via_dz ALE_remap_set_h_vel_via_dz mom::initialize_mom->mom_ale::ale_remap_set_h_vel_via_dz mom_ale::ale_remap_tracers ALE_remap_tracers mom::initialize_mom->mom_ale::ale_remap_tracers mom_ale::ale_remap_velocities ALE_remap_velocities mom::initialize_mom->mom_ale::ale_remap_velocities mom_ale::ale_set_extrap_boundaries ALE_set_extrap_boundaries mom::initialize_mom->mom_ale::ale_set_extrap_boundaries mom_ale::ale_updateverticalgridtype ALE_updateVerticalGridType mom::initialize_mom->mom_ale::ale_updateverticalgridtype mom_ale::ale_writecoordinatefile ALE_writeCoordinateFile mom::initialize_mom->mom_ale::ale_writecoordinatefile mom_ale::pre_ale_adjustments pre_ALE_adjustments mom::initialize_mom->mom_ale::pre_ale_adjustments mom_ale_sponge::init_ale_sponge_diags init_ALE_sponge_diags mom::initialize_mom->mom_ale_sponge::init_ale_sponge_diags mom_ale_sponge::rotate_ale_sponge rotate_ALE_sponge mom::initialize_mom->mom_ale_sponge::rotate_ale_sponge mom_ale_sponge::update_ale_sponge_field update_ALE_sponge_field mom::initialize_mom->mom_ale_sponge::update_ale_sponge_field mom_array_transform::interface::rotate_array rotate_array (interface) mom::initialize_mom->mom_array_transform::interface::rotate_array mom_boundary_update::call_obc_register call_OBC_register mom::initialize_mom->mom_boundary_update::call_obc_register mom_check_scaling::check_mom6_scaling_factors check_MOM6_scaling_factors mom::initialize_mom->mom_check_scaling::check_mom6_scaling_factors mom_checksums::interface::hchksum hchksum (interface) mom::initialize_mom->mom_checksums::interface::hchksum mom_checksums::interface::uvchksum uvchksum (interface) mom::initialize_mom->mom_checksums::interface::uvchksum mom_coms_infra::num_pes num_PEs mom::initialize_mom->mom_coms_infra::num_pes mom_coord_initialization::mom_initialize_coord MOM_initialize_coord mom::initialize_mom->mom_coord_initialization::mom_initialize_coord mom_coord_initialization::write_vertgrid_file write_vertgrid_file mom::initialize_mom->mom_coord_initialization::write_vertgrid_file mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::initialize_mom->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::initialize_mom->mom_cpu_clock_infra::cpu_clock_end mom_cpu_clock_infra::cpu_clock_id cpu_clock_id mom::initialize_mom->mom_cpu_clock_infra::cpu_clock_id mom_database_comms::database_comms_init database_comms_init mom::initialize_mom->mom_database_comms::database_comms_init mom_debugging::mom_debugging_init MOM_debugging_init mom::initialize_mom->mom_debugging::mom_debugging_init mom_diabatic_driver::adiabatic_driver_init adiabatic_driver_init mom::initialize_mom->mom_diabatic_driver::adiabatic_driver_init mom_diabatic_driver::diabatic_driver_init diabatic_driver_init mom::initialize_mom->mom_diabatic_driver::diabatic_driver_init mom_diabatic_driver::extract_diabatic_member extract_diabatic_member mom::initialize_mom->mom_diabatic_driver::extract_diabatic_member mom_diabatic_driver::register_diabatic_restarts register_diabatic_restarts mom::initialize_mom->mom_diabatic_driver::register_diabatic_restarts mom_diag_mediator::diag_copy_diag_to_storage diag_copy_diag_to_storage mom::initialize_mom->mom_diag_mediator::diag_copy_diag_to_storage mom_diag_mediator::diag_grid_storage_init diag_grid_storage_init mom::initialize_mom->mom_diag_mediator::diag_grid_storage_init mom_diag_mediator::diag_masks_set diag_masks_set mom::initialize_mom->mom_diag_mediator::diag_masks_set mom_diag_mediator::diag_mediator_infrastructure_init diag_mediator_infrastructure_init mom::initialize_mom->mom_diag_mediator::diag_mediator_infrastructure_init mom_diag_mediator::diag_mediator_init diag_mediator_init mom::initialize_mom->mom_diag_mediator::diag_mediator_init mom_diag_mediator::diag_mediator_set_obc_info diag_mediator_set_OBC_info mom::initialize_mom->mom_diag_mediator::diag_mediator_set_obc_info mom_diag_mediator::diag_set_state_ptrs diag_set_state_ptrs mom::initialize_mom->mom_diag_mediator::diag_set_state_ptrs mom_diag_mediator::diag_update_remap_grids diag_update_remap_grids mom::initialize_mom->mom_diag_mediator::diag_update_remap_grids mom_diag_mediator::register_cell_measure register_cell_measure mom::initialize_mom->mom_diag_mediator::register_cell_measure mom_diag_mediator::set_axes_info set_axes_info mom::initialize_mom->mom_diag_mediator::set_axes_info mom_diag_mediator::set_masks_for_axes set_masks_for_axes mom::initialize_mom->mom_diag_mediator::set_masks_for_axes mom_diagnostics::mom_diagnostics_init MOM_diagnostics_init mom::initialize_mom->mom_diagnostics::mom_diagnostics_init mom_diagnostics::register_surface_diags register_surface_diags mom::initialize_mom->mom_diagnostics::register_surface_diags mom_diagnostics::register_transport_diags register_transport_diags mom::initialize_mom->mom_diagnostics::register_transport_diags mom_diagnostics::write_static_fields write_static_fields mom::initialize_mom->mom_diagnostics::write_static_fields mom_domain_infra::deallocate_mom_domain deallocate_MOM_domain mom::initialize_mom->mom_domain_infra::deallocate_mom_domain mom_domain_infra::do_group_pass do_group_pass mom::initialize_mom->mom_domain_infra::do_group_pass mom_domain_infra::interface::clone_mom_domain clone_MOM_domain (interface) mom::initialize_mom->mom_domain_infra::interface::clone_mom_domain mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::initialize_mom->mom_domain_infra::interface::create_group_pass mom_domain_infra::interface::pass_var pass_var (interface) mom::initialize_mom->mom_domain_infra::interface::pass_var mom_domains::mom_domains_init MOM_domains_init mom::initialize_mom->mom_domains::mom_domains_init mom_dyn_horgrid::create_dyn_horgrid create_dyn_horgrid mom::initialize_mom->mom_dyn_horgrid::create_dyn_horgrid mom_dyn_horgrid::destroy_dyn_horgrid destroy_dyn_horgrid mom::initialize_mom->mom_dyn_horgrid::destroy_dyn_horgrid mom_dyn_horgrid::rotate_dyn_horgrid rotate_dyn_horgrid mom::initialize_mom->mom_dyn_horgrid::rotate_dyn_horgrid mom_dynamics_split_rk2::init_dyn_split_rk2_diabatic init_dyn_split_RK2_diabatic mom::initialize_mom->mom_dynamics_split_rk2::init_dyn_split_rk2_diabatic mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom::initialize_mom->mom_dynamics_split_rk2::initialize_dyn_split_rk2 mom_dynamics_split_rk2::register_restarts_dyn_split_rk2 register_restarts_dyn_split_RK2 mom::initialize_mom->mom_dynamics_split_rk2::register_restarts_dyn_split_rk2 mom_dynamics_split_rk2b::initialize_dyn_split_rk2b initialize_dyn_split_RK2b mom::initialize_mom->mom_dynamics_split_rk2b::initialize_dyn_split_rk2b mom_dynamics_split_rk2b::register_restarts_dyn_split_rk2b register_restarts_dyn_split_RK2b mom::initialize_mom->mom_dynamics_split_rk2b::register_restarts_dyn_split_rk2b mom_dynamics_unsplit::initialize_dyn_unsplit initialize_dyn_unsplit mom::initialize_mom->mom_dynamics_unsplit::initialize_dyn_unsplit mom_dynamics_unsplit::register_restarts_dyn_unsplit register_restarts_dyn_unsplit mom::initialize_mom->mom_dynamics_unsplit::register_restarts_dyn_unsplit mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 initialize_dyn_unsplit_RK2 mom::initialize_mom->mom_dynamics_unsplit_rk2::initialize_dyn_unsplit_rk2 mom_dynamics_unsplit_rk2::register_restarts_dyn_unsplit_rk2 register_restarts_dyn_unsplit_RK2 mom::initialize_mom->mom_dynamics_unsplit_rk2::register_restarts_dyn_unsplit_rk2 mom_eos::eos_init EOS_init mom::initialize_mom->mom_eos::eos_init mom_error_handler::calltree_enter callTree_enter mom::initialize_mom->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::initialize_mom->mom_error_handler::calltree_leave mom_error_handler::calltree_showquery callTree_showQuery mom::initialize_mom->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::initialize_mom->mom_error_handler::calltree_waypoint mom_error_handler::mom_error MOM_error mom::initialize_mom->mom_error_handler::mom_error mom_error_handler::mom_set_verbosity MOM_set_verbosity mom::initialize_mom->mom_error_handler::mom_set_verbosity mom_error_infra::is_root_pe is_root_pe mom::initialize_mom->mom_error_infra::is_root_pe mom_file_parser::closeparameterblock closeParameterBlock mom::initialize_mom->mom_file_parser::closeparameterblock mom_file_parser::interface::get_param get_param (interface) mom::initialize_mom->mom_file_parser::interface::get_param mom_file_parser::interface::log_version log_version (interface) mom::initialize_mom->mom_file_parser::interface::log_version mom_file_parser::interface::read_param read_param (interface) mom::initialize_mom->mom_file_parser::interface::read_param mom_file_parser::openparameterblock openParameterBlock mom::initialize_mom->mom_file_parser::openparameterblock mom_fixed_initialization::mom_initialize_fixed MOM_initialize_fixed mom::initialize_mom->mom_fixed_initialization::mom_initialize_fixed mom_get_input::get_mom_input get_MOM_input mom::initialize_mom->mom_get_input::get_mom_input mom_grid::mom_grid_end MOM_grid_end mom::initialize_mom->mom_grid::mom_grid_end mom_grid::mom_grid_init MOM_grid_init mom::initialize_mom->mom_grid::mom_grid_init mom_grid::set_first_direction set_first_direction mom::initialize_mom->mom_grid::set_first_direction mom_hor_index::hor_index_init hor_index_init mom::initialize_mom->mom_hor_index::hor_index_init mom_hor_index::rotate_hor_index rotate_hor_index mom::initialize_mom->mom_hor_index::rotate_hor_index mom_ice_shelf::ice_shelf_query ice_shelf_query mom::initialize_mom->mom_ice_shelf::ice_shelf_query mom_ice_shelf::initialize_ice_shelf initialize_ice_shelf mom::initialize_mom->mom_ice_shelf::initialize_ice_shelf mom_interface_filter::interface_filter_init interface_filter_init mom::initialize_mom->mom_interface_filter::interface_filter_init mom_interface_heights::calc_derived_thermo calc_derived_thermo mom::initialize_mom->mom_interface_heights::calc_derived_thermo mom_interface_heights::interface::find_eta find_eta (interface) mom::initialize_mom->mom_interface_heights::interface::find_eta mom_io::mom_io_init MOM_io_init mom::initialize_mom->mom_io::mom_io_init mom_io::var_desc var_desc mom::initialize_mom->mom_io::var_desc mom_kappa_shear::kappa_shear_at_vertex kappa_shear_at_vertex mom::initialize_mom->mom_kappa_shear::kappa_shear_at_vertex mom_lateral_mixing_coeffs::varmix_init VarMix_init mom::initialize_mom->mom_lateral_mixing_coeffs::varmix_init mom_meke::meke_alloc_register_restart MEKE_alloc_register_restart mom::initialize_mom->mom_meke::meke_alloc_register_restart mom_meke::meke_init MEKE_init mom::initialize_mom->mom_meke::meke_init mom_mixed_layer_restrat::mixedlayer_restrat_init mixedlayer_restrat_init mom::initialize_mom->mom_mixed_layer_restrat::mixedlayer_restrat_init mom_mixed_layer_restrat::mixedlayer_restrat_register_restarts mixedlayer_restrat_register_restarts mom::initialize_mom->mom_mixed_layer_restrat::mixedlayer_restrat_register_restarts mom_obsolete_diagnostics::register_obsolete_diagnostics register_obsolete_diagnostics mom::initialize_mom->mom_obsolete_diagnostics::register_obsolete_diagnostics mom_obsolete_params::find_obsolete_params find_obsolete_params mom::initialize_mom->mom_obsolete_params::find_obsolete_params mom_oda_driver_mod::init_oda init_oda mom::initialize_mom->mom_oda_driver_mod::init_oda mom_oda_incupd::init_oda_incupd_diags init_oda_incupd_diags mom::initialize_mom->mom_oda_incupd::init_oda_incupd_diags mom_offline_main::insert_offline_main insert_offline_main mom::initialize_mom->mom_offline_main::insert_offline_main mom_offline_main::offline_transport_init offline_transport_init mom::initialize_mom->mom_offline_main::offline_transport_init mom_offline_main::register_diags_offline_transport register_diags_offline_transport mom::initialize_mom->mom_offline_main::register_diags_offline_transport mom_open_boundary::copy_obc_radiation_coefs copy_OBC_radiation_coefs mom::initialize_mom->mom_open_boundary::copy_obc_radiation_coefs mom_open_boundary::copy_obc_thickness_reservoirs copy_OBC_thickness_reservoirs mom::initialize_mom->mom_open_boundary::copy_obc_thickness_reservoirs mom_open_boundary::copy_obc_tracer_reservoirs copy_OBC_tracer_reservoirs mom::initialize_mom->mom_open_boundary::copy_obc_tracer_reservoirs mom_open_boundary::initialize_obc_segment_reservoirs initialize_OBC_segment_reservoirs mom::initialize_mom->mom_open_boundary::initialize_obc_segment_reservoirs mom_open_boundary::initialize_segment_data initialize_segment_data mom::initialize_mom->mom_open_boundary::initialize_segment_data mom_open_boundary::open_boundary_end open_boundary_end mom::initialize_mom->mom_open_boundary::open_boundary_end mom_open_boundary::open_boundary_halo_update open_boundary_halo_update mom::initialize_mom->mom_open_boundary::open_boundary_halo_update mom_open_boundary::open_boundary_register_restarts open_boundary_register_restarts mom::initialize_mom->mom_open_boundary::open_boundary_register_restarts mom_open_boundary::open_boundary_setup_vert open_boundary_setup_vert mom::initialize_mom->mom_open_boundary::open_boundary_setup_vert mom_open_boundary::read_obc_dynamics_data read_OBC_dynamics_data mom::initialize_mom->mom_open_boundary::read_obc_dynamics_data mom_open_boundary::read_obc_tracer_data read_OBC_tracer_data mom::initialize_mom->mom_open_boundary::read_obc_tracer_data mom_open_boundary::register_temp_salt_segments register_temp_salt_segments mom::initialize_mom->mom_open_boundary::register_temp_salt_segments mom_open_boundary::rotate_obc_config rotate_OBC_config mom::initialize_mom->mom_open_boundary::rotate_obc_config mom_open_boundary::segment_thickness_reservoir_init segment_thickness_reservoir_init mom::initialize_mom->mom_open_boundary::segment_thickness_reservoir_init mom_open_boundary::setup_obc_thickness_reservoirs setup_OBC_thickness_reservoirs mom::initialize_mom->mom_open_boundary::setup_obc_thickness_reservoirs mom_open_boundary::setup_obc_tracer_reservoirs setup_OBC_tracer_reservoirs mom::initialize_mom->mom_open_boundary::setup_obc_tracer_reservoirs mom_open_boundary::update_obc_dynamics_data update_OBC_dynamics_data mom::initialize_mom->mom_open_boundary::update_obc_dynamics_data mom_open_boundary::update_obc_tracer_data update_OBC_tracer_data mom::initialize_mom->mom_open_boundary::update_obc_tracer_data mom_open_boundary::write_obc_info write_OBC_info mom::initialize_mom->mom_open_boundary::write_obc_info mom_porous_barriers::porous_barriers_init porous_barriers_init mom::initialize_mom->mom_porous_barriers::porous_barriers_init mom_restart::determine_is_new_run determine_is_new_run mom::initialize_mom->mom_restart::determine_is_new_run mom_restart::interface::query_initialized query_initialized (interface) mom::initialize_mom->mom_restart::interface::query_initialized mom_restart::interface::set_initialized set_initialized (interface) mom::initialize_mom->mom_restart::interface::set_initialized mom_restart::is_new_run is_new_run mom::initialize_mom->mom_restart::is_new_run mom_restart::restart_init restart_init mom::initialize_mom->mom_restart::restart_init mom_restart::restart_registry_lock restart_registry_lock mom::initialize_mom->mom_restart::restart_registry_lock mom_safe_alloc::interface::safe_alloc_ptr safe_alloc_ptr (interface) mom::initialize_mom->mom_safe_alloc::interface::safe_alloc_ptr mom_set_visc::set_visc_init set_visc_init mom::initialize_mom->mom_set_visc::set_visc_init mom_set_visc::set_visc_register_restarts set_visc_register_restarts mom::initialize_mom->mom_set_visc::set_visc_register_restarts mom_shared_initialization::write_ocean_geometry_file write_ocean_geometry_file mom::initialize_mom->mom_shared_initialization::write_ocean_geometry_file mom_sponge::init_sponge_diags init_sponge_diags mom::initialize_mom->mom_sponge::init_sponge_diags mom_state_initialization::mom_initialize_obcs MOM_initialize_OBCs mom::initialize_mom->mom_state_initialization::mom_initialize_obcs mom_state_initialization::mom_initialize_state MOM_initialize_state mom::initialize_mom->mom_state_initialization::mom_initialize_state mom_stoch_eos::mom_stoch_eos_init MOM_stoch_eos_init mom::initialize_mom->mom_stoch_eos::mom_stoch_eos_init mom_stoch_eos::stoch_eos_register_restarts stoch_EOS_register_restarts mom::initialize_mom->mom_stoch_eos::stoch_eos_register_restarts mom_stochastics::stochastics_init stochastics_init mom::initialize_mom->mom_stochastics::stochastics_init mom_sum_output::mom_sum_output_init MOM_sum_output_init mom::initialize_mom->mom_sum_output::mom_sum_output_init mom_thickness_diffuse::thickness_diffuse_init thickness_diffuse_init mom::initialize_mom->mom_thickness_diffuse::thickness_diffuse_init mom_time_manager::real_to_time real_to_time mom::initialize_mom->mom_time_manager::real_to_time mom_tracer_advect::tracer_advect_init tracer_advect_init mom::initialize_mom->mom_tracer_advect::tracer_advect_init mom_tracer_flow_control::call_tracer_register call_tracer_register mom::initialize_mom->mom_tracer_flow_control::call_tracer_register mom_tracer_flow_control::call_tracer_register_obc_segments call_tracer_register_obc_segments mom::initialize_mom->mom_tracer_flow_control::call_tracer_register_obc_segments mom_tracer_flow_control::tracer_flow_control_init tracer_flow_control_init mom::initialize_mom->mom_tracer_flow_control::tracer_flow_control_init mom_tracer_hor_diff::tracer_hor_diff_init tracer_hor_diff_init mom::initialize_mom->mom_tracer_hor_diff::tracer_hor_diff_init mom_tracer_registry::lock_tracer_registry lock_tracer_registry mom::initialize_mom->mom_tracer_registry::lock_tracer_registry mom_tracer_registry::register_tracer register_tracer mom::initialize_mom->mom_tracer_registry::register_tracer mom_tracer_registry::register_tracer_diagnostics register_tracer_diagnostics mom::initialize_mom->mom_tracer_registry::register_tracer_diagnostics mom_tracer_registry::tracer_registry_init tracer_registry_init mom::initialize_mom->mom_tracer_registry::tracer_registry_init mom_transcribe_grid::copy_dyngrid_to_mom_grid copy_dyngrid_to_MOM_grid mom::initialize_mom->mom_transcribe_grid::copy_dyngrid_to_mom_grid mom_transcribe_grid::copy_mom_grid_to_dyngrid copy_MOM_grid_to_dyngrid mom::initialize_mom->mom_transcribe_grid::copy_mom_grid_to_dyngrid mom_unit_scaling::unit_scaling_init unit_scaling_init mom::initialize_mom->mom_unit_scaling::unit_scaling_init mom_unit_tests::unit_tests unit_tests mom::initialize_mom->mom_unit_tests::unit_tests mom_verticalgrid::get_tr_flux_units get_tr_flux_units mom::initialize_mom->mom_verticalgrid::get_tr_flux_units mom_verticalgrid::verticalgridinit verticalGridInit mom::initialize_mom->mom_verticalgrid::verticalgridinit mom_wave_interface::waves_register_restarts waves_register_restarts mom::initialize_mom->mom_wave_interface::waves_register_restarts
Text view
Callers call graph
Callers of mom::initialize_mom calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::initialize_mom initialize_MOM External::mom6->mom::initialize_mom
Text view
subroutine finish_MOM_initialization(Time, dirs, CS)

Finishes initializing MOM and writes out the initial conditions.

Parameters
  • Time [in]

    model time, used in this routine

  • dirs [in]

    structure with directory paths

  • CS [inout]

    MOM control structure

Callees call graph
Callees of mom::finish_mom_initialization calls cluster_mom MOM cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_error_handler MOM_error_handler cluster_mom_interface_heights MOM_interface_heights cluster_mom_particles_mod MOM_particles_mod cluster_mom_restart MOM_restart cluster_mom_sum_output MOM_sum_output mom::finish_mom_initialization finish_MOM_initialization mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::finish_mom_initialization->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::finish_mom_initialization->mom_cpu_clock_infra::cpu_clock_end mom_error_handler::calltree_enter callTree_enter mom::finish_mom_initialization->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::finish_mom_initialization->mom_error_handler::calltree_leave mom_interface_heights::interface::find_eta find_eta (interface) mom::finish_mom_initialization->mom_interface_heights::interface::find_eta mom_particles_mod::particles_init particles_init mom::finish_mom_initialization->mom_particles_mod::particles_init mom_restart::interface::register_restart_field register_restart_field (interface) mom::finish_mom_initialization->mom_restart::interface::register_restart_field mom_restart::restart_registry_lock restart_registry_lock mom::finish_mom_initialization->mom_restart::restart_registry_lock mom_restart::save_restart save_restart mom::finish_mom_initialization->mom_restart::save_restart mom_sum_output::write_energy write_energy mom::finish_mom_initialization->mom_sum_output::write_energy
Text view
Callers call graph
Callers of mom::finish_mom_initialization calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::finish_mom_initialization finish_MOM_initialization External::mom6->mom::finish_mom_initialization
Text view
subroutine register_diags(Time, G, GV, US, IDs, diag)

Register certain diagnostics

Parameters
  • Time [in]

    current model time

  • G [in]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • US [inout]

    A dimensional unit scaling type

  • IDs [inout]

    A structure with the diagnostic IDs.

  • diag [inout]

    regulates diagnostic output

Callees call graph
Callees of mom::register_diags calls cluster_mom MOM cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_verticalgrid MOM_verticalGrid mom::register_diags register_diags [private/internal] mom_diag_mediator::register_diag_field register_diag_field mom::register_diags->mom_diag_mediator::register_diag_field mom_verticalgrid::get_thickness_units get_thickness_units mom::register_diags->mom_verticalgrid::get_thickness_units
Text view
Callers call graph
Callers of mom::register_diags calls cluster_mom MOM mom::initialize_mom initialize_MOM mom::register_diags register_diags [private/internal] mom::initialize_mom->mom::register_diags
Text view
subroutine MOM_timing_init(CS)

Set up CPU clock IDs for timing various subroutines.

Parameters
  • CS [in]

    control structure set up by initialize_MOM.

Callees call graph
Callees of mom::mom_timing_init calls cluster_mom MOM cluster_mom_cpu_clock_infra MOM_cpu_clock_infra mom::mom_timing_init MOM_timing_init [private/internal] mom_cpu_clock_infra::cpu_clock_id cpu_clock_id mom::mom_timing_init->mom_cpu_clock_infra::cpu_clock_id
Text view
Callers call graph
Callers of mom::mom_timing_init calls cluster_mom MOM mom::initialize_mom initialize_MOM mom::mom_timing_init MOM_timing_init [private/internal] mom::initialize_mom->mom::mom_timing_init
Text view
subroutine set_restart_fields(GV, US, param_file, CS, restart_CSp)

Set the fields that are needed for bitwise identical restarting the time stepping scheme. In addition to those specified here directly, there may be fields related to the forcing or to the barotropic solver that are needed; these are specified in sub- routines that are called from this one.

This routine should be altered if there are any changes to the time stepping scheme. The CHECK_RESTART facility may be used to confirm that all needed restart fields have been included.

Parameters
  • GV [inout]

    ocean vertical grid structure

  • US [inout]

    A dimensional unit scaling type

  • param_file [in]

    opened file for parsing to get parameters

  • CS [in]

    control structure set up by initialize_MOM

  • restart_CSp

    pointer to the restart control structure that will be used for MOM.

Callees call graph
Callees of mom::set_restart_fields calls cluster_mom MOM cluster_mom_file_parser MOM_file_parser cluster_mom_io MOM_io cluster_mom_restart MOM_restart cluster_mom_verticalgrid MOM_verticalGrid mom::set_restart_fields set_restart_fields [private/internal] mom_file_parser::interface::get_param get_param (interface) mom::set_restart_fields->mom_file_parser::interface::get_param mom_io::var_desc var_desc mom::set_restart_fields->mom_io::var_desc mom_restart::interface::register_restart_field register_restart_field (interface) mom::set_restart_fields->mom_restart::interface::register_restart_field mom_restart::interface::register_restart_pair register_restart_pair (interface) mom::set_restart_fields->mom_restart::interface::register_restart_pair mom_verticalgrid::get_flux_units get_flux_units mom::set_restart_fields->mom_verticalgrid::get_flux_units mom_verticalgrid::get_thickness_units get_thickness_units mom::set_restart_fields->mom_verticalgrid::get_thickness_units
Text view
Callers call graph
Callers of mom::set_restart_fields calls cluster_mom MOM mom::initialize_mom initialize_MOM mom::set_restart_fields set_restart_fields [private/internal] mom::initialize_mom->mom::set_restart_fields
Text view
subroutine adjust_ssh_for_p_atm(tv, G, GV, US, ssh, p_atm, use_EOS)

Apply a correction to the sea surface height to compensate for the atmospheric pressure (the inverse barometer).

Parameters
  • tv [in]

    A structure pointing to various thermodynamic variables

  • G [in]

    ocean grid structure

  • GV [in]

    ocean vertical grid structure

  • US [in]

    A dimensional unit scaling type

  • ssh [inout]

    time mean surface height [Z ~> m]

  • p_atm

    Ocean surface pressure [R L2 T-2 ~> Pa]

  • use_EOS [in]

    If true, calculate the density for the SSH correction using the equation of state.

Callees call graph
Callees of mom::adjust_ssh_for_p_atm calls cluster_mom MOM cluster_mom_eos MOM_EOS mom::adjust_ssh_for_p_atm adjust_ssh_for_p_atm [private/internal] mom_eos::eos_domain EOS_domain mom::adjust_ssh_for_p_atm->mom_eos::eos_domain mom_eos::interface::calculate_density calculate_density (interface) mom::adjust_ssh_for_p_atm->mom_eos::interface::calculate_density
Text view
Callers call graph
Callers of mom::adjust_ssh_for_p_atm calls cluster_mom MOM mom::adjust_ssh_for_p_atm adjust_ssh_for_p_atm [private/internal] mom::step_mom step_MOM mom::step_mom->mom::adjust_ssh_for_p_atm mom::step_offline step_offline mom::step_offline->mom::adjust_ssh_for_p_atm
Text view
subroutine extract_surface_state(CS, sfc_state_in)

Set the surface (return) properties of the ocean model by setting the appropriate fields in sfc_state. Unused fields are set to NULL or are unallocated.

Parameters
  • CS [inout]

    Master MOM control structure

  • sfc_state_in [inout]

    transparent ocean surface state structure shared with the calling routine data in this structure is intent out.

  • G

    pointer to a structure containing metrics and related information

  • G_in

    Input grid metric

  • GV

    structure containing vertical grid info

  • US

    structure containing various unit conversion factors

  • h

    h : layer thickness [H ~> m or kg m-2]

  • depth

    Distance from the surface in depth units [Z ~> m] or [H ~> m or kg m-2]

  • depth_ml

    Depth over which to average to determine mixed layer properties [Z ~> m] or [H ~> m or kg m-2]

  • dh

    Thickness of a layer within the mixed layer [Z ~> m] or [H ~> m or kg m-2]

  • mass

    Mass per unit area of a layer [R Z ~> kg m-2]

  • I_depth

    The inverse of depth [Z-1 ~> m-1] or [H-1 ~> m-1 or m2 kg-1]

  • missing_depth

    The portion of depth_ml that can not be found in a column [H ~> m or kg m-2]

  • H_rescale

    A conversion factor from thickness units to the units used in the calculation of properties of the uppermost ocean [nondim] or [Z H-1 ~> 1 or m3 kg-1]

  • T_freeze

    freezing temperature [C ~> degC]

  • pres

    Pressure to use for the freezing temperature calculation [R L2 T-2 ~> Pa]

  • delT

    Depth integral of T-T_freeze [H C ~> m degC or degC kg m-2]

  • use_temperature

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

Callees call graph
Callees of mom::extract_surface_state calls cluster_mom MOM cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_coms_infra MOM_coms_infra cluster_mom_eos MOM_EOS cluster_mom_error_handler MOM_error_handler cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_variables MOM_variables mom::extract_surface_state extract_surface_state mom_checksum_packages::mom_surface_chksum MOM_surface_chksum mom::extract_surface_state->mom_checksum_packages::mom_surface_chksum mom_coms_infra::interface::sum_across_pes sum_across_PEs (interface) mom::extract_surface_state->mom_coms_infra::interface::sum_across_pes mom_eos::interface::calculate_tfreeze calculate_TFreeze (interface) mom::extract_surface_state->mom_eos::interface::calculate_tfreeze mom_error_handler::calltree_enter callTree_enter mom::extract_surface_state->mom_error_handler::calltree_enter mom_error_handler::calltree_leave callTree_leave mom::extract_surface_state->mom_error_handler::calltree_leave mom_error_handler::mom_error MOM_error mom::extract_surface_state->mom_error_handler::mom_error mom_tracer_flow_control::call_tracer_surface_state call_tracer_surface_state mom::extract_surface_state->mom_tracer_flow_control::call_tracer_surface_state mom_variables::allocate_surface_state allocate_surface_state mom::extract_surface_state->mom_variables::allocate_surface_state mom_variables::deallocate_surface_state deallocate_surface_state mom::extract_surface_state->mom_variables::deallocate_surface_state mom_variables::rotate_surface_state rotate_surface_state mom::extract_surface_state->mom_variables::rotate_surface_state
Text view
Callers call graph
Callers of mom::extract_surface_state calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::extract_surface_state extract_surface_state External::mom6->mom::extract_surface_state mom::step_mom step_MOM mom::step_mom->mom::extract_surface_state mom::step_offline step_offline mom::step_offline->mom::extract_surface_state
Text view
subroutine rotate_initial_state(u_in, v_in, h_in, T_in, S_in, use_temperature, turns, u, v, h, T, S)

Rotate initialization fields from input to rotated arrays.

Parameters
  • u_in [in]

    Zonal velocity on the initial grid [L T-1 ~> m s-1]

  • v_in [in]

    Meridional velocity on the initial grid [L T-1 ~> m s-1]

  • h_in [in]

    Layer thickness on the initial grid [H ~> m or kg m-2]

  • T_in [in]

    Temperature on the initial grid [C ~> degC]

  • S_in [in]

    Salinity on the initial grid [S ~> ppt]

  • use_temperature [in]

    If true, temperature and salinity are active

  • turns [in]

    The number quarter-turns to apply

  • u [out]

    Zonal velocity on the rotated grid [L T-1 ~> m s-1]

  • v [out]

    Meridional velocity on the rotated grid [L T-1 ~> m s-1]

  • h [out]

    Layer thickness on the rotated grid [H ~> m or kg m-2]

  • T [out]

    Temperature on the rotated grid [C ~> degC]

  • S [out]

    Salinity on the rotated grid [S ~> ppt]

Callees call graph
Callees of mom::rotate_initial_state calls cluster_mom MOM cluster_mom_array_transform MOM_array_transform mom::rotate_initial_state rotate_initial_state [private/internal] mom_array_transform::interface::rotate_array rotate_array (interface) mom::rotate_initial_state->mom_array_transform::interface::rotate_array mom_array_transform::interface::rotate_vector rotate_vector (interface) mom::rotate_initial_state->mom_array_transform::interface::rotate_vector
Text view
Callers call graph
Callers of mom::rotate_initial_state calls cluster_mom MOM mom::initialize_mom initialize_MOM mom::rotate_initial_state rotate_initial_state [private/internal] mom::initialize_mom->mom::rotate_initial_state
Text view
function MOM_state_is_synchronized(CS, adv_dyn) result(in_synch)

Return true if all phases of step_MOM are at the same point in time.

Parameters
  • CS [inout]

    MOM control structure

  • adv_dyn [in]

    If present and true, only check whether the advection is up-to-date with the dynamics.

  • in_synch

    True if all phases of the update are synchronized.

Callers call graph
Callers of mom::mom_state_is_synchronized calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::mom_state_is_synchronized MOM_state_is_synchronized External::mom6->mom::mom_state_is_synchronized mom::step_mom step_MOM mom::step_mom->mom::mom_state_is_synchronized
Text view
subroutine get_MOM_state_elements(CS, G, GV, US, C_p, C_p_scaled, use_temp)

This subroutine offers access to values or pointers to other types from within the MOM_control_struct, allowing the MOM_control_struct to be opaque.

Parameters
  • CS [inout]

    MOM control structure

  • G

    structure containing metrics and grid info

  • GV

    structure containing vertical grid info

  • US

    A dimensional unit scaling type

  • C_p [out]

    The heat capacity [J kg degC-1]

  • C_p_scaled [out]

    The heat capacity in scaled units [Q C-1 ~> J kg-1 degC-1]

  • use_temp [out]

    True if temperature is a state variable

Callers call graph
Callers of mom::get_mom_state_elements calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::get_mom_state_elements get_MOM_state_elements External::mom6->mom::get_mom_state_elements
Text view
subroutine get_ocean_stocks(CS, mass, heat, salt, on_PE_only)

Find the global integrals of various quantities.

Parameters
  • CS [inout]

    MOM control structure

  • heat [out]

    The globally integrated integrated ocean heat [J].

  • salt [out]

    The globally integrated integrated ocean salt [kg].

  • mass [out]

    The globally integrated integrated ocean mass [kg].

  • on_PE_only [in]

    If present and true, only sum on the local PE.

Callees call graph
Callees of mom::get_ocean_stocks calls cluster_mom MOM cluster_mom_spatial_means MOM_spatial_means mom::get_ocean_stocks get_ocean_stocks mom_spatial_means::global_mass_integral global_mass_integral mom::get_ocean_stocks->mom_spatial_means::global_mass_integral
Text view
subroutine save_MOM_restart(CS, directory, time, G, time_stamped, filename, GV, num_rest_files, write_IC)

Save restart/pickup files required to initialize the MOM6 internal state.

Parameters
  • CS [inout]

    MOM control structure

  • directory [in]

    The directory where the restart files are to be written

  • time [in]

    The current model time

  • G [inout]

    The ocean's grid structure

  • time_stamped [in]

    If present and true, add time-stamp to the restart file names

  • filename [in]

    A filename that overrides the name in CS%restartfile

  • GV [in]

    The ocean's vertical grid structure

  • num_rest_files [out]

    number of restart files written

  • write_IC [in]

    If present and true, initial conditions are being written

Callees call graph
Callees of mom::save_mom_restart calls cluster_mom MOM cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_error_handler MOM_error_handler cluster_mom_particles_mod MOM_particles_mod cluster_mom_restart MOM_restart mom::save_mom_restart save_MOM_restart mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::save_mom_restart->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::save_mom_restart->mom_cpu_clock_infra::cpu_clock_end mom_error_handler::calltree_showquery callTree_showQuery mom::save_mom_restart->mom_error_handler::calltree_showquery mom_error_handler::calltree_waypoint callTree_waypoint mom::save_mom_restart->mom_error_handler::calltree_waypoint mom_particles_mod::particles_save_restart particles_save_restart mom::save_mom_restart->mom_particles_mod::particles_save_restart mom_restart::save_restart save_restart mom::save_mom_restart->mom_restart::save_restart
Text view
Callers call graph
Callers of mom::save_mom_restart calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::save_mom_restart save_MOM_restart External::mom6->mom::save_mom_restart
Text view
subroutine MOM_end(CS)

End of ocean model, including memory deallocation

Parameters
  • CS [inout]

    MOM control structure

Callees call graph
Callees of mom::mom_end calls cluster_mom MOM cluster_mom_ale MOM_ALE cluster_mom_boundary_update MOM_boundary_update cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_diagnostics MOM_diagnostics cluster_mom_domain_infra MOM_domain_infra 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 cluster_mom_grid MOM_grid cluster_mom_interface_filter MOM_interface_filter cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_meke MOM_MEKE cluster_mom_offline_main MOM_offline_main cluster_mom_open_boundary MOM_open_boundary cluster_mom_particles_mod MOM_particles_mod cluster_mom_set_visc MOM_set_visc cluster_mom_sum_output MOM_sum_output cluster_mom_thickness_diffuse MOM_thickness_diffuse cluster_mom_tracer_advect MOM_tracer_advect cluster_mom_tracer_flow_control MOM_tracer_flow_control cluster_mom_tracer_hor_diff MOM_tracer_hor_diff cluster_mom_tracer_registry MOM_tracer_registry cluster_mom_unit_scaling MOM_unit_scaling cluster_mom_verticalgrid MOM_verticalGrid mom::mom_end MOM_end mom_ale::ale_end ALE_end mom::mom_end->mom_ale::ale_end mom_boundary_update::obc_register_end OBC_register_end mom::mom_end->mom_boundary_update::obc_register_end mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom::mom_end->mom_cpu_clock_infra::cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom::mom_end->mom_cpu_clock_infra::cpu_clock_end mom_diabatic_driver::diabatic_driver_end diabatic_driver_end mom::mom_end->mom_diabatic_driver::diabatic_driver_end mom_diagnostics::mom_diagnostics_end MOM_diagnostics_end mom::mom_end->mom_diagnostics::mom_diagnostics_end mom_domain_infra::deallocate_mom_domain deallocate_MOM_domain mom::mom_end->mom_domain_infra::deallocate_mom_domain mom_dynamics_split_rk2::end_dyn_split_rk2 end_dyn_split_RK2 mom::mom_end->mom_dynamics_split_rk2::end_dyn_split_rk2 mom_dynamics_split_rk2b::end_dyn_split_rk2b end_dyn_split_RK2b mom::mom_end->mom_dynamics_split_rk2b::end_dyn_split_rk2b mom_dynamics_unsplit::end_dyn_unsplit end_dyn_unsplit mom::mom_end->mom_dynamics_unsplit::end_dyn_unsplit mom_dynamics_unsplit_rk2::end_dyn_unsplit_rk2 end_dyn_unsplit_RK2 mom::mom_end->mom_dynamics_unsplit_rk2::end_dyn_unsplit_rk2 mom_grid::mom_grid_end MOM_grid_end mom::mom_end->mom_grid::mom_grid_end mom_interface_filter::interface_filter_end interface_filter_end mom::mom_end->mom_interface_filter::interface_filter_end mom_lateral_mixing_coeffs::varmix_end VarMix_end mom::mom_end->mom_lateral_mixing_coeffs::varmix_end mom_meke::meke_end MEKE_end mom::mom_end->mom_meke::meke_end mom_offline_main::offline_transport_end offline_transport_end mom::mom_end->mom_offline_main::offline_transport_end mom_open_boundary::open_boundary_end open_boundary_end mom::mom_end->mom_open_boundary::open_boundary_end mom_particles_mod::particles_end particles_end mom::mom_end->mom_particles_mod::particles_end mom_set_visc::set_visc_end set_visc_end mom::mom_end->mom_set_visc::set_visc_end mom_sum_output::mom_sum_output_end MOM_sum_output_end mom::mom_end->mom_sum_output::mom_sum_output_end mom_thickness_diffuse::thickness_diffuse_end thickness_diffuse_end mom::mom_end->mom_thickness_diffuse::thickness_diffuse_end mom_tracer_advect::tracer_advect_end tracer_advect_end mom::mom_end->mom_tracer_advect::tracer_advect_end mom_tracer_flow_control::tracer_flow_control_end tracer_flow_control_end mom::mom_end->mom_tracer_flow_control::tracer_flow_control_end mom_tracer_hor_diff::tracer_hor_diff_end tracer_hor_diff_end mom::mom_end->mom_tracer_hor_diff::tracer_hor_diff_end mom_tracer_registry::tracer_registry_end tracer_registry_end mom::mom_end->mom_tracer_registry::tracer_registry_end mom_unit_scaling::unit_scaling_end unit_scaling_end mom::mom_end->mom_unit_scaling::unit_scaling_end mom_verticalgrid::verticalgridend verticalGridEnd mom::mom_end->mom_verticalgrid::verticalgridend
Text view
Callers call graph
Callers of mom::mom_end calls cluster_External External cluster_mom MOM External::mom6 MOM6 mom::mom_end MOM_end External::mom6->mom::mom_end
Text view
API generated with Flint · Rendered from reStructuredText