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
::
j
Source Code
function diag_mask_v_section(grid,i_col,j0,j1,name)result(m)!! Vertical section (test-only): one cell column at `i = i_col`,!! spanning `j ∈ [j0,j1]`. Mirror of `h_section` for zonal throughflow.type(hgrid_t),intent(in)::gridinteger,intent(in)::i_col,j0,j1character(len=*),intent(in),optional::nametype(diag_mask_t)::minteger::jm%name="v_section"if(present(name))m%name=namem%nx=grid%nx_totalm%ny=grid%ny_totalallocate(m%weight(m%nx,m%ny),source=0.0_wp)if(i_col>=1.and.i_col<=m%nx)then do j=max(1,j0),min(m%ny,j1)m%weight(i_col,j)=1.0_wpend do end if call recompute_total_area(m,grid%dx,grid%dy)end function diag_mask_v_section