MOM6
|
By Robert Hallberg, April 1994 - June 2002 *
Functions/Subroutines | |
subroutine, public | user_set_coord (Rlay, g_prime, GV, param_file, eqn_of_state) |
Set vertical coordinates. More... | |
subroutine, public | user_initialize_topography (D, G, param_file, max_depth) |
Initialize topography. More... | |
subroutine, public | user_initialize_thickness (h, G, param_file, T, just_read_params) |
initialize thicknesses. More... | |
subroutine, public | user_initialize_velocity (u, v, G, param_file, just_read_params) |
initialize velocities. More... | |
subroutine, public | user_init_temperature_salinity (T, S, G, param_file, eqn_of_state, just_read_params) |
This function puts the initial layer temperatures and salinities into T(:,:,:) and S(:,:,:). More... | |
subroutine, public | user_initialize_sponges (G, use_temperature, tv, param_file, CSp, h) |
Set up the sponges. More... | |
subroutine, public | user_set_obc_data (OBC, tv, G, param_file, tr_Reg) |
This subroutine sets the properties of flow at open boundary conditions. More... | |
subroutine, public | user_set_rotation (G, param_file) |
subroutine | write_user_log (param_file) |
Write output about the parameter values being used. More... | |
Variables | |
logical | first_call = .true. |
subroutine, public user_initialization::user_init_temperature_salinity | ( | real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(out) | T, |
real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(out) | S, | ||
type(ocean_grid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
type(eos_type), pointer | eqn_of_state, | ||
logical, intent(in), optional | just_read_params | ||
) |
This function puts the initial layer temperatures and salinities into T(:,:,:) and S(:,:,:).
[in] | g | Ocean grid structure. |
[out] | t | Potential temperature (degC). |
[out] | s | Salinity (ppt). |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
eqn_of_state | Integer that selects the equation of state. | |
[in] | just_read_params | If present and true, this call will only read parameters without changing h. |
Definition at line 150 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
subroutine, public user_initialization::user_initialize_sponges | ( | type(ocean_grid_type), intent(in) | G, |
logical, intent(in) | use_temperature, | ||
type(thermo_var_ptrs), intent(in) | tv, | ||
type(param_file_type), intent(in) | param_file, | ||
type(sponge_cs), pointer | CSp, | ||
real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(in) | h | ||
) |
Set up the sponges.
[in] | g | Ocean grid structure. |
[in] | use_temperature | Whether to use potential temperature. |
[in] | tv | A structure containing pointers to any available thermodynamic fields, potential temperature and salinity or mixed layer density. Absent fields have NULL ptrs. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
csp | A pointer to the sponge control structure. | |
[in] | h | Layer thicknesses. |
Definition at line 180 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
Referenced by mom_state_initialization::mom_initialize_state().
subroutine, public user_initialization::user_initialize_thickness | ( | real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(out) | h, |
type(ocean_grid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
real, dimension( g %isd: g %ied, g %jsd: g %jed, g %ke), intent(in) | T, | ||
logical, intent(in), optional | just_read_params | ||
) |
initialize thicknesses.
[in] | g | The ocean's grid structure. |
[out] | h | The thicknesses being initialized. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
[in] | t | Potential temperature. |
[in] | just_read_params | If present and true, this call will only read parameters without changing h. |
Definition at line 93 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
subroutine, public user_initialization::user_initialize_topography | ( | real, dimension(g%isd:g%ied,g%jsd:g%jed), intent(out) | D, |
type(dyn_horgrid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
real, intent(in) | max_depth | ||
) |
Initialize topography.
[in] | g | The dynamic horizontal grid type |
[out] | d | Ocean bottom depth in m |
[in] | param_file | Parameter file structure |
[in] | max_depth | Maximum depth of model in m |
Definition at line 75 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
Referenced by mom_fixed_initialization::mom_initialize_topography().
subroutine, public user_initialization::user_initialize_velocity | ( | real, dimension( g %isdb: g %iedb, g %jsd: g %jed, g %ke), intent(out) | u, |
real, dimension( g %isd: g %ied, g %jsdb: g %jedb, g %ke), intent(out) | v, | ||
type(ocean_grid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
logical, intent(in), optional | just_read_params | ||
) |
initialize velocities.
[in] | g | Ocean grid structure. |
[out] | u | i-component of velocity [m/s] |
[out] | v | j-component of velocity [m/s] |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
[in] | just_read_params | If present and true, this call will only read parameters without changing h. |
Definition at line 121 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
subroutine, public user_initialization::user_set_coord | ( | real, dimension(:), intent(out) | Rlay, |
real, dimension(:), intent(out) | g_prime, | ||
type(verticalgrid_type), intent(in) | GV, | ||
type(param_file_type), intent(in) | param_file, | ||
type(eos_type), pointer | eqn_of_state | ||
) |
Set vertical coordinates.
[in] | gv | The ocean's vertical grid structure. |
[out] | rlay | Layer potential density. |
[out] | g_prime | The reduced gravity at each interface, in m s-2. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
eqn_of_state | Integer that selects the equation of state. |
Definition at line 52 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
Referenced by mom_coord_initialization::mom_initialize_coord().
subroutine, public user_initialization::user_set_obc_data | ( | type(ocean_obc_type), pointer | OBC, |
type(thermo_var_ptrs), intent(in) | tv, | ||
type(ocean_grid_type), intent(in) | G, | ||
type(param_file_type), intent(in) | param_file, | ||
type(tracer_registry_type), pointer | tr_Reg | ||
) |
This subroutine sets the properties of flow at open boundary conditions.
obc | This open boundary condition type specifies whether, where, and what open boundary conditions are used. | |
[in] | tv | A structure containing pointers to any available thermodynamic fields, including potential temperature and salinity or mixed layer density. Absent fields have NULL ptrs. |
[in] | g | The ocean's grid structure. |
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
tr_reg | Tracer registry. |
Definition at line 204 of file user_initialization.F90.
References first_call, and write_user_log().
subroutine, public user_initialization::user_set_rotation | ( | type(ocean_grid_type), intent(inout) | G, |
type(param_file_type), intent(in) | param_file | ||
) |
[in,out] | g | The ocean's grid structure |
[in] | param_file | A structure to parse for run-time parameters |
Definition at line 225 of file user_initialization.F90.
References first_call, mom_error_handler::mom_error(), and write_user_log().
|
private |
Write output about the parameter values being used.
[in] | param_file | A structure indicating the open file to parse for model parameter values. |
Definition at line 237 of file user_initialization.F90.
References first_call.
Referenced by user_init_temperature_salinity(), user_initialize_sponges(), user_initialize_thickness(), user_initialize_topography(), user_initialize_velocity(), user_set_coord(), user_set_obc_data(), and user_set_rotation().
|
private |
Definition at line 46 of file user_initialization.F90.
Referenced by user_init_temperature_salinity(), user_initialize_sponges(), user_initialize_thickness(), user_initialize_topography(), user_initialize_velocity(), user_set_coord(), user_set_obc_data(), user_set_rotation(), and write_user_log().