MOM_domain_infra module reference

Describes the decomposed MOM domain and has routines for communications across PEs

Data Types

MOM_domain_type

The MOM_domain_type contains information about the domain decomposition.

Generic Interfaces

pass_var

Do a halo update on an array

pass_vector

Do a halo update on a pair of arrays representing the two components of a vector

pass_var_start

Initiate a non-blocking halo update on an array

pass_var_complete

Complete a non-blocking halo update on an array

pass_vector_start

Initiate a halo update on a pair of arrays representing the two components of a vector

pass_vector_complete

Complete a halo update on a pair of arrays representing the two components of a vector

create_group_pass

Set up a group of halo updates

fill_symmetric_edges

Do a set of halo updates that fill in the values at the duplicated edges of a staggered symmetric memory domain

rescale_comp_data

Rescale the values of an array in its computational domain by a constant factor

redistribute_array

Pass an array from one MOM domain to another

clone_MOM_domain

Copy one MOM_domain_type into another

get_domain_components

Extract the 1-d domain components from a MOM_domain or domain2d

get_domain_extent

Returns the index ranges that have been stored in a MOM_domain_type

Functions/Subroutines

pass_var_3d

pass_var_3d does a halo update for a three-dimensional array.

pass_var_2d

pass_var_2d does a halo update for a two-dimensional array.

pass_var_start_2d

pass_var_start_2d starts a halo update for a two-dimensional array.

pass_var_start_3d

pass_var_start_3d starts a halo update for a three-dimensional array.

pass_var_complete_2d

pass_var_complete_2d completes a halo update for a two-dimensional array.

pass_var_complete_3d

pass_var_complete_3d completes a halo update for a three-dimensional array.

pass_vector_2d

pass_vector_2d does a halo update for a pair of two-dimensional arrays representing the components of a two-dimensional horizontal vector.

fill_vector_symmetric_edges_2d

fill_vector_symmetric_edges_2d does an usual set of halo updates that only fill in the values at the edge of a pair of symmetric memory two-dimensional arrays representing the components of a two-dimensional horizontal vector. If symmetric memory is not being used, this subroutine does nothing except to possibly turn optional cpu clocks on or off.

pass_vector_3d

pass_vector_3d does a halo update for a pair of three-dimensional arrays representing the components of a three-dimensional horizontal vector.

pass_vector_start_2d

pass_vector_start_2d starts a halo update for a pair of two-dimensional arrays representing the components of a two-dimensional horizontal vector.

pass_vector_start_3d

pass_vector_start_3d starts a halo update for a pair of three-dimensional arrays representing the components of a three-dimensional horizontal vector.

pass_vector_complete_2d

pass_vector_complete_2d completes a halo update for a pair of two-dimensional arrays representing the components of a two-dimensional horizontal vector.

pass_vector_complete_3d

pass_vector_complete_3d completes a halo update for a pair of three-dimensional arrays representing the components of a three-dimensional horizontal vector.

create_var_group_pass_2d

create_var_group_pass_2d sets up a group of two-dimensional array halo updates.

create_var_group_pass_3d

create_var_group_pass_3d sets up a group of three-dimensional array halo updates.

create_vector_group_pass_2d

create_vector_group_pass_2d sets up a group of two-dimensional vector halo updates.

create_vector_group_pass_3d

create_vector_group_pass_3d sets up a group of three-dimensional vector halo updates.

do_group_pass

do_group_pass carries out a group halo update.

start_group_pass

start_group_pass starts out a group halo update.

complete_group_pass

complete_group_pass completes a group halo update.

redistribute_array_2d

Pass a 2-D array from one MOM domain to another

redistribute_array_3d

Pass a 3-D array from one MOM domain to another

redistribute_array_4d

Pass a 4-D array from one MOM domain to another

rescale_comp_data_4d

Rescale the values of a 4-D array in its computational domain by a constant factor

rescale_comp_data_3d

Rescale the values of a 3-D array in its computational domain by a constant factor

rescale_comp_data_2d

Rescale the values of a 2-D array in its computational domain by a constant factor

create_MOM_domain

create_MOM_domain creates and initializes a MOM_domain_type variables, based on the information provided in arguments.

deallocate_MOM_domain

dealloc_MOM_domain deallocates memory associated with a pointer to a MOM_domain_type and potentially all of its contents

MOM_thread_affinity_set

MOM_thread_affinity_set returns true if the number of openMP threads have been set to a value greater than 1.

set_MOM_thread_affinity

set_MOM_thread_affinity sets the number of openMP threads to use with the ocean.

get_domain_components_MD

This subroutine retrieves the 1-d domains that make up the 2d-domain in a MOM_domain

get_domain_components_d2D

This subroutine retrieves the 1-d domains that make up a 2d-domain

clone_MD_to_MD

clone_MD_to_MD copies one MOM_domain_type into another, while allowing some properties of the new type to differ from the original one.

clone_MD_to_d2D

clone_MD_to_d2D uses information from a MOM_domain_type to create a new domain2d type, while allowing some properties of the new type to differ from the original one.

get_domain_extent_MD

Returns the index ranges that have been stored in a MOM_domain_type

get_domain_extent_d2D

Returns the index ranges that have been stored in a domain2D type

get_simple_array_i_ind

Return the (potentially symmetric) computational domain i-bounds for an array passed without index specifications (i.e. indices start at 1) based on an array size.

get_simple_array_j_ind

Return the (potentially symmetric) computational domain j-bounds for an array passed without index specifications (i.e. indices start at 1) based on an array size.

invert

Invert the contents of a 1-d array

get_global_shape

Returns the global shape of h-point arrays

compute_block_extent

Get the array ranges in one dimension for the divisions of a global index space (alternative to compute_extent)

compute_extent

Get the array ranges in one dimension for the divisions of a global index space

broadcast_domain

Broadcast a 2-d domain from the root PE to the other PEs

global_field

Broadcast an entire 2-d array from the root processor to all others.

same_domain

same_domain returns true if two domains use the same list of PEs and layouts and have the same size computational domains, and false if the domains do not conform with each other. Different halo sizes or indexing conventions do not alter the results.

get_layout_extents

Returns arrays of the i- and j- sizes of the h-point computational domains for each element of the grid layout. Any input values in the extent arrays are discarded, so they are effectively intent out despite their declared intent of inout.

set_domain

Set the associated domain for internal FMS I/O operations.

nullify_domain

Type Documentation

type, public :: MOM_domain_type

The MOM_domain_type contains information about the domain decomposition.

Parameters
  • name

    The name of this domain

  • mpp_domain

    The FMS domain with halos on this processor, centered at h points.

  • mpp_domain_d

    A coarse FMS domain with halos on this processor, centered at h points.

  • niglobal

    The total horizontal i-domain size.

  • njglobal

    The total horizontal j-domain size.

  • nihalo

    The i-halo size in memory.

  • njhalo

    The j-halo size in memory.

  • symmetric

    True if symmetric memory is used with this domain.

  • nonblocking_updates

    If true, non-blocking halo updates are allowed. The default is .false. (for now).

  • thin_halo_updates

    If true, optional arguments may be used to specify the width of the halos that are updated with each call.

  • layout

    This domain's processor layout. This is saved to enable the construction of related new domains with different resolutions or other properties.

  • io_layout

    The IO-layout used with this domain.

  • X_FLAGS

    Flag that specifies the properties of the domain in the i-direction in a define_domain call.

  • Y_FLAGS

    Flag that specifies the properties of the domain in the j-direction in a define_domain call.

  • maskmap

    A pointer to an array indicating which logical processors are actually used for the ocean code. The other logical processors would be contain only land points and are not assigned to actual processors. This need not be assigned if all logical processors are used.

  • turns

    Number of quarter-turns from input to this grid.

  • domain_in

    Reference to unrotated domain (if turned)

Generic Interface Documentation

interface pass_var

Do a halo update on an array

