MOM6
|
Data Types | |
type | gps |
Functions/Subroutines | |
subroutine, public | set_grid_metrics (G, param_file) |
set_grid_metrics is used to set the primary values in the model's horizontal grid. The bathymetry, land-sea mask and any restricted channel widths are not known yet, so these are set later. More... | |
subroutine | grid_metrics_chksum (parent, G) |
grid_metrics_chksum performs a set of checksums on metrics on the grid for debugging. More... | |
subroutine | set_grid_metrics_from_mosaic (G, param_file) |
set_grid_metrics_from_mosaic sets the grid metrics from a mosaic file. More... | |
subroutine | set_grid_metrics_cartesian (G, param_file) |
subroutine | set_grid_metrics_spherical (G, param_file) |
subroutine | set_grid_metrics_mercator (G, param_file) |
real function | ds_di (x, y, GP) |
real function | ds_dj (x, y, GP) |
real function | dl (x1, x2, y1, y2) |
real function | find_root (fn, dy_df, GP, fnval, y1, ymin, ymax, ittmax) |
real function | dx_di (x, GP) |
real function | int_di_dx (x, GP) |
real function | dy_dj (y, GP) |
real function | int_dj_dy (y, GP) |
subroutine | extrapolate_metric (var, jh, missing) |
extrapolate_metric extrapolates missing metric data into all the halo regions. More... | |
real function, public | adcroft_reciprocal (val) |
This function implements Adcroft's rule for reciprocals, namely that Adcroft_Inv(x) = 1/x for |x|>0 or 0 for x=0. More... | |
subroutine, public | initialize_masks (G, PF) |
initialize_masks initializes the grid masks and any metrics that come with masks already applied. More... | |
real function, public mom_grid_initialize::adcroft_reciprocal | ( | real, intent(in) | val | ) |
This function implements Adcroft's rule for reciprocals, namely that Adcroft_Inv(x) = 1/x for |x|>0 or 0 for x=0.
[in] | val | The value being inverted. |
Definition at line 1279 of file MOM_grid_initialize.F90.
Referenced by initialize_masks().
|
private |
Definition at line 1013 of file MOM_grid_initialize.F90.
Referenced by set_grid_metrics_mercator().
|
private |
Definition at line 986 of file MOM_grid_initialize.F90.
References dx_di().
Referenced by set_grid_metrics_mercator().
|
private |
Definition at line 999 of file MOM_grid_initialize.F90.
References dy_dj().
Referenced by set_grid_metrics_mercator().
|
private |
Definition at line 1146 of file MOM_grid_initialize.F90.
Referenced by ds_di(), and set_grid_metrics_mercator().
|
private |
Definition at line 1169 of file MOM_grid_initialize.F90.
Referenced by ds_dj(), and set_grid_metrics_mercator().
|
private |
extrapolate_metric extrapolates missing metric data into all the halo regions.
[in,out] | var | The array in which to fill in halos |
[in] | jh | The size of the halos to be filled |
[in] | missing | The missing data fill value, 0 by default. |
Definition at line 1246 of file MOM_grid_initialize.F90.
Referenced by set_grid_metrics_from_mosaic().
|
private |
Definition at line 1037 of file MOM_grid_initialize.F90.
Referenced by set_grid_metrics_mercator().
|
private |
grid_metrics_chksum performs a set of checksums on metrics on the grid for debugging.
[in] | parent | A string identifying the caller |
[in] | g | The dynamic horizontal grid type |
Definition at line 170 of file MOM_grid_initialize.F90.
Referenced by set_grid_metrics().
subroutine, public mom_grid_initialize::initialize_masks | ( | type(dyn_horgrid_type), intent(inout) | G, |
type(param_file_type), intent(in) | PF | ||
) |
initialize_masks initializes the grid masks and any metrics that come with masks already applied.
[in,out] | g | The dynamic horizontal grid type |
[in] | pf | Parameter file structure |
Definition at line 1289 of file MOM_grid_initialize.F90.
References adcroft_reciprocal().
Referenced by mom_fixed_initialization::mom_initialize_fixed().
|
private |
Definition at line 1158 of file MOM_grid_initialize.F90.
Referenced by set_grid_metrics_mercator().
|
private |
Definition at line 1198 of file MOM_grid_initialize.F90.
Referenced by set_grid_metrics_mercator().
subroutine, public mom_grid_initialize::set_grid_metrics | ( | type(dyn_horgrid_type), intent(inout) | G, |
type(param_file_type), intent(in) | param_file | ||
) |
set_grid_metrics is used to set the primary values in the model's horizontal grid. The bathymetry, land-sea mask and any restricted channel widths are not known yet, so these are set later.
[in,out] | g | The dynamic horizontal grid type |
[in] | param_file | Parameter file structure |
Definition at line 109 of file MOM_grid_initialize.F90.
References mom_error_handler::calltree_enter(), mom_error_handler::calltree_leave(), grid_metrics_chksum(), mom_dyn_horgrid::set_derived_dyn_horgrid(), set_grid_metrics_cartesian(), set_grid_metrics_from_mosaic(), set_grid_metrics_mercator(), and set_grid_metrics_spherical().
Referenced by mom_fixed_initialization::mom_initialize_fixed().
|
private |
[in,out] | g | The dynamic horizontal grid type |
[in] | param_file | Parameter file structure |
Definition at line 465 of file MOM_grid_initialize.F90.
References mom_error_handler::calltree_enter(), and mom_error_handler::calltree_leave().
Referenced by set_grid_metrics().
|
private |
set_grid_metrics_from_mosaic sets the grid metrics from a mosaic file.
[in,out] | g | The dynamic horizontal grid type |
[in] | param_file | Parameter file structure |
Definition at line 224 of file MOM_grid_initialize.F90.
References mom_error_handler::calltree_enter(), mom_error_handler::calltree_leave(), and extrapolate_metric().
Referenced by set_grid_metrics().
|
private |
[in,out] | g | The dynamic horizontal grid type |
[in] | param_file | Parameter file structure |
Definition at line 744 of file MOM_grid_initialize.F90.
References dl(), ds_di(), ds_dj(), dx_di(), dy_dj(), find_root(), int_di_dx(), and int_dj_dy().
Referenced by set_grid_metrics().
|
private |
[in,out] | g | The dynamic horizontal grid type |
[in] | param_file | Parameter file structure |
Definition at line 602 of file MOM_grid_initialize.F90.
References mom_error_handler::calltree_enter().
Referenced by set_grid_metrics().