Skip to content
Gustavo Marques edited this page Feb 11, 2019 · 3 revisions

Below is a quick description of the five modules included in the CESM/MOM6 mct_driver:

MOM6/config_src/mct_driver/ocn_comp_mct.F90

This is the main driver for MOM6 in CIME. It orchestrates the initialization, run and finalization of the ocean model (ocn_init_mct, ocn_final_mct and ocn_final_mct).

MOM6/config_src/mct_driver/ocn_cpl_indices.F90

Contain a structure with fields and indices to be passed from the ocean to the coupler and from the coupler to the ocean. It also determines the attribute vector indices.

MOM6/config_src/mct_driver/ocn_cap_methods.F90

Maps incoming ocean data to MOM6 data structures (ocn_import). Maps outgoing ocean data to the coupler (ocn_export).

MOM6/config_src/mct_driver/MOM_surface_forcing.F90

Contain a structure to the forcing fields which may be used to drive MOM6. Converts the fields passed from the coupler to MOM6. Restoring (SSS and SST) is applied here.

MOM6/config_src/mct_driver/MOM_ocean_model.F90

This is the top level module for the MOM6 ocean model. It contains routines for initialization (ocean_model_init), termination (ocean_model_end) and update (update_ocean_model) of ocean model state.

Simplified diagram

To enable the links to the subroutines, please access the original diagram.

Clone this wiki locally