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
::
i
integer,
private
::
j
Source Code
function diag_mask_bbox(grid,i0,i1,j0,j1,name)result(m)!! Index-based bounding box (test-only). Weight = 1 inside the!! closed interval `[i0,i1] × [j0,j1]`, 0 outside. Indices 1-based!! and inclusive; ghost cells count if inside the box.type(hgrid_t),intent(in)::gridinteger,intent(in)::i0,i1,j0,j1character(len=*),intent(in),optional::nametype(diag_mask_t)::minteger::i,jm%name="bbox"if(present(name))m%name=namem%nx=grid%nx_totalm%ny=grid%ny_totalallocate(m%weight(m%nx,m%ny),source=0.0_wp)do j=max(1,j0),min(m%ny,j1)do i=max(1,i0),min(m%nx,i1)m%weight(i,j)=1.0_wpend do end do call recompute_total_area(m,grid%dx,grid%dy)end function diag_mask_bbox