MOM6
MOM_shared_initialization.F90 File Reference

Go to the source code of this file.

Modules

module  mom_shared_initialization
 Code that initializes fixed aspects of the model grid, such as horizontal grid metrics, topography and Coriolis, and can be shared between components.
 

Functions/Subroutines

subroutine, public mom_shared_initialization::mom_shared_init_init (PF)
 MOM_shared_init_init just writes the code version. More...
 
subroutine, public mom_shared_initialization::mom_initialize_rotation (f, G, PF, US)
 MOM_initialize_rotation makes the appropriate call to set up the Coriolis parameter. More...
 
subroutine, public mom_shared_initialization::mom_calculate_grad_coriolis (dF_dx, dF_dy, G, US)
 Calculates the components of grad f (Coriolis parameter) More...
 
real function, public mom_shared_initialization::diagnosemaximumdepth (D, G)
 Return the global maximum ocean bottom depth in the same units as the input depth. More...
 
subroutine, public mom_shared_initialization::initialize_topography_from_file (D, G, param_file, US)
 Read gridded depths from file. More...
 
subroutine, public mom_shared_initialization::apply_topography_edits_from_file (D, G, param_file, US)
 Applies a list of topography overrides read from a netcdf file. More...
 
subroutine, public mom_shared_initialization::initialize_topography_named (D, G, param_file, topog_config, max_depth, US)
 initialize the bathymetry based on one of several named idealized configurations More...
 
subroutine, public mom_shared_initialization::limit_topography (D, G, param_file, max_depth, US)
 limit_topography ensures that min_depth < D(x,y) < max_depth More...
 
subroutine, public mom_shared_initialization::set_rotation_planetary (f, G, param_file, US)
 This subroutine sets up the Coriolis parameter for a sphere. More...
 
subroutine, public mom_shared_initialization::set_rotation_beta_plane (f, G, param_file, US)
 This subroutine sets up the Coriolis parameter for a beta-plane or f-plane. More...
 
subroutine, public mom_shared_initialization::initialize_grid_rotation_angle (G, PF)
 initialize_grid_rotation_angle initializes the arrays with the sine and cosine of the angle between logical north on the grid and true north. More...
 
real function mom_shared_initialization::modulo_around_point (x, xc, Lx)
 Return the modulo value of x in an interval [xc-(Lx/2) xc+(Lx/2)] If Lx<=0, then it returns x without applying modulo arithmetic. More...
 
subroutine, public mom_shared_initialization::reset_face_lengths_named (G, param_file, name, US)
 This subroutine sets the open face lengths at selected points to restrict passages to their observed widths based on a named set of sizes. More...
 
subroutine, public mom_shared_initialization::reset_face_lengths_file (G, param_file, US)
 This subroutine sets the open face lengths at selected points to restrict passages to their observed widths from a arrays read from a file. More...
 
subroutine, public mom_shared_initialization::reset_face_lengths_list (G, param_file, US)
 This subroutine sets the open face lengths at selected points to restrict passages to their observed widths from a list read from a file. More...
 
subroutine, public mom_shared_initialization::read_face_length_list (iounit, filename, num_lines, lines)
 This subroutine reads and counts the non-blank lines in the face length list file, after removing comments. More...
 
subroutine, public mom_shared_initialization::set_velocity_depth_max (G)
 Set the bathymetry at velocity points to be the maximum of the depths at the neighoring tracer points. More...
 
subroutine, public mom_shared_initialization::set_velocity_depth_min (G)
 Set the bathymetry at velocity points to be the minimum of the depths at the neighoring tracer points. More...
 
subroutine, public mom_shared_initialization::compute_global_grid_integrals (G, US)
 Pre-compute global integrals of grid quantities (like masked ocean area) for later use in reporting diagnostics. More...
 
subroutine, public mom_shared_initialization::write_ocean_geometry_file (G, param_file, directory, geom_file, US)
 Write out a file describing the topography, Coriolis parameter, grid locations and various other fixed fields from the grid. More...