Data Types | |
type | fld_list_type |
type | ocean_internalstate_type |
type | ocean_internalstate_wrapper |
Public Member Functions | |
subroutine, public | setservices (gcomp, rc) |
NUOPC SetService method is the only public entry point. SetServices registers all of the user-provided subroutines in the module with the NUOPC layer. More... | |
Private Member Functions | |
subroutine | initializep0 (gcomp, importState, exportState, clock, rc) |
First initialize subroutine called by NUOPC. The purpose is to set which version of the Initialize Phase Definition (IPD) to use. More... | |
subroutine | initializeadvertise (gcomp, importState, exportState, clock, rc) |
Called by NUOPC to advertise import and export fields. "Advertise" simply means that the standard names of all import and export fields are supplied. The NUOPC layer uses these to match fields between components in the coupled system. More... | |
subroutine | initializerealize (gcomp, importState, exportState, clock, rc) |
Called by NUOPC to realize import and export fields. "Realizing" a field means that its grid has been defined and an ESMF_Field object has been created and put into the import or export State. More... | |
subroutine | setclock (gcomp, rc) |
NUOPC specialization point to set up this cap's clock. More... | |
subroutine | modeladvance (gcomp, rc) |
Called by NUOPC to advance the model a single timestep. More... | |
subroutine | ocean_model_finalize (gcomp, rc) |
Called by NUOPC at the end of the run to clean up. More... | |
subroutine | ice_ocn_bnd_from_data (x, Time, Time_step_coupled) |
subroutine | external_coupler_mpi_init (mom_local_communicator, external_initialization) |
subroutine | external_coupler_sbc_init (Dom, dt_cpld, Run_len) |
subroutine | external_coupler_sbc_before (Ice_ocean_boundary, Ocean_sfc, nsteps, dt_cpld) |
subroutine | external_coupler_sbc_after (Ice_ocean_boundary, Ocean_sfc, nsteps, dt_cpld) |
subroutine | external_coupler_restart (dt_cpld, num_cpld_calls) |
subroutine | external_coupler_exit |
subroutine | external_coupler_mpi_exit (mom_local_communicator, external_initialization) |
subroutine | writeslicefields (state, filename_prefix, slice, rc) |
subroutine | state_getfldptr (ST, fldname, fldptr, rc) |
subroutine | mom_advertisefields (state, nfields, field_defs, rc) |
subroutine | mom_realizefields (state, grid, nfields, field_defs, tag, rc) |
subroutine | mom_fieldssetup (ice_ocean_boundary, ocean_sfc) |
subroutine | fld_list_add (num, fldlist, stdname, transferOffer, data, shortname) |
subroutine | dumpmominternal (grid, slice, stdname, nop, farray) |
Private Attributes | |
integer, parameter | fldsmax = 100 |
integer | fldstoocn_num = 0 |
type(fld_list_type), dimension(fldsmax) | fldstoocn |
integer | fldsfrocn_num = 0 |
type(fld_list_type), dimension(fldsmax) | fldsfrocn |
integer | import_slice = 1 |
integer | export_slice = 1 |
character(len=256) | tmpstr |
integer | dbrc |
type(esmf_grid), save | mom_grid_i |
logical | write_diagnostics = .true. |
logical | profile_memory = .true. |
logical | ocean_solo = .true. |
integer(esmf_kind_i8) | restart_interval |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Called by NUOPC to advertise import and export fields. "Advertise" simply means that the standard names of all import and export fields are supplied. The NUOPC layer uses these to match fields between components in the coupled system.
gcomp | an ESMF_GridComp object |
importState | an ESMF_State object for import fields |
exportState | an ESMF_State object for export fields |
clock | an ESMF_Clock object |
rc | return code |
|
private |
First initialize subroutine called by NUOPC. The purpose is to set which version of the Initialize Phase Definition (IPD) to use.
For this MOM cap, we are using IPDv01.
gcomp | an ESMF_GridComp object |
importState | an ESMF_State object for import fields |
exportState | an ESMF_State object for export fields |
clock | an ESMF_Clock object |
rc | return code |
|
private |
Called by NUOPC to realize import and export fields. "Realizing" a field means that its grid has been defined and an ESMF_Field object has been created and put into the import or export State.
gcomp | an ESMF_GridComp object |
importState | an ESMF_State object for import fields |
exportState | an ESMF_State object for export fields |
clock | an ESMF_Clock object |
rc | return code |
|
private |
Called by NUOPC to advance the model a single timestep.
gcomp | an ESMF_GridComp object |
rc | return code |
|
private |
|
private |
|
private |
|
private |
Called by NUOPC at the end of the run to clean up.
gcomp | an ESMF_GridComp object |
rc | return code |
|
private |
NUOPC specialization point to set up this cap's clock.
By default, the clock is a copy of the clock coming in from the NUOPC Driver. Here, we ensure that the timestep for MOM is smaller than 120 minutes or smaller to ensure stability.
gcomp | the ESMF_GridComp |
rc | return code |
subroutine, public mom_cap_mod::setservices | ( | type(esmf_gridcomp) | gcomp, |
integer, intent(out) | rc | ||
) |
NUOPC SetService method is the only public entry point. SetServices registers all of the user-provided subroutines in the module with the NUOPC layer.
gcomp | an ESMF_GridComp object |
rc | return code |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |