private pure function metrics_dx_min(metrics, grid) result(dx_min)
Representative minimum grid length over the PHYSICAL region,
taken over both dxT and dyT (host-side, configure time).
Bit-identical to min(grid%dx, grid%dy) on uniform Cartesian.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
i0
integer,
private
::
i1
integer,
private
::
j0
integer,
private
::
j1
integer,
private
::
ng
Source Code
pure function metrics_dx_min(metrics,grid)result(dx_min)!! Representative minimum grid length over the PHYSICAL region,!! taken over both `dxT` and `dyT` (host-side, configure time).!! Bit-identical to `min(grid%dx, grid%dy)` on uniform Cartesian.type(ocean_metrics_t),intent(in)::metricstype(hgrid_t),intent(in)::gridreal(wp)::dx_mininteger::ng,i0,i1,j0,j1ng=grid%nghosti0=ng+1i1=ng+grid%nx_physj0=ng+1j1=ng+grid%ny_physdx_min=min(minval(metrics%dxT(i0:i1,j0:j1)),&minval(metrics%dyT(i0:i1,j0:j1)))end function metrics_dx_min