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.
Source Code
subroutine grid_init(this,nx_phys,ny_phys,nghost,dx,dy)class(hgrid_t),intent(inout)::thisinteger,intent(in)::nx_phys,ny_phys,nghostreal(wp),intent(in)::dx,dythis%nx_phys=nx_physthis%ny_phys=ny_physthis%nghost=nghostthis%dx=dxthis%dy=dythis%nx_total=nx_phys+2*nghostthis%ny_total=ny_phys+2*nghost! Default the GLOBAL extents to the local ones — correct on a single! rank / undecomposed grid. The MPI driver overwrites both from! `decomp%nx_global` / `decomp%ny_global` right after this call.this%nx_global=nx_physthis%ny_global=ny_physend subroutine grid_init