Callers call graph
Callers of mom_domain_infra::interface::pass_var calls cluster_mom MOM cluster_mom_ale_sponge MOM_ALE_sponge cluster_mom_barotropic MOM_barotropic cluster_mom_controlled_forcing MOM_controlled_forcing cluster_mom_cvmix_kpp MOM_CVMix_KPP cluster_mom_debugging MOM_debugging cluster_mom_diabatic_driver MOM_diabatic_driver cluster_mom_domain_infra MOM_domain_infra cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 cluster_mom_fixed_initialization MOM_fixed_initialization cluster_mom_geothermal MOM_geothermal cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_hor_bnd_diffusion MOM_hor_bnd_diffusion cluster_mom_hor_visc MOM_hor_visc cluster_mom_horizontal_regridding MOM_horizontal_regridding cluster_mom_ice_shelf MOM_ice_shelf cluster_mom_ice_shelf_dynamics MOM_ice_shelf_dynamics cluster_mom_internal_tides MOM_internal_tides cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_marine_ice MOM_marine_ice cluster_mom_meke MOM_MEKE cluster_mom_mixed_layer_restrat MOM_mixed_layer_restrat cluster_mom_neutral_diffusion MOM_neutral_diffusion cluster_mom_oda_driver_mod MOM_oda_driver_mod cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_offline_aux MOM_offline_aux cluster_mom_offline_main MOM_offline_main cluster_mom_open_boundary MOM_open_boundary cluster_mom_regridding MOM_regridding cluster_mom_regularize_layers MOM_regularize_layers cluster_mom_self_attr_load MOM_self_attr_load cluster_mom_set_visc MOM_set_visc cluster_mom_shared_initialization MOM_shared_initialization cluster_mom_state_initialization MOM_state_initialization cluster_mom_stochastics MOM_stochastics cluster_mom_thickness_diffuse MOM_thickness_diffuse cluster_mom_tidal_forcing MOM_tidal_forcing cluster_mom_tracer_initialization_from_z MOM_tracer_initialization_from_Z cluster_mom_transcribe_grid MOM_transcribe_grid cluster_mom_vert_friction MOM_vert_friction cluster_mom_zanna_bolton MOM_Zanna_Bolton cluster_rgc_initialization RGC_initialization mom::ale_regridding_and_remapping ALE_regridding_and_remapping [private/internal] mom_domain_infra::interface::pass_var pass_var (interface) mom::ale_regridding_and_remapping->mom_domain_infra::interface::pass_var mom::initialize_mom initialize_MOM mom::initialize_mom->mom_domain_infra::interface::pass_var mom::post_diabatic_halo_updates post_diabatic_halo_updates [private/internal] mom::post_diabatic_halo_updates->mom_domain_infra::interface::pass_var mom::step_mom step_MOM mom::step_mom->mom_domain_infra::interface::pass_var mom::step_mom_dynamics step_MOM_dynamics [private/internal] mom::step_mom_dynamics->mom_domain_infra::interface::pass_var mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom_thermo->mom_domain_infra::interface::pass_var mom::step_offline step_offline mom::step_offline->mom_domain_infra::interface::pass_var mom_ale_sponge::apply_ale_sponge apply_ALE_sponge mom_ale_sponge::apply_ale_sponge->mom_domain_infra::interface::pass_var mom_ale_sponge::initialize_ale_sponge_fixed initialize_ALE_sponge_fixed [private/internal] mom_ale_sponge::initialize_ale_sponge_fixed->mom_domain_infra::interface::pass_var mom_ale_sponge::initialize_ale_sponge_varying initialize_ALE_sponge_varying [private/internal] mom_ale_sponge::initialize_ale_sponge_varying->mom_domain_infra::interface::pass_var mom_barotropic::barotropic_init barotropic_init mom_barotropic::barotropic_init->mom_domain_infra::interface::pass_var mom_controlled_forcing::apply_ctrl_forcing apply_ctrl_forcing mom_controlled_forcing::apply_ctrl_forcing->mom_domain_infra::interface::pass_var mom_cvmix_kpp::kpp_smooth_bld KPP_smooth_BLD [private/internal] mom_cvmix_kpp::kpp_smooth_bld->mom_domain_infra::interface::pass_var mom_debugging::check_redundant_st2d check_redundant_sT2d [private/internal] mom_debugging::check_redundant_st2d->mom_domain_infra::interface::pass_var mom_diabatic_driver::diabatic diabatic mom_diabatic_driver::diabatic->mom_domain_infra::interface::pass_var mom_diabatic_driver::diabatic_ale diabatic_ALE [private/internal] mom_diabatic_driver::diabatic_ale->mom_domain_infra::interface::pass_var mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::layered_diabatic->mom_domain_infra::interface::pass_var mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom_dynamics_split_rk2::initialize_dyn_split_rk2->mom_domain_infra::interface::pass_var mom_dynamics_unsplit::step_mom_dyn_unsplit step_MOM_dyn_unsplit mom_dynamics_unsplit::step_mom_dyn_unsplit->mom_domain_infra::interface::pass_var mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 step_MOM_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2->mom_domain_infra::interface::pass_var mom_fixed_initialization::mom_initialize_fixed MOM_initialize_fixed mom_fixed_initialization::mom_initialize_fixed->mom_domain_infra::interface::pass_var mom_geothermal::geothermal_init geothermal_init mom_geothermal::geothermal_init->mom_domain_infra::interface::pass_var mom_grid_initialize::initialize_masks initialize_masks mom_grid_initialize::initialize_masks->mom_domain_infra::interface::pass_var mom_grid_initialize::set_grid_metrics_from_mosaic set_grid_metrics_from_mosaic [private/internal] mom_grid_initialize::set_grid_metrics_from_mosaic->mom_domain_infra::interface::pass_var mom_grid_initialize::set_grid_metrics_mercator set_grid_metrics_mercator [private/internal] mom_grid_initialize::set_grid_metrics_mercator->mom_domain_infra::interface::pass_var mom_hor_bnd_diffusion::hor_bnd_diffusion hor_bnd_diffusion mom_hor_bnd_diffusion::hor_bnd_diffusion->mom_domain_infra::interface::pass_var mom_hor_visc::hor_visc_gme_setup hor_visc_GME_setup [private/internal] mom_hor_visc::hor_visc_gme_setup->mom_domain_infra::interface::pass_var mom_hor_visc::hor_visc_init hor_visc_init mom_hor_visc::hor_visc_init->mom_domain_infra::interface::pass_var mom_hor_visc::hor_visc_leithy_ah hor_visc_Leithy_Ah [private/internal] mom_hor_visc::hor_visc_leithy_ah->mom_domain_infra::interface::pass_var mom_hor_visc::smooth_gme smooth_GME [private/internal] mom_hor_visc::smooth_gme->mom_domain_infra::interface::pass_var mom_horizontal_regridding::fill_miss_2d fill_miss_2d [private/internal] mom_horizontal_regridding::fill_miss_2d->mom_domain_infra::interface::pass_var mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id horiz_interp_and_extrap_tracer_fms_id [private/internal] mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id->mom_domain_infra::interface::pass_var mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record horiz_interp_and_extrap_tracer_record [private/internal] mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record->mom_domain_infra::interface::pass_var mom_ice_shelf::change_thickness_using_melt change_thickness_using_melt [private/internal] mom_ice_shelf::change_thickness_using_melt->mom_domain_infra::interface::pass_var mom_ice_shelf::change_thickness_using_precip change_thickness_using_precip [private/internal] mom_ice_shelf::change_thickness_using_precip->mom_domain_infra::interface::pass_var mom_ice_shelf::initialize_ice_shelf initialize_ice_shelf mom_ice_shelf::initialize_ice_shelf->mom_domain_infra::interface::pass_var mom_ice_shelf::shelf_calc_flux shelf_calc_flux mom_ice_shelf::shelf_calc_flux->mom_domain_infra::interface::pass_var mom_ice_shelf::update_shelf_mass update_shelf_mass [private/internal] mom_ice_shelf::update_shelf_mass->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::calc_shelf_driving_stress calc_shelf_driving_stress [private/internal] mom_ice_shelf_dynamics::calc_shelf_driving_stress->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::ice_shelf_advect ice_shelf_advect [private/internal] mom_ice_shelf_dynamics::ice_shelf_advect->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::ice_shelf_solve_outer ice_shelf_solve_outer [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_outer->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::ice_shelf_temp ice_shelf_temp [private/internal] mom_ice_shelf_dynamics::ice_shelf_temp->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::initialize_ice_shelf_dyn initialize_ice_shelf_dyn mom_ice_shelf_dynamics::initialize_ice_shelf_dyn->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::interpolate_h_to_b interpolate_H_to_B [private/internal] mom_ice_shelf_dynamics::interpolate_h_to_b->mom_domain_infra::interface::pass_var mom_ice_shelf_dynamics::update_od_ffrac update_OD_ffrac [private/internal] mom_ice_shelf_dynamics::update_od_ffrac->mom_domain_infra::interface::pass_var mom_internal_tides::internal_tides_init internal_tides_init mom_internal_tides::internal_tides_init->mom_domain_infra::interface::pass_var mom_internal_tides::propagate propagate [private/internal] mom_internal_tides::propagate->mom_domain_infra::interface::pass_var mom_internal_tides::propagate_int_tide propagate_int_tide mom_internal_tides::propagate_int_tide->mom_domain_infra::interface::pass_var mom_lateral_mixing_coeffs::calc_resoln_function calc_resoln_function mom_lateral_mixing_coeffs::calc_resoln_function->mom_domain_infra::interface::pass_var mom_marine_ice::iceberg_forces iceberg_forces mom_marine_ice::iceberg_forces->mom_domain_infra::interface::pass_var mom_meke::ml_meke_calculate_features ML_MEKE_calculate_features [private/internal] mom_meke::ml_meke_calculate_features->mom_domain_infra::interface::pass_var mom_meke::predict_meke predict_MEKE [private/internal] mom_meke::predict_meke->mom_domain_infra::interface::pass_var mom_mixed_layer_restrat::mixedlayer_restrat_bml mixedlayer_restrat_BML [private/internal] mom_mixed_layer_restrat::mixedlayer_restrat_bml->mom_domain_infra::interface::pass_var mom_mixed_layer_restrat::mixedlayer_restrat_bodner mixedlayer_restrat_Bodner [private/internal] mom_mixed_layer_restrat::mixedlayer_restrat_bodner->mom_domain_infra::interface::pass_var mom_mixed_layer_restrat::mixedlayer_restrat_init mixedlayer_restrat_init mom_mixed_layer_restrat::mixedlayer_restrat_init->mom_domain_infra::interface::pass_var mom_mixed_layer_restrat::mixedlayer_restrat_om4 mixedlayer_restrat_OM4 [private/internal] mom_mixed_layer_restrat::mixedlayer_restrat_om4->mom_domain_infra::interface::pass_var mom_neutral_diffusion::neutral_diffusion neutral_diffusion mom_neutral_diffusion::neutral_diffusion->mom_domain_infra::interface::pass_var mom_neutral_diffusion::neutral_diffusion_calc_coeffs neutral_diffusion_calc_coeffs mom_neutral_diffusion::neutral_diffusion_calc_coeffs->mom_domain_infra::interface::pass_var mom_oda_driver_mod::apply_oda_tracer_increments apply_oda_tracer_increments mom_oda_driver_mod::apply_oda_tracer_increments->mom_domain_infra::interface::pass_var mom_oda_driver_mod::get_bias_correction_tracer get_bias_correction_tracer [private/internal] mom_oda_driver_mod::get_bias_correction_tracer->mom_domain_infra::interface::pass_var mom_oda_driver_mod::get_posterior_tracer get_posterior_tracer mom_oda_driver_mod::get_posterior_tracer->mom_domain_infra::interface::pass_var mom_oda_driver_mod::set_prior_tracer set_prior_tracer mom_oda_driver_mod::set_prior_tracer->mom_domain_infra::interface::pass_var mom_oda_incupd::apply_oda_incupd apply_oda_incupd mom_oda_incupd::apply_oda_incupd->mom_domain_infra::interface::pass_var mom_oda_incupd::calc_oda_increments calc_oda_increments mom_oda_incupd::calc_oda_increments->mom_domain_infra::interface::pass_var mom_offline_aux::update_offline_from_files update_offline_from_files mom_offline_aux::update_offline_from_files->mom_domain_infra::interface::pass_var mom_offline_main::offline_advection_ale offline_advection_ale mom_offline_main::offline_advection_ale->mom_domain_infra::interface::pass_var mom_offline_main::offline_advection_layer offline_advection_layer mom_offline_main::offline_advection_layer->mom_domain_infra::interface::pass_var mom_offline_main::offline_redistribute_residual offline_redistribute_residual mom_offline_main::offline_redistribute_residual->mom_domain_infra::interface::pass_var mom_offline_main::update_offline_fields update_offline_fields mom_offline_main::update_offline_fields->mom_domain_infra::interface::pass_var mom_open_boundary::fill_obgc_segments fill_obgc_segments mom_open_boundary::fill_obgc_segments->mom_domain_infra::interface::pass_var mom_open_boundary::flood_fill flood_fill mom_open_boundary::flood_fill->mom_domain_infra::interface::pass_var mom_open_boundary::flood_fill2 flood_fill2 mom_open_boundary::flood_fill2->mom_domain_infra::interface::pass_var mom_open_boundary::open_boundary_halo_update open_boundary_halo_update mom_open_boundary::open_boundary_halo_update->mom_domain_infra::interface::pass_var mom_open_boundary::update_obc_segment_dz update_OBC_segment_dz [private/internal] mom_open_boundary::update_obc_segment_dz->mom_domain_infra::interface::pass_var mom_regridding::initialize_regridding initialize_regridding mom_regridding::initialize_regridding->mom_domain_infra::interface::pass_var mom_regularize_layers::regularize_layers regularize_layers mom_regularize_layers::regularize_layers->mom_domain_infra::interface::pass_var mom_self_attr_load::calc_sal calc_SAL mom_self_attr_load::calc_sal->mom_domain_infra::interface::pass_var mom_self_attr_load::sal_init SAL_init mom_self_attr_load::sal_init->mom_domain_infra::interface::pass_var mom_set_visc::set_visc_init set_visc_init mom_set_visc::set_visc_init->mom_domain_infra::interface::pass_var mom_shared_initialization::initialize_grid_rotation_angle initialize_grid_rotation_angle mom_shared_initialization::initialize_grid_rotation_angle->mom_domain_infra::interface::pass_var mom_shared_initialization::set_meansl_from_file set_meanSL_from_file mom_shared_initialization::set_meansl_from_file->mom_domain_infra::interface::pass_var mom_state_initialization::initialize_sponges_file initialize_sponges_file [private/internal] mom_state_initialization::initialize_sponges_file->mom_domain_infra::interface::pass_var mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->mom_domain_infra::interface::pass_var mom_state_initialization::mom_temp_salt_initialize_from_z MOM_temp_salt_initialize_from_Z [private/internal] mom_state_initialization::mom_temp_salt_initialize_from_z->mom_domain_infra::interface::pass_var mom_stochastics::apply_skeb apply_skeb mom_stochastics::apply_skeb->mom_domain_infra::interface::pass_var mom_thickness_diffuse::thickness_diffuse_init thickness_diffuse_init mom_thickness_diffuse::thickness_diffuse_init->mom_domain_infra::interface::pass_var mom_tidal_forcing::tidal_forcing_init tidal_forcing_init mom_tidal_forcing::tidal_forcing_init->mom_domain_infra::interface::pass_var mom_tracer_initialization_from_z::mom_initialize_tracer_from_z MOM_initialize_tracer_from_Z mom_tracer_initialization_from_z::mom_initialize_tracer_from_z->mom_domain_infra::interface::pass_var mom_transcribe_grid::copy_dyngrid_to_mom_grid copy_dyngrid_to_MOM_grid mom_transcribe_grid::copy_dyngrid_to_mom_grid->mom_domain_infra::interface::pass_var mom_transcribe_grid::copy_mom_grid_to_dyngrid copy_MOM_grid_to_dyngrid mom_transcribe_grid::copy_mom_grid_to_dyngrid->mom_domain_infra::interface::pass_var mom_vert_friction::vertfpmix vertFPmix mom_vert_friction::vertfpmix->mom_domain_infra::interface::pass_var mom_vert_friction::vertvisc_init vertvisc_init mom_vert_friction::vertvisc_init->mom_domain_infra::interface::pass_var mom_zanna_bolton::compute_stress_ann_collocated compute_stress_ANN_collocated [private/internal] mom_zanna_bolton::compute_stress_ann_collocated->mom_domain_infra::interface::pass_var rgc_initialization::rgc_initialize_sponges RGC_initialize_sponges rgc_initialization::rgc_initialize_sponges->mom_domain_infra::interface::pass_var
Text view
interface pass_vector

Do a halo update on a pair of arrays representing the two components of a vector

Callers call graph
Callers of mom_domain_infra::interface::pass_vector calls cluster_mom MOM cluster_mom_barotropic MOM_barotropic cluster_mom_debugging MOM_debugging cluster_mom_domain_infra MOM_domain_infra cluster_mom_dynamics_split_rk2 MOM_dynamics_split_RK2 cluster_mom_dynamics_unsplit MOM_dynamics_unsplit cluster_mom_dynamics_unsplit_rk2 MOM_dynamics_unsplit_RK2 cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_hor_visc MOM_hor_visc cluster_mom_ice_shelf MOM_ice_shelf cluster_mom_ice_shelf_dynamics MOM_ice_shelf_dynamics cluster_mom_meke MOM_MEKE cluster_mom_meso_sfn_ann MOM_meso_sfn_ANN cluster_mom_oda_incupd MOM_oda_incupd cluster_mom_offline_main MOM_offline_main cluster_mom_open_boundary MOM_open_boundary cluster_mom_shared_initialization MOM_shared_initialization cluster_mom_state_initialization MOM_state_initialization cluster_mom_stochastics MOM_stochastics cluster_mom_surface_forcing MOM_surface_forcing cluster_mom_tracer_hor_diff MOM_tracer_hor_diff cluster_mom_transcribe_grid MOM_transcribe_grid cluster_mom_vert_friction MOM_vert_friction cluster_mom_wave_drag MOM_wave_drag cluster_mom_wave_interface MOM_wave_interface cluster_scm_cvmix_tests SCM_CVMix_tests mom::step_mom_dynamics step_MOM_dynamics [private/internal] mom_domain_infra::interface::pass_vector pass_vector (interface) mom::step_mom_dynamics->mom_domain_infra::interface::pass_vector mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom_thermo->mom_domain_infra::interface::pass_vector mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom::step_mom_tracer_dyn->mom_domain_infra::interface::pass_vector mom_barotropic::barotropic_init barotropic_init mom_barotropic::barotropic_init->mom_domain_infra::interface::pass_vector mom_barotropic::btstep btstep mom_barotropic::btstep->mom_domain_infra::interface::pass_vector mom_barotropic::initialize_bt_obc initialize_BT_OBC [private/internal] mom_barotropic::initialize_bt_obc->mom_domain_infra::interface::pass_vector mom_debugging::check_redundant_sb2d check_redundant_sB2d [private/internal] mom_debugging::check_redundant_sb2d->mom_domain_infra::interface::pass_vector mom_debugging::check_redundant_vb2d check_redundant_vB2d [private/internal] mom_debugging::check_redundant_vb2d->mom_domain_infra::interface::pass_vector mom_debugging::check_redundant_vc2d check_redundant_vC2d [private/internal] mom_debugging::check_redundant_vc2d->mom_domain_infra::interface::pass_vector mom_debugging::check_redundant_vt2d check_redundant_vT2d [private/internal] mom_debugging::check_redundant_vt2d->mom_domain_infra::interface::pass_vector mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom_dynamics_split_rk2::initialize_dyn_split_rk2->mom_domain_infra::interface::pass_vector mom_dynamics_split_rk2::remap_dyn_split_rk2_aux_vars remap_dyn_split_RK2_aux_vars mom_dynamics_split_rk2::remap_dyn_split_rk2_aux_vars->mom_domain_infra::interface::pass_vector mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_domain_infra::interface::pass_vector mom_dynamics_unsplit::step_mom_dyn_unsplit step_MOM_dyn_unsplit mom_dynamics_unsplit::step_mom_dyn_unsplit->mom_domain_infra::interface::pass_vector mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2 step_MOM_dyn_unsplit_RK2 mom_dynamics_unsplit_rk2::step_mom_dyn_unsplit_rk2->mom_domain_infra::interface::pass_vector mom_grid_initialize::initialize_masks initialize_masks mom_grid_initialize::initialize_masks->mom_domain_infra::interface::pass_vector mom_grid_initialize::set_grid_metrics_from_mosaic set_grid_metrics_from_mosaic [private/internal] mom_grid_initialize::set_grid_metrics_from_mosaic->mom_domain_infra::interface::pass_vector mom_hor_visc::hor_visc_gme_setup hor_visc_GME_setup [private/internal] mom_hor_visc::hor_visc_gme_setup->mom_domain_infra::interface::pass_vector mom_hor_visc::horizontal_viscosity_block horizontal_viscosity_block [private/internal] mom_hor_visc::horizontal_viscosity_block->mom_domain_infra::interface::pass_vector mom_ice_shelf::add_shelf_forces add_shelf_forces mom_ice_shelf::add_shelf_forces->mom_domain_infra::interface::pass_vector mom_ice_shelf::shelf_calc_flux shelf_calc_flux mom_ice_shelf::shelf_calc_flux->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::ice_shelf_solve_inner ice_shelf_solve_inner [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_inner->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::ice_shelf_solve_inner_cg ice_shelf_solve_inner_CG [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_inner_cg->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::ice_shelf_solve_inner_cr ice_shelf_solve_inner_CR [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_inner_cr->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::ice_shelf_solve_inner_minres ice_shelf_solve_inner_MINRES [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_inner_minres->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::ice_shelf_solve_outer ice_shelf_solve_outer [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_outer->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::initialize_ice_shelf_dyn initialize_ice_shelf_dyn mom_ice_shelf_dynamics::initialize_ice_shelf_dyn->mom_domain_infra::interface::pass_vector mom_ice_shelf_dynamics::update_velocity_masks update_velocity_masks [private/internal] mom_ice_shelf_dynamics::update_velocity_masks->mom_domain_infra::interface::pass_vector mom_meke::ml_meke_calculate_features ML_MEKE_calculate_features [private/internal] mom_meke::ml_meke_calculate_features->mom_domain_infra::interface::pass_vector mom_meke::step_forward_meke step_forward_MEKE mom_meke::step_forward_meke->mom_domain_infra::interface::pass_vector mom_meso_sfn_ann::meso_sfn_ann_compute meso_sfn_ANN_compute mom_meso_sfn_ann::meso_sfn_ann_compute->mom_domain_infra::interface::pass_vector mom_oda_incupd::apply_oda_incupd apply_oda_incupd mom_oda_incupd::apply_oda_incupd->mom_domain_infra::interface::pass_vector mom_oda_incupd::calc_oda_increments calc_oda_increments mom_oda_incupd::calc_oda_increments->mom_domain_infra::interface::pass_vector mom_offline_main::offline_advection_ale offline_advection_ale mom_offline_main::offline_advection_ale->mom_domain_infra::interface::pass_vector mom_offline_main::offline_advection_layer offline_advection_layer mom_offline_main::offline_advection_layer->mom_domain_infra::interface::pass_vector mom_offline_main::offline_redistribute_residual offline_redistribute_residual mom_offline_main::offline_redistribute_residual->mom_domain_infra::interface::pass_vector mom_open_boundary::open_boundary_halo_update open_boundary_halo_update mom_open_boundary::open_boundary_halo_update->mom_domain_infra::interface::pass_vector mom_open_boundary::radiation_open_bdry_conds radiation_open_bdry_conds mom_open_boundary::radiation_open_bdry_conds->mom_domain_infra::interface::pass_vector mom_open_boundary::remap_obc_fields remap_OBC_fields mom_open_boundary::remap_obc_fields->mom_domain_infra::interface::pass_vector mom_shared_initialization::initialize_grid_rotation_angle initialize_grid_rotation_angle mom_shared_initialization::initialize_grid_rotation_angle->mom_domain_infra::interface::pass_vector mom_shared_initialization::mom_calculate_grad_coriolis MOM_calculate_grad_Coriolis mom_shared_initialization::mom_calculate_grad_coriolis->mom_domain_infra::interface::pass_vector mom_shared_initialization::reset_face_lengths_file reset_face_lengths_file mom_shared_initialization::reset_face_lengths_file->mom_domain_infra::interface::pass_vector mom_shared_initialization::set_subgrid_topo_at_vel_from_file set_subgrid_topo_at_vel_from_file mom_shared_initialization::set_subgrid_topo_at_vel_from_file->mom_domain_infra::interface::pass_vector mom_state_initialization::mom_initialize_state MOM_initialize_state mom_state_initialization::mom_initialize_state->mom_domain_infra::interface::pass_vector mom_stochastics::stochastics_init stochastics_init mom_stochastics::stochastics_init->mom_domain_infra::interface::pass_vector mom_surface_forcing::wind_forcing_by_data_override wind_forcing_by_data_override [private/internal] mom_surface_forcing::wind_forcing_by_data_override->mom_domain_infra::interface::pass_vector mom_surface_forcing::wind_forcing_from_file wind_forcing_from_file [private/internal] mom_surface_forcing::wind_forcing_from_file->mom_domain_infra::interface::pass_vector mom_tracer_hor_diff::tracer_hordiff tracer_hordiff mom_tracer_hor_diff::tracer_hordiff->mom_domain_infra::interface::pass_vector mom_transcribe_grid::copy_dyngrid_to_mom_grid copy_dyngrid_to_MOM_grid mom_transcribe_grid::copy_dyngrid_to_mom_grid->mom_domain_infra::interface::pass_vector mom_transcribe_grid::copy_mom_grid_to_dyngrid copy_MOM_grid_to_dyngrid mom_transcribe_grid::copy_mom_grid_to_dyngrid->mom_domain_infra::interface::pass_vector mom_vert_friction::vertfpmix vertFPmix mom_vert_friction::vertfpmix->mom_domain_infra::interface::pass_vector mom_wave_drag::wave_drag_calc wave_drag_calc mom_wave_drag::wave_drag_calc->mom_domain_infra::interface::pass_vector mom_wave_drag::wave_drag_init wave_drag_init mom_wave_drag::wave_drag_init->mom_domain_infra::interface::pass_vector mom_wave_interface::surface_bands_by_data_override Surface_Bands_by_data_override [private/internal] mom_wave_interface::surface_bands_by_data_override->mom_domain_infra::interface::pass_vector mom_wave_interface::update_stokes_drift Update_Stokes_Drift mom_wave_interface::update_stokes_drift->mom_domain_infra::interface::pass_vector mom_wave_interface::update_surface_waves Update_Surface_Waves mom_wave_interface::update_surface_waves->mom_domain_infra::interface::pass_vector scm_cvmix_tests::scm_cvmix_tests_wind_forcing SCM_CVMix_tests_wind_forcing scm_cvmix_tests::scm_cvmix_tests_wind_forcing->mom_domain_infra::interface::pass_vector
Text view
interface pass_var_start

Initiate a non-blocking halo update on an array

interface pass_var_complete

Complete a non-blocking halo update on an array

interface pass_vector_start

Initiate a halo update on a pair of arrays representing the two components of a vector

interface pass_vector_complete

Complete a halo update on a pair of arrays representing the two components of a vector

interface create_group_pass

Set up a group of halo updates

Callers call graph
Callers of mom_domain_infra::interface::create_group_pass calls cluster_mom MOM cluster_mom_ale MOM_ALE cluster_mom_barotropic MOM_barotropic cluster_mom_bulk_mixed_layer MOM_bulk_mixed_layer 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_ice_shelf_dynamics MOM_ice_shelf_dynamics cluster_mom_internal_tides MOM_internal_tides cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_meke MOM_MEKE cluster_mom_open_boundary MOM_open_boundary cluster_mom_tracer_advect MOM_tracer_advect cluster_mom_tracer_hor_diff MOM_tracer_hor_diff cluster_mom_vert_friction MOM_vert_friction cluster_mom_zanna_bolton MOM_Zanna_Bolton mom::ale_regridding_and_remapping ALE_regridding_and_remapping [private/internal] mom_domain_infra::interface::create_group_pass create_group_pass (interface) mom::ale_regridding_and_remapping->mom_domain_infra::interface::create_group_pass mom::initialize_mom initialize_MOM mom::initialize_mom->mom_domain_infra::interface::create_group_pass mom::post_diabatic_halo_updates post_diabatic_halo_updates [private/internal] mom::post_diabatic_halo_updates->mom_domain_infra::interface::create_group_pass mom::step_mom step_MOM mom::step_mom->mom_domain_infra::interface::create_group_pass mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom_thermo->mom_domain_infra::interface::create_group_pass mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom::step_mom_tracer_dyn->mom_domain_infra::interface::create_group_pass mom_ale::ale_regrid_accelerated ALE_regrid_accelerated mom_ale::ale_regrid_accelerated->mom_domain_infra::interface::create_group_pass mom_barotropic::barotropic_init barotropic_init mom_barotropic::barotropic_init->mom_domain_infra::interface::create_group_pass mom_barotropic::btstep btstep mom_barotropic::btstep->mom_domain_infra::interface::create_group_pass mom_barotropic::btstep_timeloop btstep_timeloop [private/internal] mom_barotropic::btstep_timeloop->mom_domain_infra::interface::create_group_pass mom_barotropic::initialize_bt_obc initialize_BT_OBC [private/internal] mom_barotropic::initialize_bt_obc->mom_domain_infra::interface::create_group_pass mom_barotropic::set_local_bt_cont_types set_local_BT_cont_types [private/internal] mom_barotropic::set_local_bt_cont_types->mom_domain_infra::interface::create_group_pass mom_bulk_mixed_layer::bulkmixedlayer bulkmixedlayer mom_bulk_mixed_layer::bulkmixedlayer->mom_domain_infra::interface::create_group_pass mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::layered_diabatic->mom_domain_infra::interface::create_group_pass mom_diagnostics::calculate_energy_diagnostics calculate_energy_diagnostics [private/internal] mom_diagnostics::calculate_energy_diagnostics->mom_domain_infra::interface::create_group_pass mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom_dynamics_split_rk2::initialize_dyn_split_rk2->mom_domain_infra::interface::create_group_pass mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_domain_infra::interface::create_group_pass mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b->mom_domain_infra::interface::create_group_pass mom_ice_shelf_dynamics::register_ice_shelf_dyn_restarts register_ice_shelf_dyn_restarts mom_ice_shelf_dynamics::register_ice_shelf_dyn_restarts->mom_domain_infra::interface::create_group_pass mom_internal_tides::propagate_int_tide propagate_int_tide mom_internal_tides::propagate_int_tide->mom_domain_infra::interface::create_group_pass mom_internal_tides::register_int_tide_restarts register_int_tide_restarts mom_internal_tides::register_int_tide_restarts->mom_domain_infra::interface::create_group_pass mom_lateral_mixing_coeffs::calc_resoln_function calc_resoln_function mom_lateral_mixing_coeffs::calc_resoln_function->mom_domain_infra::interface::create_group_pass mom_meke::meke_init MEKE_init mom_meke::meke_init->mom_domain_infra::interface::create_group_pass mom_open_boundary::open_boundary_halo_update open_boundary_halo_update mom_open_boundary::open_boundary_halo_update->mom_domain_infra::interface::create_group_pass mom_tracer_advect::advect_tracer advect_tracer mom_tracer_advect::advect_tracer->mom_domain_infra::interface::create_group_pass mom_tracer_hor_diff::tracer_hordiff tracer_hordiff mom_tracer_hor_diff::tracer_hordiff->mom_domain_infra::interface::create_group_pass mom_vert_friction::vertvisc vertvisc mom_vert_friction::vertvisc->mom_domain_infra::interface::create_group_pass mom_zanna_bolton::compute_energy_source compute_energy_source [private/internal] mom_zanna_bolton::compute_energy_source->mom_domain_infra::interface::create_group_pass mom_zanna_bolton::zb2020_init ZB2020_init mom_zanna_bolton::zb2020_init->mom_domain_infra::interface::create_group_pass
Text view
interface fill_symmetric_edges

Do a set of halo updates that fill in the values at the duplicated edges of a staggered symmetric memory domain

Callers call graph
Callers of mom_domain_infra::interface::fill_symmetric_edges calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_surface_forcing MOM_surface_forcing mom_domain_infra::interface::fill_symmetric_edges fill_symmetric_edges (interface) mom_surface_forcing::wind_forcing_from_file wind_forcing_from_file [private/internal] mom_surface_forcing::wind_forcing_from_file->mom_domain_infra::interface::fill_symmetric_edges
Text view
interface rescale_comp_data

Rescale the values of an array in its computational domain by a constant factor

Callers call graph
Callers of mom_domain_infra::interface::rescale_comp_data calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_io MOM_io cluster_mom_io_infra MOM_io_infra mom_domain_infra::interface::rescale_comp_data rescale_comp_data (interface) mom_io::mom_write_field_2d MOM_write_field_2d [private/internal] mom_io::mom_write_field_2d->mom_domain_infra::interface::rescale_comp_data mom_io::mom_write_field_3d MOM_write_field_3d [private/internal] mom_io::mom_write_field_3d->mom_domain_infra::interface::rescale_comp_data mom_io::mom_write_field_4d MOM_write_field_4d [private/internal] mom_io::mom_write_field_4d->mom_domain_infra::interface::rescale_comp_data mom_io::mom_write_field_legacy_2d MOM_write_field_legacy_2d [private/internal] mom_io::mom_write_field_legacy_2d->mom_domain_infra::interface::rescale_comp_data mom_io::mom_write_field_legacy_3d MOM_write_field_legacy_3d [private/internal] mom_io::mom_write_field_legacy_3d->mom_domain_infra::interface::rescale_comp_data mom_io::mom_write_field_legacy_4d MOM_write_field_legacy_4d [private/internal] mom_io::mom_write_field_legacy_4d->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_field_2d read_field_2d [private/internal] mom_io_infra::read_field_2d->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_field_2d_region read_field_2d_region [private/internal] mom_io_infra::read_field_2d_region->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_field_3d read_field_3d [private/internal] mom_io_infra::read_field_3d->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_field_3d_region read_field_3d_region [private/internal] mom_io_infra::read_field_3d_region->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_field_4d read_field_4d [private/internal] mom_io_infra::read_field_4d->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_vector_2d read_vector_2d [private/internal] mom_io_infra::read_vector_2d->mom_domain_infra::interface::rescale_comp_data mom_io_infra::read_vector_3d read_vector_3d [private/internal] mom_io_infra::read_vector_3d->mom_domain_infra::interface::rescale_comp_data
Text view
interface redistribute_array

Pass an array from one MOM domain to another

Callers call graph
Callers of mom_domain_infra::interface::redistribute_array calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_oda_driver_mod MOM_oda_driver_mod mom_domain_infra::interface::redistribute_array redistribute_array (interface) mom_oda_driver_mod::get_posterior_tracer get_posterior_tracer mom_oda_driver_mod::get_posterior_tracer->mom_domain_infra::interface::redistribute_array mom_oda_driver_mod::set_prior_tracer set_prior_tracer mom_oda_driver_mod::set_prior_tracer->mom_domain_infra::interface::redistribute_array
Text view
interface clone_MOM_domain

Copy one MOM_domain_type into another

Callers call graph
Callers of mom_domain_infra::interface::clone_mom_domain calls cluster_mom MOM cluster_mom_barotropic MOM_barotropic cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_ice_shelf MOM_ice_shelf cluster_mom_io_file MOM_io_file cluster_mom_oda_driver_mod MOM_oda_driver_mod mom::initialize_mom initialize_MOM mom_domain_infra::interface::clone_mom_domain clone_MOM_domain (interface) mom::initialize_mom->mom_domain_infra::interface::clone_mom_domain mom_barotropic::barotropic_init barotropic_init mom_barotropic::barotropic_init->mom_domain_infra::interface::clone_mom_domain mom_diag_mediator::diag_mediator_init diag_mediator_init mom_diag_mediator::diag_mediator_init->mom_domain_infra::interface::clone_mom_domain mom_grid_initialize::set_grid_metrics_from_mosaic set_grid_metrics_from_mosaic [private/internal] mom_grid_initialize::set_grid_metrics_from_mosaic->mom_domain_infra::interface::clone_mom_domain mom_ice_shelf::initialize_ice_shelf initialize_ice_shelf mom_ice_shelf::initialize_ice_shelf->mom_domain_infra::interface::clone_mom_domain mom_io_file::open_file_infra open_file_infra [private/internal] mom_io_file::open_file_infra->mom_domain_infra::interface::clone_mom_domain mom_oda_driver_mod::init_oda init_oda mom_oda_driver_mod::init_oda->mom_domain_infra::interface::clone_mom_domain
Text view
interface get_domain_components

Extract the 1-d domain components from a MOM_domain or domain2d

Callers call graph
Callers of mom_domain_infra::interface::get_domain_components calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_io MOM_io mom_domain_infra::interface::get_domain_components get_domain_components (interface) mom_io::create_mom_file create_MOM_file mom_io::create_mom_file->mom_domain_infra::interface::get_domain_components
Text view
interface get_domain_extent

Returns the index ranges that have been stored in a MOM_domain_type

Callers call graph
Callers of mom_domain_infra::interface::get_domain_extent calls cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_domain_infra MOM_domain_infra cluster_mom_grid MOM_grid cluster_mom_hor_index MOM_hor_index cluster_mom_oda_driver_mod MOM_oda_driver_mod mom_diag_mediator::diag_mediator_init diag_mediator_init mom_domain_infra::interface::get_domain_extent get_domain_extent (interface) mom_diag_mediator::diag_mediator_init->mom_domain_infra::interface::get_domain_extent mom_domain_infra::same_domain same_domain mom_domain_infra::same_domain->mom_domain_infra::interface::get_domain_extent mom_grid::mom_grid_init MOM_grid_init mom_grid::mom_grid_init->mom_domain_infra::interface::get_domain_extent mom_hor_index::hor_index_init hor_index_init mom_hor_index::hor_index_init->mom_domain_infra::interface::get_domain_extent mom_oda_driver_mod::init_oda init_oda mom_oda_driver_mod::init_oda->mom_domain_infra::interface::get_domain_extent
Text view

Functions/Subroutine Documentation

subroutine pass_var_3d(array, MOM_dom, sideflag, complete, position, halo, clock)

pass_var_3d does a halo update for a three-dimensional array.

Parameters
  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, sothe halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_var_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_var_3d pass_var_3d [private/internal] mom_domain_infra::pass_var_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_var_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_update_domains (mpp_domains_mod::mpp_update_domains)

subroutine pass_var_2d(array, MOM_dom, sideflag, complete, position, halo, inner_halo, clock)

pass_var_2d does a halo update for a two-dimensional array.

Parameters
  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • inner_halo [in]

    The size of an inner halo to avoid updating, or 0 to avoid updating symmetric memory computational domain points. Setting this >=0 also enforces that complete=.true.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_var_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_var_2d pass_var_2d [private/internal] mom_domain_infra::pass_var_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_var_2d->mom_cpu_clock_infra::cpu_clock_end mom_error_infra::mom_err MOM_err mom_domain_infra::pass_var_2d->mom_error_infra::mom_err
Text view

External calls

mpp_domains_mod
  • mpp_get_compute_domain (mpp_domains_mod::mpp_get_compute_domain)

  • mpp_get_data_domain (mpp_domains_mod::mpp_get_data_domain)

  • mpp_update_domains (mpp_domains_mod::mpp_update_domains)

function pass_var_start_2d(array, MOM_dom, sideflag, position, complete, halo, clock)

pass_var_start_2d starts a halo update for a two-dimensional array.

Parameters
  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

  • pass_var_start_2d

    The integer index for this update.

Callees call graph
Callees of mom_domain_infra::pass_var_start_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_var_start_2d pass_var_start_2d [private/internal] mom_domain_infra::pass_var_start_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_var_start_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_start_update_domains (mpp_domains_mod::mpp_start_update_domains)

function pass_var_start_3d(array, MOM_dom, sideflag, position, complete, halo, clock)

pass_var_start_3d starts a halo update for a three-dimensional array.

Parameters
  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

  • pass_var_start_3d

    The integer index for this update.

Callees call graph
Callees of mom_domain_infra::pass_var_start_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_var_start_3d pass_var_start_3d [private/internal] mom_domain_infra::pass_var_start_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_var_start_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_start_update_domains (mpp_domains_mod::mpp_start_update_domains)

subroutine pass_var_complete_2d(id_update, array, MOM_dom, sideflag, position, halo, clock)

pass_var_complete_2d completes a halo update for a two-dimensional array.

Parameters
  • id_update [in]

    The integer id of this update which has been returned from a previous call to pass_var_start.

  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_var_complete_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_var_complete_2d pass_var_complete_2d [private/internal] mom_domain_infra::pass_var_complete_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_var_complete_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_complete_update_domains (mpp_domains_mod::mpp_complete_update_domains)

subroutine pass_var_complete_3d(id_update, array, MOM_dom, sideflag, position, halo, clock)

pass_var_complete_3d completes a halo update for a three-dimensional array.

Parameters
  • id_update [in]

    The integer id of this update which has been returned from a previous call to pass_var_start.

  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_var_complete_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_var_complete_3d pass_var_complete_3d [private/internal] mom_domain_infra::pass_var_complete_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_var_complete_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_complete_update_domains (mpp_domains_mod::mpp_complete_update_domains)

subroutine pass_vector_2d(u_cmpt, v_cmpt, MOM_dom, direction, stagger, complete, halo, clock)

pass_vector_2d does a halo update for a pair of two-dimensional arrays representing the components of a two-dimensional horizontal vector.

Parameters
  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_vector_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_vector_2d pass_vector_2d [private/internal] mom_domain_infra::pass_vector_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_vector_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_update_domains (mpp_domains_mod::mpp_update_domains)

subroutine fill_vector_symmetric_edges_2d(u_cmpt, v_cmpt, MOM_dom, stagger, scalar, clock)

fill_vector_symmetric_edges_2d does an usual set of halo updates that only fill in the values at the edge of a pair of symmetric memory two-dimensional arrays representing the components of a two-dimensional horizontal vector. If symmetric memory is not being used, this subroutine does nothing except to possibly turn optional cpu clocks on or off.

Parameters
  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • scalar [in]

    An optional argument indicating whether.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::fill_vector_symmetric_edges_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::fill_vector_symmetric_edges_2d fill_vector_symmetric_edges_2d [private/internal] mom_domain_infra::fill_vector_symmetric_edges_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::fill_vector_symmetric_edges_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_get_boundary (mpp_domains_mod::mpp_get_boundary)

  • mpp_get_compute_domain (mpp_domains_mod::mpp_get_compute_domain)

  • mpp_get_data_domain (mpp_domains_mod::mpp_get_data_domain)

subroutine pass_vector_3d(u_cmpt, v_cmpt, MOM_dom, direction, stagger, complete, halo, clock)

pass_vector_3d does a halo update for a pair of three-dimensional arrays representing the components of a three-dimensional horizontal vector.

Parameters
  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_vector_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_vector_3d pass_vector_3d [private/internal] mom_domain_infra::pass_vector_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_vector_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_update_domains (mpp_domains_mod::mpp_update_domains)

function pass_vector_start_2d(u_cmpt, v_cmpt, MOM_dom, direction, stagger, complete, halo, clock)

pass_vector_start_2d starts a halo update for a pair of two-dimensional arrays representing the components of a two-dimensional horizontal vector.

Parameters
  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

  • pass_vector_start_2d

    The integer index for this update.

Callees call graph
Callees of mom_domain_infra::pass_vector_start_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_vector_start_2d pass_vector_start_2d [private/internal] mom_domain_infra::pass_vector_start_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_vector_start_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_start_update_domains (mpp_domains_mod::mpp_start_update_domains)

function pass_vector_start_3d(u_cmpt, v_cmpt, MOM_dom, direction, stagger, complete, halo, clock)

pass_vector_start_3d starts a halo update for a pair of three-dimensional arrays representing the components of a three-dimensional horizontal vector.

Parameters
  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • complete [in]

    An optional argument indicating whether the halo updates should be completed before progress resumes. Omitting complete is the same as setting complete to .true.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

  • pass_vector_start_3d

    The integer index for this update.

Callees call graph
Callees of mom_domain_infra::pass_vector_start_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_vector_start_3d pass_vector_start_3d [private/internal] mom_domain_infra::pass_vector_start_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_vector_start_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_start_update_domains (mpp_domains_mod::mpp_start_update_domains)

subroutine pass_vector_complete_2d(id_update, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo, clock)

pass_vector_complete_2d completes a halo update for a pair of two-dimensional arrays representing the components of a two-dimensional horizontal vector.

Parameters
  • id_update [in]

    The integer id of this update which has been returned from a previous call to pass_var_start.

  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_vector_complete_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_vector_complete_2d pass_vector_complete_2d [private/internal] mom_domain_infra::pass_vector_complete_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_vector_complete_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_complete_update_domains (mpp_domains_mod::mpp_complete_update_domains)

subroutine pass_vector_complete_3d(id_update, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo, clock)

pass_vector_complete_3d completes a halo update for a pair of three-dimensional arrays representing the components of a three-dimensional horizontal vector.

Parameters
  • id_update [in]

    The integer id of this update which has been returned from a previous call to pass_var_start.

  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::pass_vector_complete_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::pass_vector_complete_3d pass_vector_complete_3d [private/internal] mom_domain_infra::pass_vector_complete_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::pass_vector_complete_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_complete_update_domains (mpp_domains_mod::mpp_complete_update_domains)

subroutine create_var_group_pass_2d(group, array, MOM_dom, sideflag, position, halo, clock)

create_var_group_pass_2d sets up a group of two-dimensional array halo updates.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::create_var_group_pass_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::create_var_group_pass_2d create_var_group_pass_2d [private/internal] mom_domain_infra::create_var_group_pass_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::create_var_group_pass_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_create_group_update (mpp_domains_mod::mpp_create_group_update)

  • mpp_group_update_initialized (mpp_domains_mod::mpp_group_update_initialized)

  • mpp_reset_group_update_field (mpp_domains_mod::mpp_reset_group_update_field)

subroutine create_var_group_pass_3d(group, array, MOM_dom, sideflag, position, halo, clock)

create_var_group_pass_3d sets up a group of three-dimensional array halo updates.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • array [inout]

    The array which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • sideflag [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if sideflag is omitted.

  • position [in]

    An optional argument indicating the position. This is CENTER by default and is often CORNER, but could also be EAST_FACE or NORTH_FACE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::create_var_group_pass_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::create_var_group_pass_3d create_var_group_pass_3d [private/internal] mom_domain_infra::create_var_group_pass_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::create_var_group_pass_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_create_group_update (mpp_domains_mod::mpp_create_group_update)

  • mpp_group_update_initialized (mpp_domains_mod::mpp_group_update_initialized)

  • mpp_reset_group_update_field (mpp_domains_mod::mpp_reset_group_update_field)

subroutine create_vector_group_pass_2d(group, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo, clock)

create_vector_group_pass_2d sets up a group of two-dimensional vector halo updates.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::create_vector_group_pass_2d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::create_vector_group_pass_2d create_vector_group_pass_2d [private/internal] mom_domain_infra::create_vector_group_pass_2d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::create_vector_group_pass_2d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_create_group_update (mpp_domains_mod::mpp_create_group_update)

  • mpp_group_update_initialized (mpp_domains_mod::mpp_group_update_initialized)

  • mpp_reset_group_update_field (mpp_domains_mod::mpp_reset_group_update_field)

subroutine create_vector_group_pass_3d(group, u_cmpt, v_cmpt, MOM_dom, direction, stagger, halo, clock)

create_vector_group_pass_3d sets up a group of three-dimensional vector halo updates.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • u_cmpt [inout]

    The nominal zonal (u) component of the vector pair which is having its halos points exchanged.

  • v_cmpt [inout]

    The nominal meridional (v) component of the vector pair which is having its halos points exchanged.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • direction [in]

    An optional integer indicating which directions the data should be sent. It is TO_ALL or the sum of any of TO_EAST, TO_WEST, TO_NORTH, and TO_SOUTH, possibly plus SCALAR_PAIR if these are paired non-directional scalars discretized at the typical vector component locations. For example, TO_EAST sends the data to the processor to the east, so the halos on the western side are filled. TO_ALL is the default if omitted.

  • stagger [in]

    An optional flag, which may be one of A_GRID, BGRID_NE, or CGRID_NE, indicating where the two components of the vector are discretized. Omitting stagger is the same as setting it to CGRID_NE.

  • halo [in]

    The size of the halo to update - the full halo by default.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::create_vector_group_pass_3d calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::create_vector_group_pass_3d create_vector_group_pass_3d [private/internal] mom_domain_infra::create_vector_group_pass_3d->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::create_vector_group_pass_3d->mom_cpu_clock_infra::cpu_clock_end
Text view

External calls

mpp_domains_mod
  • mpp_create_group_update (mpp_domains_mod::mpp_create_group_update)

  • mpp_group_update_initialized (mpp_domains_mod::mpp_group_update_initialized)

  • mpp_reset_group_update_field (mpp_domains_mod::mpp_reset_group_update_field)

subroutine do_group_pass(group, MOM_dom, clock)

do_group_pass carries out a group halo update.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::do_group_pass calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::do_group_pass do_group_pass mom_domain_infra::do_group_pass->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::do_group_pass->mom_cpu_clock_infra::cpu_clock_end
Text view
Callers call graph
Callers of mom_domain_infra::do_group_pass calls cluster_mom MOM cluster_mom_ale MOM_ALE cluster_mom_barotropic MOM_barotropic cluster_mom_bulk_mixed_layer MOM_bulk_mixed_layer 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_ice_shelf_dynamics MOM_ice_shelf_dynamics cluster_mom_internal_tides MOM_internal_tides cluster_mom_lateral_mixing_coeffs MOM_lateral_mixing_coeffs cluster_mom_meke MOM_MEKE cluster_mom_open_boundary MOM_open_boundary cluster_mom_tracer_advect MOM_tracer_advect cluster_mom_tracer_hor_diff MOM_tracer_hor_diff cluster_mom_vert_friction MOM_vert_friction cluster_mom_zanna_bolton MOM_Zanna_Bolton mom::ale_regridding_and_remapping ALE_regridding_and_remapping [private/internal] mom_domain_infra::do_group_pass do_group_pass mom::ale_regridding_and_remapping->mom_domain_infra::do_group_pass mom::initialize_mom initialize_MOM mom::initialize_mom->mom_domain_infra::do_group_pass mom::post_diabatic_halo_updates post_diabatic_halo_updates [private/internal] mom::post_diabatic_halo_updates->mom_domain_infra::do_group_pass mom::step_mom step_MOM mom::step_mom->mom_domain_infra::do_group_pass mom::step_mom_thermo step_MOM_thermo [private/internal] mom::step_mom_thermo->mom_domain_infra::do_group_pass mom::step_mom_tracer_dyn step_MOM_tracer_dyn [private/internal] mom::step_mom_tracer_dyn->mom_domain_infra::do_group_pass mom_ale::ale_regrid_accelerated ALE_regrid_accelerated mom_ale::ale_regrid_accelerated->mom_domain_infra::do_group_pass mom_barotropic::barotropic_init barotropic_init mom_barotropic::barotropic_init->mom_domain_infra::do_group_pass mom_barotropic::btstep btstep mom_barotropic::btstep->mom_domain_infra::do_group_pass mom_barotropic::btstep_timeloop btstep_timeloop [private/internal] mom_barotropic::btstep_timeloop->mom_domain_infra::do_group_pass mom_barotropic::set_local_bt_cont_types set_local_BT_cont_types [private/internal] mom_barotropic::set_local_bt_cont_types->mom_domain_infra::do_group_pass mom_barotropic::set_up_bt_obc set_up_BT_OBC [private/internal] mom_barotropic::set_up_bt_obc->mom_domain_infra::do_group_pass mom_bulk_mixed_layer::bulkmixedlayer bulkmixedlayer mom_bulk_mixed_layer::bulkmixedlayer->mom_domain_infra::do_group_pass mom_diabatic_driver::layered_diabatic layered_diabatic [private/internal] mom_diabatic_driver::layered_diabatic->mom_domain_infra::do_group_pass mom_diagnostics::calculate_energy_diagnostics calculate_energy_diagnostics [private/internal] mom_diagnostics::calculate_energy_diagnostics->mom_domain_infra::do_group_pass mom_dynamics_split_rk2::initialize_dyn_split_rk2 initialize_dyn_split_RK2 mom_dynamics_split_rk2::initialize_dyn_split_rk2->mom_domain_infra::do_group_pass mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_domain_infra::do_group_pass mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b->mom_domain_infra::do_group_pass mom_ice_shelf_dynamics::ice_shelf_solve_outer ice_shelf_solve_outer [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_outer->mom_domain_infra::do_group_pass mom_internal_tides::propagate_int_tide propagate_int_tide mom_internal_tides::propagate_int_tide->mom_domain_infra::do_group_pass mom_lateral_mixing_coeffs::calc_resoln_function calc_resoln_function mom_lateral_mixing_coeffs::calc_resoln_function->mom_domain_infra::do_group_pass mom_meke::meke_init MEKE_init mom_meke::meke_init->mom_domain_infra::do_group_pass mom_meke::step_forward_meke step_forward_MEKE mom_meke::step_forward_meke->mom_domain_infra::do_group_pass mom_open_boundary::open_boundary_halo_update open_boundary_halo_update mom_open_boundary::open_boundary_halo_update->mom_domain_infra::do_group_pass mom_open_boundary::remap_obc_fields remap_OBC_fields mom_open_boundary::remap_obc_fields->mom_domain_infra::do_group_pass mom_tracer_advect::advect_tracer advect_tracer mom_tracer_advect::advect_tracer->mom_domain_infra::do_group_pass mom_tracer_hor_diff::tracer_epipycnal_ml_diff tracer_epipycnal_ML_diff [private/internal] mom_tracer_hor_diff::tracer_epipycnal_ml_diff->mom_domain_infra::do_group_pass mom_tracer_hor_diff::tracer_hordiff tracer_hordiff mom_tracer_hor_diff::tracer_hordiff->mom_domain_infra::do_group_pass mom_vert_friction::vertvisc vertvisc mom_vert_friction::vertvisc->mom_domain_infra::do_group_pass mom_zanna_bolton::compute_energy_source compute_energy_source [private/internal] mom_zanna_bolton::compute_energy_source->mom_domain_infra::do_group_pass mom_zanna_bolton::filter_velocity_gradients filter_velocity_gradients [private/internal] mom_zanna_bolton::filter_velocity_gradients->mom_domain_infra::do_group_pass
Text view

External calls

mpp_domains_mod
  • mpp_do_group_update (mpp_domains_mod::mpp_do_group_update)

subroutine start_group_pass(group, MOM_dom, clock)

start_group_pass starts out a group halo update.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::start_group_pass calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::start_group_pass start_group_pass mom_domain_infra::start_group_pass->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::start_group_pass->mom_cpu_clock_infra::cpu_clock_end
Text view
Callers call graph
Callers of mom_domain_infra::start_group_pass calls cluster_mom MOM cluster_mom_barotropic MOM_barotropic 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_internal_tides MOM_internal_tides cluster_mom_zanna_bolton MOM_Zanna_Bolton mom::step_mom step_MOM mom_domain_infra::start_group_pass start_group_pass mom::step_mom->mom_domain_infra::start_group_pass mom_barotropic::btstep btstep mom_barotropic::btstep->mom_domain_infra::start_group_pass mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_domain_infra::start_group_pass mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b->mom_domain_infra::start_group_pass mom_internal_tides::propagate_int_tide propagate_int_tide mom_internal_tides::propagate_int_tide->mom_domain_infra::start_group_pass mom_zanna_bolton::filter_stress filter_stress [private/internal] mom_zanna_bolton::filter_stress->mom_domain_infra::start_group_pass mom_zanna_bolton::filter_velocity_gradients filter_velocity_gradients [private/internal] mom_zanna_bolton::filter_velocity_gradients->mom_domain_infra::start_group_pass
Text view

External calls

mpp_domains_mod
  • mpp_start_group_update (mpp_domains_mod::mpp_start_group_update)

subroutine complete_group_pass(group, MOM_dom, clock)

complete_group_pass completes a group halo update.

Parameters
  • group [inout]

    The data type that store information for group update. This data will be used in do_group_pass.

  • MOM_dom [inout]

    The MOM_domain_type containing the mpp_domain needed to determine where data should be sent.

  • clock [in]

    The handle for a cpu time clock that should be started then stopped to time this routine.

Callees call graph
Callees of mom_domain_infra::complete_group_pass calls cluster_mom_cpu_clock_infra MOM_cpu_clock_infra cluster_mom_domain_infra MOM_domain_infra mom_cpu_clock_infra::cpu_clock_begin cpu_clock_begin mom_cpu_clock_infra::cpu_clock_end cpu_clock_end mom_domain_infra::complete_group_pass complete_group_pass mom_domain_infra::complete_group_pass->mom_cpu_clock_infra::cpu_clock_begin mom_domain_infra::complete_group_pass->mom_cpu_clock_infra::cpu_clock_end
Text view
Callers call graph
Callers of mom_domain_infra::complete_group_pass calls cluster_mom MOM cluster_mom_barotropic MOM_barotropic 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_internal_tides MOM_internal_tides cluster_mom_zanna_bolton MOM_Zanna_Bolton mom::step_mom step_MOM mom_domain_infra::complete_group_pass complete_group_pass mom::step_mom->mom_domain_infra::complete_group_pass mom_barotropic::btstep btstep mom_barotropic::btstep->mom_domain_infra::complete_group_pass mom_dynamics_split_rk2::step_mom_dyn_split_rk2 step_MOM_dyn_split_RK2 mom_dynamics_split_rk2::step_mom_dyn_split_rk2->mom_domain_infra::complete_group_pass mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b step_MOM_dyn_split_RK2b mom_dynamics_split_rk2b::step_mom_dyn_split_rk2b->mom_domain_infra::complete_group_pass mom_internal_tides::propagate_int_tide propagate_int_tide mom_internal_tides::propagate_int_tide->mom_domain_infra::complete_group_pass mom_zanna_bolton::filter_stress filter_stress [private/internal] mom_zanna_bolton::filter_stress->mom_domain_infra::complete_group_pass mom_zanna_bolton::filter_velocity_gradients filter_velocity_gradients [private/internal] mom_zanna_bolton::filter_velocity_gradients->mom_domain_infra::complete_group_pass
Text view

External calls

mpp_domains_mod
  • mpp_complete_group_update (mpp_domains_mod::mpp_complete_group_update)

subroutine redistribute_array_2d(Domain1, array1, Domain2, array2, complete)

Pass a 2-D array from one MOM domain to another

Parameters
  • Domain1 [in]

    The MOM domain from which to extract information.

  • array1 [in]

    The array from which to extract information.

  • Domain2 [in]

    The MOM domain receiving information.

  • array2 [out]

    The array receiving information.

  • complete [in]

    If true, finish communication before proceeding.

External calls

mpp_domains_mod
  • mpp_redistribute (mpp_domains_mod::mpp_redistribute)

subroutine redistribute_array_3d(Domain1, array1, Domain2, array2, complete)

Pass a 3-D array from one MOM domain to another

Parameters
  • Domain1 [in]

    The MOM domain from which to extract information.

  • array1 [in]

    The array from which to extract information.

  • Domain2 [in]

    The MOM domain receiving information.

  • array2 [out]

    The array receiving information.

  • complete [in]

    If true, finish communication before proceeding.

External calls

mpp_domains_mod
  • mpp_redistribute (mpp_domains_mod::mpp_redistribute)

subroutine redistribute_array_4d(Domain1, array1, Domain2, array2, complete)

Pass a 4-D array from one MOM domain to another

Parameters
  • Domain1 [in]

    The MOM domain from which to extract information.

  • array1 [in]

    The array from which to extract information.

  • Domain2 [in]

    The MOM domain receiving information.

  • array2 [out]

    The array receiving information.

  • complete [in]

    If true, finish communication before proceeding.

External calls

mpp_domains_mod
  • mpp_redistribute (mpp_domains_mod::mpp_redistribute)

subroutine rescale_comp_data_4d(domain, array, scale, zero_zeros)

Rescale the values of a 4-D array in its computational domain by a constant factor

Parameters
  • domain [in]

    MOM domain from which to extract information

  • array [inout]

    The array which is having the data in its computational domain rescaled

  • scale [in]

    A scaling factor by which to multiply the values in the computational domain of array

  • zero_zeros [in]

    If present and true, convert negative zeros into ordinary signless zeros.

Callees call graph
Callees of mom_domain_infra::rescale_comp_data_4d calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::get_simple_array_i_ind get_simple_array_i_ind mom_domain_infra::get_simple_array_j_ind get_simple_array_j_ind mom_domain_infra::rescale_comp_data_4d rescale_comp_data_4d [private/internal] mom_domain_infra::rescale_comp_data_4d->mom_domain_infra::get_simple_array_i_ind mom_domain_infra::rescale_comp_data_4d->mom_domain_infra::get_simple_array_j_ind
Text view
subroutine rescale_comp_data_3d(domain, array, scale, zero_zeros)

Rescale the values of a 3-D array in its computational domain by a constant factor

Parameters
  • domain [in]

    MOM domain from which to extract information

  • array [inout]

    The array which is having the data in its computational domain rescaled

  • scale [in]

    A scaling factor by which to multiply the values in the computational domain of array

  • zero_zeros [in]

    If present and true, convert negative zeros into ordinary signless zeros.

Callees call graph
Callees of mom_domain_infra::rescale_comp_data_3d calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::get_simple_array_i_ind get_simple_array_i_ind mom_domain_infra::get_simple_array_j_ind get_simple_array_j_ind mom_domain_infra::rescale_comp_data_3d rescale_comp_data_3d [private/internal] mom_domain_infra::rescale_comp_data_3d->mom_domain_infra::get_simple_array_i_ind mom_domain_infra::rescale_comp_data_3d->mom_domain_infra::get_simple_array_j_ind
Text view
subroutine rescale_comp_data_2d(domain, array, scale, zero_zeros)

Rescale the values of a 2-D array in its computational domain by a constant factor

Parameters
  • domain [in]

    MOM domain from which to extract information

  • array [inout]

    The array which is having the data in its computational domain rescaled

  • scale [in]

    A scaling factor by which to multiply the values in the computational domain of array

  • zero_zeros [in]

    If present and true, convert negative zeros into ordinary signless zeros.

Callees call graph
Callees of mom_domain_infra::rescale_comp_data_2d calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::get_simple_array_i_ind get_simple_array_i_ind mom_domain_infra::get_simple_array_j_ind get_simple_array_j_ind mom_domain_infra::rescale_comp_data_2d rescale_comp_data_2d [private/internal] mom_domain_infra::rescale_comp_data_2d->mom_domain_infra::get_simple_array_i_ind mom_domain_infra::rescale_comp_data_2d->mom_domain_infra::get_simple_array_j_ind
Text view
subroutine create_MOM_domain(MOM_dom, n_global, n_halo, reentrant, tripolar_N, layout, io_layout, domain_name, mask_table, symmetric, thin_halos, nonblocking)

create_MOM_domain creates and initializes a MOM_domain_type variables, based on the information provided in arguments.

Parameters
  • MOM_dom

    A pointer to the MOM_domain_type being defined here.

  • n_global [in]

    The number of points on the global grid in the i- and j-directions

  • n_halo [in]

    The number of halo points on each processor

  • reentrant [in]

    If true the grid is periodic in the i- and j- directions

  • tripolar_N [in]

    If true the grid uses northern tripolar connectivity

  • layout [in]

    The layout of logical PEs in the i- and j-directions.

  • io_layout [in]

    The layout for parallel input and output.

  • domain_name [in]

    A name for this domain, "MOM" if missing.

  • mask_table [in]

    The full relative or absolute path to the mask table.

  • symmetric [in]

    If present, this specifies whether this domain uses symmetric memory, or true if missing.

  • thin_halos [in]

    If present, this specifies whether to permit the use of thin halo updates, or true if missing.

  • nonblocking [in]

    If present, this specifies whether to permit the use of nonblocking halo updates, or false if missing.

Callees call graph
Callees of mom_domain_infra::create_mom_domain calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_domain_infra::clone_md_to_d2d clone_MD_to_d2D [private/internal] mom_domain_infra::create_mom_domain create_MOM_domain mom_domain_infra::create_mom_domain->mom_domain_infra::clone_md_to_d2d mom_error_infra::mom_err MOM_err mom_domain_infra::create_mom_domain->mom_error_infra::mom_err
Text view
Callers call graph
Callers of mom_domain_infra::create_mom_domain calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_domains MOM_domains mom_domain_infra::create_mom_domain create_MOM_domain mom_domains::mom_domains_init MOM_domains_init mom_domains::mom_domains_init->mom_domain_infra::create_mom_domain
Text view

External calls

fms_io_utils_mod
  • file_exists (fms_io_utils_mod::file_exists)

  • parse_mask_table (fms_io_utils_mod::parse_mask_table)

subroutine deallocate_MOM_domain(MOM_domain, cursory)

dealloc_MOM_domain deallocates memory associated with a pointer to a MOM_domain_type and potentially all of its contents

Parameters
  • MOM_domain

    A pointer to the MOM_domain_type being deallocated

  • cursory [in]

    If true do not deallocate fields associated with the underlying infrastructure

Callers call graph
Callers of mom_domain_infra::deallocate_mom_domain calls cluster_mom MOM cluster_mom_barotropic MOM_barotropic cluster_mom_domain_infra MOM_domain_infra cluster_mom_dyn_horgrid MOM_dyn_horgrid cluster_mom_grid MOM_grid cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_io_file MOM_io_file mom::initialize_mom initialize_MOM mom_domain_infra::deallocate_mom_domain deallocate_MOM_domain mom::initialize_mom->mom_domain_infra::deallocate_mom_domain mom::mom_end MOM_end mom::mom_end->mom_domain_infra::deallocate_mom_domain mom_barotropic::barotropic_end barotropic_end mom_barotropic::barotropic_end->mom_domain_infra::deallocate_mom_domain mom_dyn_horgrid::destroy_dyn_horgrid destroy_dyn_horgrid mom_dyn_horgrid::destroy_dyn_horgrid->mom_domain_infra::deallocate_mom_domain mom_grid::mom_grid_end MOM_grid_end mom_grid::mom_grid_end->mom_domain_infra::deallocate_mom_domain mom_grid_initialize::set_grid_metrics_from_mosaic set_grid_metrics_from_mosaic [private/internal] mom_grid_initialize::set_grid_metrics_from_mosaic->mom_domain_infra::deallocate_mom_domain mom_io_file::close_file_infra close_file_infra [private/internal] mom_io_file::close_file_infra->mom_domain_infra::deallocate_mom_domain
Text view

External calls

mpp_domains_mod
  • mpp_deallocate_domain (mpp_domains_mod::mpp_deallocate_domain)

function MOM_thread_affinity_set()

MOM_thread_affinity_set returns true if the number of openMP threads have been set to a value greater than 1.

subroutine set_MOM_thread_affinity(ocean_nthreads, ocean_hyper_thread)

set_MOM_thread_affinity sets the number of openMP threads to use with the ocean.

Parameters
  • ocean_nthreads [in]

    Number of openMP threads to use for the ocean model

  • ocean_hyper_thread [in]

    If true, use hyper threading

subroutine get_domain_components_MD(MOM_dom, x_domain, y_domain)

This subroutine retrieves the 1-d domains that make up the 2d-domain in a MOM_domain

Parameters
  • MOM_dom [in]

    The MOM_domain whose contents are being extracted

  • x_domain [inout]

    The 1-d logical x-domain

  • y_domain [inout]

    The 1-d logical y-domain

External calls

mpp_domains_mod
  • mpp_get_domain_components (mpp_domains_mod::mpp_get_domain_components)

subroutine get_domain_components_d2D(domain, x_domain, y_domain)

This subroutine retrieves the 1-d domains that make up a 2d-domain

Parameters
  • domain [in]

    The 2D domain whose contents are being extracted

  • x_domain [inout]

    The 1-d logical x-domain

  • y_domain [inout]

    The 1-d logical y-domain

External calls

mpp_domains_mod
  • mpp_get_domain_components (mpp_domains_mod::mpp_get_domain_components)

subroutine clone_MD_to_MD(MD_in, MOM_dom, min_halo, halo_size, symmetric, domain_name, turns, refine, extra_halo, io_layout)

clone_MD_to_MD copies one MOM_domain_type into another, while allowing some properties of the new type to differ from the original one.

Parameters
  • MD_in [in]

    An existing MOM_domain

  • MOM_dom

    A pointer to a MOM_domain that will be allocated if it is unassociated, and will have data copied from MD_in

  • min_halo [inout]

    If present, this sets the minimum halo size for this domain in the i- and j- directions, and returns the actual halo size used.

  • halo_size [in]

    If present, this sets the halo size for the domain in the i- and j-directions. min_halo and halo_size can not both be present.

  • symmetric [in]

    If present, this specifies whether the new domain is symmetric, regardless of whether the macro SYMMETRIC_MEMORY_ is defined.

  • domain_name [in]

    A name for the new domain, copied from MD_in if missing.

  • turns [in]

    Number of quarter turns

  • refine [in]

    A factor by which to enhance the grid resolution.

  • extra_halo [in]

    An extra number of points in the halos compared with MD_in

  • io_layout [in]

    A user-defined IO layout to replace the domain's IO layout

Callees call graph
Callees of mom_domain_infra::clone_md_to_md calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_domain_infra::clone_md_to_d2d clone_MD_to_d2D [private/internal] mom_domain_infra::clone_md_to_md clone_MD_to_MD [private/internal] mom_domain_infra::clone_md_to_md->mom_domain_infra::clone_md_to_d2d mom_domain_infra::get_layout_extents get_layout_extents [private/internal] mom_domain_infra::clone_md_to_md->mom_domain_infra::get_layout_extents mom_domain_infra::invert invert [private/internal] mom_domain_infra::clone_md_to_md->mom_domain_infra::invert mom_error_infra::mom_err MOM_err mom_domain_infra::clone_md_to_md->mom_error_infra::mom_err
Text view
subroutine clone_MD_to_d2D(MD_in, mpp_domain, min_halo, halo_size, symmetric, domain_name, turns, xextent, yextent, coarsen)

clone_MD_to_d2D uses information from a MOM_domain_type to create a new domain2d type, while allowing some properties of the new type to differ from the original one.

Parameters
  • MD_in [in]

    An existing MOM_domain to be cloned

  • mpp_domain [inout]

    The new mpp_domain to be set up

  • min_halo [inout]

    If present, this sets the minimum halo size for this domain in the i- and j- directions, and returns the actual halo size used.

  • halo_size [in]

    If present, this sets the halo size for the domain in the i- and j-directions. min_halo and halo_size can not both be present.

  • symmetric [in]

    If present, this specifies whether the new domain is symmetric, regardless of whether the macro SYMMETRIC_MEMORY_ is defined or whether MD_in is symmetric.

  • domain_name [in]

    A name for the new domain, "MOM" if missing.

  • turns [in]

    Number of quarter turns - not implemented here.

  • coarsen [in]

    A factor by which to coarsen this grid. The default of 1 is for no coarsening.

  • xextent [in]

    The number of grid points in the tracer computational domain for division of the x-layout.

  • yextent [in]

    The number of grid points in the tracer computational domain for division of the y-layout.

Callees call graph
Callees of mom_domain_infra::clone_md_to_d2d calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_domain_infra::clone_md_to_d2d clone_MD_to_d2D [private/internal] mom_error_infra::mom_err MOM_err mom_domain_infra::clone_md_to_d2d->mom_error_infra::mom_err
Text view
Callers call graph
Callers of mom_domain_infra::clone_md_to_d2d calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::clone_md_to_d2d clone_MD_to_d2D [private/internal] mom_domain_infra::clone_md_to_md clone_MD_to_MD [private/internal] mom_domain_infra::clone_md_to_md->mom_domain_infra::clone_md_to_d2d mom_domain_infra::create_mom_domain create_MOM_domain mom_domain_infra::create_mom_domain->mom_domain_infra::clone_md_to_d2d
Text view

External calls

mpp_domains_mod
  • mpp_define_domains (mpp_domains_mod::mpp_define_domains)

  • mpp_define_io_domain (mpp_domains_mod::mpp_define_io_domain)

subroutine get_domain_extent_MD(Domain, isc, iec, jsc, jec, isd, ied, jsd, jed, isg, ieg, jsg, jeg, idg_offset, jdg_offset, symmetric, local_indexing, index_offset, coarsen)

Returns the index ranges that have been stored in a MOM_domain_type

Parameters
  • Domain [in]

    The MOM domain from which to extract information

  • isc [out]

    The start i-index of the computational domain

  • iec [out]

    The end i-index of the computational domain

  • jsc [out]

    The start j-index of the computational domain

  • jec [out]

    The end j-index of the computational domain

  • isd [out]

    The start i-index of the data domain

  • ied [out]

    The end i-index of the data domain

  • jsd [out]

    The start j-index of the data domain

  • jed [out]

    The end j-index of the data domain

  • isg [out]

    The start i-index of the global domain

  • ieg [out]

    The end i-index of the global domain

  • jsg [out]

    The start j-index of the global domain

  • jeg [out]

    The end j-index of the global domain

  • idg_offset [out]

    The offset between the corresponding global and data i-index spaces.

  • jdg_offset [out]

    The offset between the corresponding global and data j-index spaces.

  • symmetric [out]

    True if symmetric memory is used.

  • local_indexing [in]

    If true, local tracer array indices start at 1, as in most MOM6 code. The default is true.

  • index_offset [in]

    A fixed additional offset to all indices. This can be useful for some types of debugging with dynamic memory allocation. The default is 0.

  • coarsen [in]

    The index of the factor by which the grid is coarsened. The default is 0, for no coarsening.

Callees call graph
Callees of mom_domain_infra::get_domain_extent_md calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_domain_infra::get_domain_extent_md get_domain_extent_MD [private/internal] mom_error_infra::mom_err MOM_err mom_domain_infra::get_domain_extent_md->mom_error_infra::mom_err
Text view

External calls

mpp_domains_mod
  • mpp_get_compute_domain (mpp_domains_mod::mpp_get_compute_domain)

  • mpp_get_data_domain (mpp_domains_mod::mpp_get_data_domain)

  • mpp_get_global_domain (mpp_domains_mod::mpp_get_global_domain)

subroutine get_domain_extent_d2D(Domain, isc, iec, jsc, jec, isd, ied, jsd, jed)

Returns the index ranges that have been stored in a domain2D type

Parameters
  • Domain [in]

    The MOM domain from which to extract information

  • isc [out]

    The start i-index of the computational domain

  • iec [out]

    The end i-index of the computational domain

  • jsc [out]

    The start j-index of the computational domain

  • jec [out]

    The end j-index of the computational domain

  • isd [out]

    The start i-index of the data domain

  • ied [out]

    The end i-index of the data domain

  • jsd [out]

    The start j-index of the data domain

  • jed [out]

    The end j-index of the data domain

External calls

mpp_domains_mod
  • mpp_get_compute_domain (mpp_domains_mod::mpp_get_compute_domain)

  • mpp_get_data_domain (mpp_domains_mod::mpp_get_data_domain)

subroutine get_simple_array_i_ind(domain, size, is, ie, symmetric)

Return the (potentially symmetric) computational domain i-bounds for an array passed without index specifications (i.e. indices start at 1) based on an array size.

Parameters
  • domain [in]

    MOM domain from which to extract information

  • size [in]

    The i-array size

  • is [out]

    The computational domain starting i-index.

  • ie [out]

    The computational domain ending i-index.

  • symmetric [in]

    If present, indicates whether symmetric sizes can be considered.

Callees call graph
Callees of mom_domain_infra::get_simple_array_i_ind calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_domain_infra::get_simple_array_i_ind get_simple_array_i_ind mom_error_infra::mom_err MOM_err mom_domain_infra::get_simple_array_i_ind->mom_error_infra::mom_err
Text view
Callers call graph
Callers of mom_domain_infra::get_simple_array_i_ind calls cluster_mom_data_override_infra MOM_data_override_infra cluster_mom_domain_infra MOM_domain_infra mom_data_override_infra::data_override_md data_override_MD [private/internal] mom_domain_infra::get_simple_array_i_ind get_simple_array_i_ind mom_data_override_infra::data_override_md->mom_domain_infra::get_simple_array_i_ind mom_domain_infra::rescale_comp_data_2d rescale_comp_data_2d [private/internal] mom_domain_infra::rescale_comp_data_2d->mom_domain_infra::get_simple_array_i_ind mom_domain_infra::rescale_comp_data_3d rescale_comp_data_3d [private/internal] mom_domain_infra::rescale_comp_data_3d->mom_domain_infra::get_simple_array_i_ind mom_domain_infra::rescale_comp_data_4d rescale_comp_data_4d [private/internal] mom_domain_infra::rescale_comp_data_4d->mom_domain_infra::get_simple_array_i_ind
Text view

External calls

mpp_domains_mod
  • mpp_get_compute_domain (mpp_domains_mod::mpp_get_compute_domain)

  • mpp_get_data_domain (mpp_domains_mod::mpp_get_data_domain)

subroutine get_simple_array_j_ind(domain, size, js, je, symmetric)

Return the (potentially symmetric) computational domain j-bounds for an array passed without index specifications (i.e. indices start at 1) based on an array size.

Parameters
  • domain [in]

    MOM domain from which to extract information

  • size [in]

    The j-array size

  • js [out]

    The computational domain starting j-index.

  • je [out]

    The computational domain ending j-index.

  • symmetric [in]

    If present, indicates whether symmetric sizes can be considered.

Callees call graph
Callees of mom_domain_infra::get_simple_array_j_ind calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_error_infra MOM_error_infra mom_domain_infra::get_simple_array_j_ind get_simple_array_j_ind mom_error_infra::mom_err MOM_err mom_domain_infra::get_simple_array_j_ind->mom_error_infra::mom_err
Text view
Callers call graph
Callers of mom_domain_infra::get_simple_array_j_ind calls cluster_mom_data_override_infra MOM_data_override_infra cluster_mom_domain_infra MOM_domain_infra mom_data_override_infra::data_override_md data_override_MD [private/internal] mom_domain_infra::get_simple_array_j_ind get_simple_array_j_ind mom_data_override_infra::data_override_md->mom_domain_infra::get_simple_array_j_ind mom_domain_infra::rescale_comp_data_2d rescale_comp_data_2d [private/internal] mom_domain_infra::rescale_comp_data_2d->mom_domain_infra::get_simple_array_j_ind mom_domain_infra::rescale_comp_data_3d rescale_comp_data_3d [private/internal] mom_domain_infra::rescale_comp_data_3d->mom_domain_infra::get_simple_array_j_ind mom_domain_infra::rescale_comp_data_4d rescale_comp_data_4d [private/internal] mom_domain_infra::rescale_comp_data_4d->mom_domain_infra::get_simple_array_j_ind
Text view

External calls

mpp_domains_mod
  • mpp_get_compute_domain (mpp_domains_mod::mpp_get_compute_domain)

  • mpp_get_data_domain (mpp_domains_mod::mpp_get_data_domain)

subroutine invert(array)

Invert the contents of a 1-d array

Parameters
  • array [inout]

    The 1-d array to invert

Callers call graph
Callers of mom_domain_infra::invert calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::clone_md_to_md clone_MD_to_MD [private/internal] mom_domain_infra::invert invert [private/internal] mom_domain_infra::clone_md_to_md->mom_domain_infra::invert
Text view
subroutine get_global_shape(domain, niglobal, njglobal)

Returns the global shape of h-point arrays

Parameters
  • domain [in]

    MOM domain from which to extract information

  • niglobal [out]

    i-index global size of h-point arrays

  • njglobal [out]

    j-index global size of h-point arrays

Callers call graph
Callers of mom_domain_infra::get_global_shape calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_grid MOM_grid cluster_mom_hor_index MOM_hor_index mom_domain_infra::get_global_shape get_global_shape mom_grid::get_global_grid_size get_global_grid_size mom_grid::get_global_grid_size->mom_domain_infra::get_global_shape mom_hor_index::hor_index_init hor_index_init mom_hor_index::hor_index_init->mom_domain_infra::get_global_shape
Text view
subroutine compute_block_extent(isg, ieg, ndivs, ibegin, iend)

Get the array ranges in one dimension for the divisions of a global index space (alternative to compute_extent)

Parameters
  • isg [in]

    The starting index of the global index space

  • ieg [in]

    The ending index of the global index space

  • ndivs [in]

    The number of divisions

  • ibegin [out]

    The starting index of each division

  • iend [out]

    The ending index of each division

Callers call graph
Callers of mom_domain_infra::compute_block_extent calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_grid MOM_grid mom_domain_infra::compute_block_extent compute_block_extent mom_grid::mom_grid_init MOM_grid_init mom_grid::mom_grid_init->mom_domain_infra::compute_block_extent
Text view

External calls

mpp_domains_mod
  • mpp_compute_block_extent (mpp_domains_mod::mpp_compute_block_extent)

subroutine compute_extent(isg, ieg, ndivs, ibegin, iend)

Get the array ranges in one dimension for the divisions of a global index space

Parameters
  • isg [in]

    The starting index of the global index space

  • ieg [in]

    The ending index of the global index space

  • ndivs [in]

    The number of divisions

  • ibegin [out]

    The starting index of each division

  • iend [out]

    The ending index of each division

Callers call graph
Callers of mom_domain_infra::compute_extent calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_domains MOM_domains mom_domain_infra::compute_extent compute_extent mom_domains::determine_land_blocks determine_land_blocks [private/internal] mom_domains::determine_land_blocks->mom_domain_infra::compute_extent
Text view

External calls

mpp_domains_mod
  • mpp_compute_extent (mpp_domains_mod::mpp_compute_extent)

subroutine broadcast_domain(domain)

Broadcast a 2-d domain from the root PE to the other PEs

Parameters
  • domain [inout]

    The domain2d type that will be shared across PEs.

Callers call graph
Callers of mom_domain_infra::broadcast_domain calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_oda_driver_mod MOM_oda_driver_mod mom_domain_infra::broadcast_domain broadcast_domain mom_oda_driver_mod::init_oda init_oda mom_oda_driver_mod::init_oda->mom_domain_infra::broadcast_domain
Text view

External calls

mpp_domains_mod
  • mpp_broadcast_domain (mpp_domains_mod::mpp_broadcast_domain)

subroutine global_field(domain, local, global)

Broadcast an entire 2-d array from the root processor to all others.

Parameters
  • domain [inout]

    The domain2d type that describes the decomposition

  • local [in]

    The portion of the array on the local PE

  • global [out]

    The whole global array

Callers call graph
Callers of mom_domain_infra::global_field calls cluster_mom_domain_infra MOM_domain_infra cluster_mom_oda_driver_mod MOM_oda_driver_mod mom_domain_infra::global_field global_field mom_oda_driver_mod::set_up_global_tgrid set_up_global_tgrid [private/internal] mom_oda_driver_mod::set_up_global_tgrid->mom_domain_infra::global_field
Text view

External calls

mpp_domains_mod
  • mpp_global_field (mpp_domains_mod::mpp_global_field)

logical function same_domain(domain_a, domain_b)

same_domain returns true if two domains use the same list of PEs and layouts and have the same size computational domains, and false if the domains do not conform with each other. Different halo sizes or indexing conventions do not alter the results.

Parameters
  • domain_a [in]

    The first domain in the comparison

  • domain_b [in]

    The second domain in the comparison

Callees call graph
Callees of mom_domain_infra::same_domain calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::interface::get_domain_extent get_domain_extent (interface) mom_domain_infra::same_domain same_domain mom_domain_infra::same_domain->mom_domain_infra::interface::get_domain_extent
Text view

External calls

mpp_domains_mod
  • mpp_get_layout (mpp_domains_mod::mpp_get_layout)

subroutine get_layout_extents(Domain, extent_i, extent_j)

Returns arrays of the i- and j- sizes of the h-point computational domains for each element of the grid layout. Any input values in the extent arrays are discarded, so they are effectively intent out despite their declared intent of inout.

Parameters
  • domain [in]

    MOM domain from which to extract information

  • extent_i [inout]

    The number of points in the i-direction in each i-row of the layout

  • extent_j [inout]

    The number of points in the j-direction in each j-row of the layout

Callers call graph
Callers of mom_domain_infra::get_layout_extents calls cluster_mom_domain_infra MOM_domain_infra mom_domain_infra::clone_md_to_md clone_MD_to_MD [private/internal] mom_domain_infra::get_layout_extents get_layout_extents [private/internal] mom_domain_infra::clone_md_to_md->mom_domain_infra::get_layout_extents
Text view

External calls

mpp_domains_mod
  • mpp_get_domain_extents (mpp_domains_mod::mpp_get_domain_extents)

subroutine set_domain(Domain)

Set the associated domain for internal FMS I/O operations.

Parameters
  • Domain [in]

    MOM domain to be designated as the internal FMS I/O domain

subroutine nullify_domain

API generated with Flint · Rendered from reStructuredText